Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Local vs. Global Indexes
MessageIn addition, global indexes are inefficient space wise as well, since a global index has to store 10-byte extended rowids in leafs instead of 6-byte restricted ones.
Tanel.
I agree to that.
Building a global index on a 500GB one-billion-row table can really be pain in the ass..
Tanel.
There are a couple reasons that you may want/need to use a global index.
If you have a unique index that does not have the partition key as the leading column, I believe, you need to use a global index.
If you are not using the partition key in your where clause, using a global index will speed the performance of the query.
But I agree, if you can, use local indexes.
Kevin
-----Original Message----- From: Ryan [mailto:ryan.gaffuri_at_cox.net] Sent: Wednesday, February 25, 2004 9:34 PM To: oracle-l_at_freelists.org Subject: Local vs. Global Indexes I pretty much only use local indexes. Do any of you use global indexes on partitioned tables and why?Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------