Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: data files the busiest

Re: data files the busiest

From: Jon Walthour <jonw_at_fuse.net>
Date: Tue, 24 Jul 2001 18:19:12 -0700
Message-ID: <F001.00353FF1.20010724182042@fatcity.com>


Raja:

Your query is on the right track, but it only accounts for the physical writes, not the physical reads. Try the attached script.

Jon Walthour

> Hello all,
>
> If I want to know which data files are the busiest, can I assume that from
the following query:-
>
> SELECT SUBSTR(name, 1, 128), f.phyrds, f.phywrts
> FROM v$datafile d, v$filestat f
> WHERE f.file# = d.file#
> ORDER BY phywrts
>
> If there is vast difference between the physical reads and physical
writes, then that particular data file would be the busiest? Is this true?
>
> rgds,
>
> raja
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Viraj Luthra
> INET: viraj999_at_lycos.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may


Received on Tue Jul 24 2001 - 20:19:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US