Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help interpreting dba_hist_sqlstat
"Chuck" <skilover_nospam_at_bluebottle.com> wrote in message news:zBl0j.689$oL5.48_at_trnddc05...
> hpuxrac wrote: >> On Nov 16, 12:51 pm, Chuck <skilover_nos..._at_bluebottle.com> wrote:
>> >> You say "three successive" snapshorts but that's not what the interval >> and snap_id's are showing. >> >> Looks like you are missing the interval's from 2:00 to 7:00 ... > > No, there were no snapshots that included sql_id c8afnp575a327 from > 02:00 through 07:00.
AWR collection is engineered to avoid working too hard if possible - which includes limits on the amount of data dumped to the tables. For the 'typical' level, only the top 30 statements are flushed at each snapshot.
Looking at your results I think this means that there were some statements (more than 30) which were busier than the one are interested in (sql_id = 'c8afnp575a327') from 1am to 7am, so the statistics were increasing in memory, but not fast enough to get into the dump - then from 7:00 am to 8:00 this statement started working harder (or the others dropped back) so that this was came back into the top 30.
-- Regards Jonathan Lewis http://jonathanlewis.wordpress.com Author: Cost Based Oracle: Fundamentals http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.htmlReceived on Mon Nov 19 2007 - 14:57:04 CST
![]() |
![]() |