Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > Re: Slow log
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 16539 of 17024
Post > Topic >>

Re: Slow log

by Mladen Gogala <mgogala@[EMAIL PROTECTED] > May 11, 2008 at 06:29 PM

On Sat, 10 May 2008 18:15:00 -0700, iavian wrote:

> How to log all the queries that takes more than n seconds .. like mysql
> show query log

FGA (fine-grained auditing) might be helpful. Also, you may write
a script that will query V$SQL and extract SQL by the elapsed time.
However, querying that table hits the library cache latch every time.
Don't do it too often.

-- 
Mladen Gogala
http://mgogala.freehostia.com
 




 3 Posts in Topic:
Slow log
iavian <vijay@[EMAIL P  2008-05-10 18:15:00 
Re: Slow log
Mladen Gogala <mgogala  2008-05-11 18:29:27 
Re: Slow log
Mark D Powell <Mark.Po  2008-05-11 13:17:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 19:55:42 CDT 2008.