how to increase the performance [message #283816] |
Wed, 28 November 2007 04:00 |
mr.rajeshyadav
Messages: 48 Registered: November 2007
|
Member |
|
|
Hi,
I am having a table with more than 2 crore records(20,000,000) so, when i am trying to join this table with some other table it is becoming more time consuming job for me for that one i have used partitioning based on index field still it is slow is there any other alternative to increase the performance.
Thanks In Advance
Raj
|
|
|
|
Re: how to increase the performance [message #283836 is a reply to message #283822] |
Wed, 28 November 2007 04:46 |
mr.rajeshyadav
Messages: 48 Registered: November 2007
|
Member |
|
|
Thank you for ur response..
i have created an index on one of the field and i have partitioned the table with range partitioning on the same field all these things i have done after inserting the records , so that indexing will work fine or not??
Thanks in advance
Rajesh
|
|
|
|
Re: how to increase the performance [message #284121 is a reply to message #283865] |
Wed, 28 November 2007 23:48 |
mr.rajeshyadav
Messages: 48 Registered: November 2007
|
Member |
|
|
Thanks for ur response.
first of all i want to know can we have any number of indexes for a single table or if the number of indexes increases does it will decrease the performance and can we partition table by more than one column i mean to say if i have partitioned a table based on some field and now can i partition again based on other field.
Thanks In advance
Rajesh
|
|
|
|
|
|
|
Re: how to increase the performance [message #284165 is a reply to message #284136] |
Thu, 29 November 2007 01:30 |
mr.rajeshyadav
Messages: 48 Registered: November 2007
|
Member |
|
|
when i am trying to create another index and partitioning it is throwing some exception
this the query i have used
CREATE INDEX MODEL_YEAR_INDEX_VD ON VEHICLE_DETAILS (MODEL_YEAR)
GLOBAL PARTITION BY RANGE (MODEL_YEAR_INDEX_VD)
(
PARTITION MODEL_YEAR_INDEX_VD_P1 VALUES LESS THAN (2005),
PARTITION MODEL_YEAR_INDEX_VD_P2 VALUES LESS THAN (2006),
PARTITION MODEL_YEAR_INDEX_VD_P3 VALUES LESS THAN (2007),
PARTITION MODEL_YEAR_INDEX_VD_P3 VALUES LESS THAN (MAXVALUE)
);
and the cause it is showing is
cause:user attempted to create a global non-prefixed index which is illegal
can u tell me why it is throwing this exception.
Thanks in advance
Rajesh.
|
|
|
|
|
|
|