Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Performance tuning
Perhaps you should consider disabling / dropping the index during the first
procedure and then recreating it. You can use commands like 'execute
immediate' within a procedure to issue DDL.
Otherwise perhaps you can change the inserts to some kind of bulk insert - depending on how your application behaves.
If it's any compensation I've seen many situations where the application does things like creating temporary indexes, analyzing tables, etc during a procedure to get performance right. A classic example was one procedure which truncated a table, inserted a pile of rows and then did some complex queries - we had to analyze the table after the inserts and before the selects so that the optimiser could use the correct indexes, etc - made a huge difference.
Regards,
Mark.
dilmohan <dilmohan_at_delhi. To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> tcs.co.in> cc: Sent by: Subject: Performance tuning root_at_fatcity.com 07/11/2002 15:38 Please respond to ORACLE-L
I have a table in my application . This table gets all inserts during
one procedure and select during other . Now if I make an index on this
then the first procedure gets slow and if i drop the index then the
second procedure gets very slow.
Is there some solution to get out of this problem
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: dilmohan INET: dilmohan_at_delhi.tcs.co.in Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Nov 06 2002 - 23:23:21 CST
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (61 3) 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban City Link Ltd shall be understood as neither given nor endorsed by it. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mark Richard INET: mrichard_at_transurban.com.au Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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).
![]() |
![]() |