Real-Time SQL Monitoring in SQL Developer

Doug's Oracle Blog

  • Home
  • Papers
  • Books
  • C.V.
  • Fun
  • Blog

Jul 2: Real-Time SQL Monitoring in SQL Developer

Features in this post require both Diagnostics and Tuning Pack licenses.

If you haven't seen 11g's Real Time SQL Monitoring feature, you need to. It's one of the most useful Oracle performance troubleshooting tools I've seen since I started working with Oracle too long ago. I was first aware of it via Greg Rahn's blog post.

To date I've used it via DB Control for demos and it's sweet, but one of the problems with any demo based on DB/Grid Control is that it's use is likely to be limited to those who have DBA access. Yes, you can set up view access to GC so that people can monitor performance of targets that they have sufficient account privileges on, but a lot of sites won't want the overhead of setting that up for developers and app support teams.

So I was intrigued when I noticed Tom Kyte mention that Oracle have been working on making more of these tools available to developers. After a quick email, a look at his slides and some further help from Sue Harper, I was able to try out RTSM in SQL Developer 1.5.4

Once you have selected Tools->Monitor SQL



you'll see a grid table of records. This will include all monitored statements, including this example parallel query that I'm running just now.




If I right-click any of the statements and select 'Show SQL Details' I'll see the Real Time SQL Monitoring screen, which is deeply cool.



One criticism, though. On my dinky laptop screen, the execution plan steps don't display properly as that column's too narrow. I can resize it




but then it just annoyingly sets it back to it's original width every time the screen refreshes. Hopefully that's something that can be fixed, for those of us with dinky monitors ;-) Even so, it saved me during my last course teach because 11g DB Control started to play up on my laptop, so I was able to fall back on the SQL Developer option. It's definitely worth a look.

Thanks to Sue and Tom for their help ...
Posted by Doug Burns Comments: (6) Trackbacks: (0)

Trackbacks
Trackback specific URI for this entry

PingBack
Weblog: coskan.wordpress.com
Tracked: Jul 03, 16:29
PingBack
Weblog: coskan.wordpress.com
Tracked: Jul 03, 16:32

Comments
Display comments as (Linear | Threaded)

#1 - Marcin Przepiorowski said:
2009-07-02 08:51 - (Reply)

Hi,

What about license ? SQL monitoring can be used only then you have a tuning pack - http://download.oracle.com/docs/cd/B28359_01/license.111/b28287/options.htm

So it can be use only for EE as you can't order any pack to SE.

regards,
Marcin

#1.1 - Doug Burns said:
2009-07-02 09:01 - (Reply)

Thanks - excellent point and I should have mentioned that. It's a Tuning Pack feature but I think OTN licence for personal experimentation should allow people to play with it at home if they don't have Tuning Pack licenses at work.

I've got too used to EE/Diagnostics/Tuning sites over the past few years ;-)

#2 - Doug Burns said:
2009-07-02 13:53 - (Reply)

A couple of people have pointed out that I was blogging at 4:30am. I hadn't thought about the fact you'd see that in the images.

I'm working in, erm, Singapore at the moment. Honestly.

#2.1 - Marco Gralike said:
2009-07-06 19:28 - (Reply)

Yeah working ;-)

#3 - Andrey Dmitrenko 2009-07-22 07:28 - (Reply)

It works with 11g only. Unfortunately, since we are still using 10g because of stability.

#3.1 - Doug Burns said:
2009-07-22 08:00 - (Reply)

I thought that would be clear from the very first sentence of the blog post ...

"If you haven't seen 11g's Real Time SQL Monitoring feature, you need to."

Wasn't it?


Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications
BBCode format allowed
 
 

Upcoming Appearances

Hotsos Symposium 2010 - 7th-11th March

Comments

Doug Burns about Advert: Symposium Countdown
Tue, 09.02.2010 11:27
I can still see a new server in my near future too!
Doug Burns about Advert: Symposium Countdown
Tue, 09.02.2010 09:03
Well I'll be running stuff in VMs, that's for sure, and people have gone on and [...]
Pete Scott about Advert: Symposium Countdown
Tue, 09.02.2010 08:55
It is such a relief to get the paper in (so well done, Doug).... I dispatched [...]
Links in Comments

It's a minor source of frustration to me that you can't just paste a Hypertext link into the comments form here but, should you ever want to include a link, all you need to do is use the BBCode format, as mentioned below the comment form.

Here is a link to the relevant part of the document that explains how.

Bookmark

Open All | Close All

Syndicate This Blog

  • XML RSS 2.0 feed
  • ATOM/XML ATOM 1.0 feed
  • XML RSS 2.0 Comments
  • Feedburner Feed

Powered by

Serendipity PHP Weblog

Show tagged entries

xml 11g
xml ACE
xml adaptive thresholds
xml ash
xml Audit Vault
xml AWR
xml Blogging
xml Cuddly Toys
xml Database Refresh
xml Direct Path Reads
xml Fun
xml listener
xml locking
xml oow
xml oow2009
xml OTN
xml Parallel
xml Patching
xml Swingbench
xml The Reality Gap
xml Time Matters
xml Unix/Shell
xml Useful Links

Disclaimer

For the avoidance of any doubt, all views expressed here are my own and not those of past or current employers, clients, friends, Oracle Corporation, my Mum or, indeed, Flatcat. If you want to sue someone, I suggest you pick on Tigger, but I hope you have a good lawyer. Frankly, I doubt any of the former agree with my views or would want to be associated with them in any way.

Design by Andreas Viklund | Conversion to s9y by Carl