Friday, September 11, 2009

IO OF ORACLE DATAFILE

SELECT SUBSTR (d.NAME, 1, 50) "File Name", f.phyblkrd "Blocks Read",
f.phyblkwrt "Blocks Writen", f.phyblkrd + f.phyblkwrt "Total I/O"
FROM v$filestat f, v$datafile d
WHERE d.file# = f.file#
ORDER BY f.phyblkrd + f.phyblkwrt DESC;

No comments: