How to tell if autoextend is set on for a datafile

How to tell if autoextend is set on for a datafile

Post by Peter Shanke » Sun, 31 Dec 1899 09:00:00



What view shows where or not autoextend is set for a data file and what
the various values are?

Thanks
Pete

 
 
 

How to tell if autoextend is set on for a datafile

Post by Howard J. Roger » Sun, 31 Dec 1899 09:00:00


V$datafile will show you the difference between what each datafile was
created at, and what it is currently sitting at (so it will show you the
effect of manual re-sizing, too).

But the real view you're after is dba_data_files, which has a column headed
"AUT" (ie, 'autoextensible'), as well as columns for Maxbytes and Maxblocks,
plus one for 'Increment By' -ie, the 'next' parameter in the autoextend
clause.

Regards
HJR
--
--------------------------------------------------------------------------
Opinions expressed are my own, and not those of Oracle Corporation
Oracle DBA Resources:               http://www.geocities.com/howardjr2000
--------------------------------------------------------------------------


Quote:> What view shows where or not autoextend is set for a data file and what
> the various values are?

> Thanks
> Pete


 
 
 

How to tell if autoextend is set on for a datafile

Post by Peter Shanke » Sun, 31 Dec 1899 09:00:00


I'm sorry I should have said that this is a 7.3 database. I did find all the
info for a 8.0 and above.


> V$datafile will show you the difference between what each datafile was
> created at, and what it is currently sitting at (so it will show you the
> effect of manual re-sizing, too).

> But the real view you're after is dba_data_files, which has a column headed
> "AUT" (ie, 'autoextensible'), as well as columns for Maxbytes and Maxblocks,
> plus one for 'Increment By' -ie, the 'next' parameter in the autoextend
> clause.

> Regards
> HJR
> --
> --------------------------------------------------------------------------
> Opinions expressed are my own, and not those of Oracle Corporation
> Oracle DBA Resources:              http://www.geocities.com/howardjr2000
> --------------------------------------------------------------------------



> > What view shows where or not autoextend is set for a data file and what
> > the various values are?

> > Thanks
> > Pete

--
Pete Shankey


 
 
 

How to tell if autoextend is set on for a datafile

Post by Connor McDonal » Sun, 31 Dec 1899 09:00:00



> I'm sorry I should have said that this is a 7.3 database. I did find
> all the info for a 8.0 and above.


>      V$datafile will show you the difference between what each
>      datafile was
>      created at, and what it is currently sitting at (so it will
>      show you the
>      effect of manual re-sizing, too).

>      But the real view you're after is dba_data_files, which has
>      a column headed
>      "AUT" (ie, 'autoextensible'), as well as columns for
>      Maxbytes and Maxblocks,
>      plus one for 'Increment By' -ie, the 'next' parameter in the
>      autoextend
>      clause.

>      Regards
>      HJR
>      --
>      --------------------------------------------------------------------------

>      Opinions expressed are my own, and not those of Oracle
>      Corporation
>      Oracle DBA Resources:
>      http://www.geocities.com/howardjr2000
>      --------------------------------------------------------------------------


>      message

>      > What view shows where or not autoextend is set for a data
>      file and what
>      > the various values are?

>      > Thanks
>      > Pete

> --
> Pete Shankey



sys.filext$

(If this table is not there, then nothing is in autoextend mode)

HTH
--
===========================================
Connor McDonald
http://www.oracledba.co.uk
(faster/mirrored at http://www.oradba.freeserve.co.uk)

Its not the voices in my head that bother me...
  its the voices in yours.

 
 
 

1. A Question about DATAFILE AUTOEXTEND Clause

Dear all,

As in the following example, the initial size of the datafile is 1024M, and
can be extended by 2048M. Does the 2048M includes the initial 1024M or not?
Is the max size of the datafile 2G or 3G? Thanks in advance.

CREATE TABLESPACE ts_ix_order
DATAFILE 'D:\TWDM\DATFILE\tsorderidx1.ora' size 1024M autoextend on next
512K maxsize 2048M,
         'D:\TWDM\DATFILE\tsorderidx2.ora' size 1024M autoextend on next
512K maxsize 2048M
         'D:\TWDM\DATFILE\tsorderidx3.ora' size 1024M autoextend on next
512K maxsize 2048M
DEFAULT STORAGE(      INITIAL       512K
        NEXT          512K
        PCTINCREASE   0
        MINEXTENTS    1
        MAXEXTENTS    20000 )
NOLOGGING
ONLINE;

Regards,
Dino

2. New Era Questions

3. How to check datafile autoextend ON/OFF ?

4. US-DC #K24 Big Six Firm Needs Database Architects Oracle, Sybase, Informix 6-12 years Experience 70-100K, Sign On, Yearly

5. How to alter a datafile to autoextend off?

6. RELATION TABLE SQL

7. Question on Autoextend on/off for datafiles

8. Help with Q+A

9. AUTOEXTEND option form datafiles in ORACLE 7.3

10. datafile autoextend w/o maxsize

11. Autoextend for datafiles...

12. Autoextend on & multiple datafiles