RE: capturing sql text & times of (long running) queries through trigger?
- From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
- To: <cosmini@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 09:58:20 -0700
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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of cosmin ioan
Sent: Saturday, October 28, 2006 8:06 AM
To: oracle-l@xxxxxxxxxxxxx
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.
Other related posts: