-4

We developed an application using Java EE and Oracle and we want to increase the performance of it from both the Java and database side.

Need proper approach or steps to do this.

4

2 回答 2

0
while creating Database model just go through database Normal forms

Like: 3NF,4NF and BCNF.

于 2013-05-15T11:48:01.480 回答
-1

这取决于您在数据库中拥有的数据。我们可以毫无问题地管理直到 500 万个数据,超过这个数您可能会遇到性能问题。

如果您的数据库中有大量数据,请选择数据库分区。

例子:

CREATE TABLE sales_range 
(salesman_id  NUMBER(5), 
salesman_name VARCHAR2(30), 
sales_amount  NUMBER(10), 
sales_date    DATE)
PARTITION BY RANGE(sales_date) 
(
PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
);

SELECT  *  FROM table PARTITION (partitionname);
于 2013-05-14T13:36:47.247 回答