Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Automated Statspack Report
"Dave" <david.register_at_eds.com> a écrit dans le message de
news:2fc017e4.0401211204.38d74cde_at_posting.google.com...
> Does anyone know of a script to automatically find the latest snapshot
> id's and generate a statspack report from?
>
> Thanks in advance!
I give you a clue:
select startup_time, min(snap_id),max(snap_id), min(snap_time),max(snap_time) from stats$snapshot group by startup_time;
Regards
Michel Cadot
Received on Wed Jan 21 2004 - 15:20:23 CST