Indexes causing a slowdown

2001-04-04 Thread Kimberly Smith

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?


Kimberly Smith
Database Administrator
EDS - Fujitsu/GMD
Phone: (503) 669-6050
Fax: (503) 669-5705
Email : [EMAIL PROTECTED]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kimberly Smith
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: Indexes causing a slowdown

2001-04-04 Thread Tim Sawmiller

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.

 [EMAIL PROTECTED] 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?


Kimberly Smith
Database Administrator
EDS - Fujitsu/GMD
Phone: (503) 669-6050
Fax: (503) 669-5705
Email : [EMAIL PROTECTED] 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Kimberly Smith
  INET: [EMAIL PROTECTED] 

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).