Pauses While Sessions View Updates

If I have a Sessions window open, and I have it set to auto refresh, it appears that every time it refreshes that everything in PL/SQL Developer freezes. (Going through menus, or working in other editor windows.)

It would be nice if it didn't freeze up while background tasks were running.
 
I think I found the actual cause... In the bottom section have the "Statistics" tab selected, and then when the window updates everything in PL/SQL Developer pauses for a second or two. (Or at least it does for me.)
 
How long does this query take for you?

Code:
select names.name, stats.statistic#, stats.value
  from v$sesstat stats, v$statname names
 where stats.sid = (select sid
                      from v$session
                     where audsid = userenv('sessionid'))
   and names.Statistic# = stats.Statistic#
 order by stats.statistic#
 
But it could run the query in a separate thread that didn't block the UI from updating. (When I execute a normal query that takes 10 minutes to run, it doesn't block me from editing in a different SQL window when it is running, why does this query?)
 
Back
Top