Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re: wierd runstats_pkg report
"Note that unlike latch numbers, the statistics numbers are invariant
across Oracle versions"
That's not entirely true. Some of the statistic# have changed with Oracle10g for example. Granted, "CPU used by this session" is still 12, but "physical reads" is now 48 (was 40 in 9i), etc. I think it is still a good idea to join to v$statname.
At 11:50 PM 3/23/2004, you wrote:
>For CPU time, you just need statistic #12, CPU used by this
>session. (Note that unlike latch numbers, the statistics numbers are
>invariant across Oracle versions, so, I know that 12 is CPU used by this
>session, regardless of what version you're on.) Only V$SYSSTAT has the
>NAME column built in, so if you're using V$SESSTAT or V$MYSTAT, you'll
>have to join to V$STATNAME.
>
>Hope that helps,
>
>-Mark
>
>PS It's 'Cary Millsap', not 'Carrie Milsap'.
Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Mar 25 2004 - 09:11:11 CST
![]() |
![]() |