Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: capturing sql text & times of (long running) queries through trigger?
Have you considered using statspack? You can adjust it's frequency and
the thresholds it uses for capturing the top SQL. It won't give you
exact stop and start times for multiple executions (it might give you
the first & last_load_time though), but it will give you a general idea
of what queries were running when and their elapsed_time along with
their disk_reads, buffer_gets, rows_processed and other stats.
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of cosmin ioan
Sent: Saturday, October 28, 2006 8:06 AM To: oracle-l_at_freelists.org Subject: re: capturing sql text & times of (long running)queries through trigger?
Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Oct 30 2006 - 10:58:20 CST
![]() |
![]() |