Home » RDBMS Server » Performance Tuning » Statspack unit information (Oracle database, Standard 10.0.2.4, Windows 2003)
icon5.gif  Statspack unit information [message #522099] Tue, 06 September 2011 08:14 Go to next message
Flyby
Messages: 188
Registered: March 2011
Location: Belgium
Senior Member
Is there a webpage that posts the units of the fields in statspack
Example readtim in PERFSTAT.STATS$FILESTATXS (centiseconds?)
SELECT snap_id
,phyrds
,readtim
,phywrts
,writetim
,wait_count
FROM PERFSTAT.STATS$FILESTATXS
Re: Statspack unit information [message #522100 is a reply to message #522099] Tue, 06 September 2011 08:22 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
There is no documentation but it is filled with the following query:
select ts.name      tsname
     , df.name	    filename
     , fs.phyrds
     , fs.phywrts
     , fs.readtim
     , fs.writetim
     , fs.singleblkrds
     , fs.phyblkrd
     , fs.phyblkwrt
     , fs.singleblkrdtim
     , fw.count     wait_count
     , fw.time      time
     , df.file#
  from x$kcbfwait   fw
     , v$filestat   fs
     , v$tablespace ts
     , v$datafile   df
 where ts.ts#    = df.ts#
   and fs.file#  = df.file#
   and fw.indx+1 = df.file#;

so refer to the documentation of the underlying objects.

Regards
Michel

Re: Statspack unit information [message #522129 is a reply to message #522100] Tue, 06 September 2011 14:19 Go to previous message
Flyby
Messages: 188
Registered: March 2011
Location: Belgium
Senior Member
Thanks for the reply. I'll be combing through spreport.

Any clue if fs.phyrds already includes fs.singleblkrds or are the total reads: fs.phyrds (multiblock?)+fs.singleblkrds(sequential)?
*answered:fs.phyrds=total reads.

[Updated on: Tue, 06 September 2011 14:21]

Report message to a moderator

Previous Topic: dml is very slowly when table have many rows
Next Topic: Stopping optimizer choosing concatenation
Goto Forum:
  


Current Time: Fri Nov 22 01:10:35 CST 2024