RE: HIstory of sessions

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: Niall Litchfield <niall.litchfield@xxxxxxxxx>, "JDunn@xxxxxxxxx" <JDunn@xxxxxxxxx>, oracle-l digest users <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 21 Jan 2010 09:40:01 -0700

Yes, and if you just want the count of logins at each snapshot, you can use 
this query rather than having to run a bunch of statspack reports to get it:

select a.snap_time, b.value from stats$snapshot a, stats$sysstat b where 
a.snap_id = b.snap_id and b.name = 'logons current' and a.snap_time > sysdate-1 
order by 1;

Regards,
Brandon



From: Niall Litchfield [mailto:niall.litchfield@xxxxxxxxx]

statspack also give session counts for each snapshot IIRC.


________________________________
Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: