which are the parameter to be set so get better performance for more SELECT statements.
clients are accessing thro web. There more select statements than inserts or updates. Some of the queries used to take 10-20 secs to execute. After loading a new module it is taking more time 110-120 secs to retrieve the data for a select statement.
O.S sun 2.7
Application : WEB application
[Edited by shashikumar on 02-20-2002 at 05:51 AM]
02-20-2002, 05:43 AM
what do u mean more select statements.Please be more clear
02-20-2002, 05:53 AM
Have you analyze your Stats?
More info required
02-20-2002, 06:38 AM
Trace long running statements and query explain plan using TKPROF.
Use TKPROF results to determine whether full table scans/inefficient SQL/Indexes.
I've followed the link that Sureshy pointed out, But I'm more confused after reading it. How do you interpret explain plan? Do you read it from inside out, top to bottom, or bottom to top? I don't see the pattern from the examples given on this document. Could some one be kind enough to explain "how do you read an explain plan"? Thanks so much.
02-21-2002, 04:25 AM
You read the explain plan from inside out then top bottom.