Home » RDBMS Server » Server Administration » database optimization
database optimization [message #51882] Wed, 19 June 2002 11:44 Go to next message
Tracy
Messages: 43
Registered: January 2000
Member
Hi -
I was asked to look into why some SQL queries take too long to run. I noticed that the tables being used for the query were created by being placed in tablespace that was supposed to be reserved for INDEXes only. Also, many indexes were created and placed in the tablespace that was to be reserved for TABLEs only. Could this be causing queries that access those tables/indexes to be slower than other queries that access tables/indexes that are in their proper tablespaces?
thank you,
Tracy
Re: database optimization [message #51886 is a reply to message #51882] Wed, 19 June 2002 19:44 Go to previous messageGo to next message
Vikas Gupta
Messages: 115
Registered: February 2002
Senior Member
Hello Tracy,

You should first run explain plan to check, whether the indexes are being used at all.

Placement of indexes and tables in proper tablespaces also effect the performance, but first make sure that indexes are being used.
Re: database optimization [message #51892 is a reply to message #51882] Thu, 20 June 2002 05:50 Go to previous messageGo to next message
Tracy
Messages: 43
Registered: January 2000
Member
thank you very much. I will try explain plan first.
Re: database optimization [message #51899 is a reply to message #51882] Thu, 20 June 2002 10:49 Go to previous message
t
Messages: 2
Registered: December 2000
Junior Member
df
Previous Topic: how to enable tracing of sqlnet
Next Topic: Oracle 8160 on W2K scripts to shutdown and start not working
Goto Forum:
  


Current Time: Tue Sep 17 20:21:27 CDT 2024