it doesn't store the number of times it extended but it's easily
derived

# extensions= 
(v$datafile.bytes - v$datafile.create_bytes)/sys.filext$.inc


--- "Reardon, Bruce (CALBBAY)" <[EMAIL PROTECTED]>
wrote:
> Is it possible to determine how many times a file has extended?
> 
> I know that v$datafile.CREATE_BYTES will show what size the file was
> initially created at.
> And dba_data_files.INCREMENT_BY shows how much each datafile is
> currently
> set to extend by (number of database blocks).
> 
> But, given that we can manually resize a file and that we can alter
> the
> value of next for a datafile, does Oracle store how many times each
> file has
> extended?
> 
> Why is this of interest - this number can be related to / help
> explain the
> degree of OS fragmentation for the datafile.
> 
> Thanks,
> Bruce Reardon
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Reardon, Bruce (CALBBAY)
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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
> also send the HELP command for other information (like subscribing).


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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
also send the HELP command for other information (like subscribing).

Reply via email to