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

Home -> Community -> Usenet -> c.d.o.server -> Re: Which data-dictionary store the 'AUTOEXTEND' size?

Re: Which data-dictionary store the 'AUTOEXTEND' size?

From: <dominica_at_gmail.com>
Date: 26 Sep 2005 19:02:08 -0700
Message-ID: <1127786528.766445.110520@g49g2000cwa.googlegroups.com>


I just figure out:

To determine if a datafile and thus, a tablespace, has AUTOEXTEND capabilities, query the SYS table "FILEXT$".

Here is a description of the table:

 Name                            Null?    Type
 ------------------------------- -------- ----
 FILE#                           NOT NULL NUMBER
 MAXEXTEND                       NOT NULL NUMBER
 INC                             NOT NULL NUMBER

where:

      FILE# : the datafile number as it appears in "V$DATAFILE".   MAXEXTEND : the maximum size the file can grow to, expressed in multiples

              of "DB_BLOCK_SIZE", not in bytes.
        INC : the size of each increase in the datafile, also in
multiples
              of "DB_BLOCK_SIZE".

NOTE: To get the values in bytes, multiply each number by the "init.ora"

      parameter "DB_BLOCK_SIZE".

SQL> desc filext$;

 Name                                      Null?    Type
 ----------------------------------------- --------
----------------------------
 FILE#                                              NUMBER
 MAXEXTEND                                          NUMBER
 INC                                                NUMBER

SQL> select * from filext$ where file# = 6;

     FILE# MAXEXTEND INC
---------- ---------- ----------

         6 4194302 64

64 * 8192 *1024 = my 512K Received on Mon Sep 26 2005 - 21:02:08 CDT

Original text of this message

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