Finding Status Progress of Query with Single Block I/O [message #267838] |
Sat, 15 September 2007 11:39 |
kumarsz
Messages: 180 Registered: March 2005 Location: canada
|
Senior Member |
|
|
Hi,
I am using Oracle 9i R2 on Linux
I have a query for which Execution Plan shows index access (single block access)
If I have a executed the query and it is not completed for long time, is there a way to find out whether it is really executing and what is the Progress of the query?
Thanks and Regards,
Pratap
|
|
|
|
Re: Finding Status Progress of Query with Single Block I/O [message #267841 is a reply to message #267840] |
Sat, 15 September 2007 11:46 |
kumarsz
Messages: 180 Registered: March 2005 Location: canada
|
Senior Member |
|
|
Hi Michel,
I have ready the sticky and i am participating this forum for a long time, so will adhere to the rules.
However, this question is not related to particular query and many times i am helpless with some queries which show index access but stall for a long time.
Thanks and Regards,
Pratap
|
|
|
|
|
Re: Finding Status Progress of Query with Single Block I/O [message #267847 is a reply to message #267844] |
Sat, 15 September 2007 12:02 |
kumarsz
Messages: 180 Registered: March 2005 Location: canada
|
Senior Member |
|
|
Many Thanks Michel !!
I will go through the link
However,with 9i R2 i am using
If i start the trace while the statement has already started executing and eventually if i stop the trace after some time say 30 min., the resulted tkprof file shows SQL Statements executed in session as 0. which will not help me if my query is really executing and where it has reached.
Here, do you mean rather than tkprof shall i start looking the raw trace file itself for the findings?
Thanks and Regards,
Pratap
|
|
|
Re: Finding Status Progress of Query with Single Block I/O [message #267848 is a reply to message #267846] |
Sat, 15 September 2007 12:07 |
kumarsz
Messages: 180 Registered: March 2005 Location: canada
|
Senior Member |
|
|
Hello Anacedent,
i missed your post before earlier reply.
I will try the v$sess_io and will let you know the results ...many thanks for this.
To know further..Is it like that
The muliblock I/O queries appear in v$session_lonops and Single Block I/O queries appear in v$sess_IO?
Or Muliblock I/O ones appear both the places?
Thanks and Regards,
Pratap
|
|
|
|
|
|