|
Need to find out how long will
a query take to run or when I am running the query where can I check to
see that X% of my query is complete.
I know there is some place in Oracle Enterprise manager or something like that which shows a progress bar once the query is started, but I dont exactly recollect it can somebody help me with this.. Also when do we run analyze plan estimate statistics and how does this help if I have to run a complex query. does estimating statistics on a table increase the query performance if so how ? You can use this query to find out the information you want to know: CODE REM Displays the long running operations SET LINESIZE 200 COLUMN operation FORMAT a15
SELECT a.sid,
Needed some clrafication regrding this "when do we run analyze plan estimate statistics and how does this help if I have to run a complex query. Does estimating statistics on a table increase the query performance if so how ?" Your last post contains three questions:
My point of view is
2>The second and the third questions implie to understand what is a CBO (cost based optimizer) and a RBO (rule based optimizer). Are you familiar with that? The ROB might not be used any more by oracle (it is an another story). You cannot predict the time of answer of a sql request. There are too many factors. 3>Regarding the third question,
the Analyze is useful if the sql request is analyzed by the COB engine.
And it should be.
|
|
Also read:
Do you have an Oracle Question? Oracle Books
Oracle Application
Oracle Home
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|