Will this condition hold the same for global index too!!
S.Karthikeyan, July 16, 2006 - 11:59 pm UTC
thats great,
It was back i knew we have index for partition and we can partition the index, but oracle is very brilliant to have more classifcation under this partition index as global and local index..
We are now facing problem with a table having 50 million records with a primary key column with global partitioned index.
Recently we had been on a large insert, There is great back log in performance,
Our team had decided to rebuild the index locally.
May i get to knew the possibilities and syntax for that.
where can i get the real concept and other information behind it..
July 17, 2006 - 1:20 pm UTC
you can only "rebuild locally" (assume you mean "turned it into a LOCAL index") if the partition key and the primary key were one in the same.
And the syntax is fully documented for doing so - juse create index .... LOCAL;
The question i posed if for oracle version 8.1.7.4
S.Karthikeyan, July 17, 2006 - 12:04 am UTC
sorry for not mentioning the version...
I need to move from global partition index to local partition index in short..
Which is efficient here...
what will be the case if it is indexed on unique key..
July 17, 2006 - 1:22 pm UTC
there is insufficient "data" in this comment to comment on...
rebuild index local - version 8.1.7.4
S.Karthikeyan, July 18, 2006 - 9:48 am UTC
thanks a lot for your reply,
I have a table with 50 million records, which is partitioned.
The partition key is the primary key column also. It has a index built globally, in order to maintain the uniqueness between the values in key column.
Now there is big down in performance, recently we had gone for a bulk insert. After which we had not rebuilt the index due to the complexity of the database.
But had done dbms_stats analyze for 1%.
Now we have decided to rebuild the index locally.
but the primary key column does'nt allow to delete the index , in order to create the index locally.
in the previous reply you have mentioned for build local syntax.. which i am aware of ..
what should i do now to delete the index and recreate locally in a primary key column.
July 19, 2006 - 8:07 am UTC
you would simply drop(or disable) and create(or re-enable) the primary key index.