Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: capturing sql text & times of (long running) queries through trigger?

RE: capturing sql text & times of (long running) queries through trigger?

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Mon, 30 Oct 2006 09:58:20 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45059E227C@NT15.oneneck.corp>


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-l
Received on Mon Oct 30 2006 - 10:58:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US