Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Indexes causing a slowdown
Yep. As you're loading, Oracle keeps trying to re-balance the tree. Oracle 8i handles this better. I have a client who avoided this problem by reversing the order of the digits of the sequence generated key, so, for example, if your next key is 123456789, you would reverse that and use 987654321 instead.
>>> kimberly.smith_at_gmd.fujitsu.com 04/04/01 11:16AM >>>
OS HP10.20
Oracle 7.3.3 (ya I know)
Every now and then we get the situation were application grows to a standstill as far as loading data. These should all be straight forward inserts. Rebuilding the indexes causes the problem to go away. These indexes are all based on primary key values like sequence numbers. Now I know that indexes that are of that type will not have a balanced tree and will periodically need to be rebuilt but to me that should just affect things that are trying to select from the index. Problem is, it takes a full day to rebuild the indexes on this database and we cannot do this while the app is up due to activity levels keeping the tables locked.
Does this sound like normal behavior for indexes?
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Kimberly Smith INET: kimberly.smith_at_gmd.fujitsu.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Tim Sawmiller INET: sawmillert_at_state.mi.us Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Apr 04 2001 - 12:20:14 CDT
![]() |
![]() |