Solved

Autoextent in Oracle

Posted on 2004-03-22
7
539 Views
Last Modified: 2008-03-03
How to know that a table space is having a autoextent after the tablespace is created .

Can any one give me the solution . This is some thing urgent .

0
Comment
Question by:ratnapr4
7 Comments
 
LVL 8

Accepted Solution

by:
baonguyen1 earned 25 total points
ID: 10648645
YOu can try this:

select FILE_NAME, TABLESPACE_NAME, AUTOEXTENSIBLE from  dba_data_files ;

0
 
LVL 2

Expert Comment

by:CallumT
ID: 10656313
Maybe also include BYTES (to see how large data-file is) and MAXBYTES (how large data-file can grow to )

in the above query from baonguyen1
0
 
LVL 1

Expert Comment

by:balee
ID: 10666746
which version of oracle? In oracle 7.3 it is different.
0
 
LVL 2

Expert Comment

by:CallumT
ID: 10672211
In version 7 , you should query sys.filext$.

 desc sys.filext$ ;
 Name                            Null?    Type
 ------------------------------- -------- ----
 FILE#                           NOT NULL NUMBER
 MAXEXTEND                       NOT NULL NUMBER  (no of db_blocks that file can extend to
 INC                             NOT NULL NUMBER    (no. of db_blocks file will increment by)

If there are no rows, then no data-files are autoextensible.

Join FILE# with file_id in dba_data_files to get file_name.

select d.file_name, f.maxextend, f.inc
  2  from sys.filext$ f, dba_data_files d
  3* where f.file# = d.file_id
hord SQL> /

FILE_NAME                       MAXEXTEND        INC
------------------------------ ---------- ----------
/db/hord/data/ct_test_01.dbf        25600       2560
0
 
LVL 5

Expert Comment

by:fmonroy
ID: 10719214
the easies way is to use DBA Studio, goto Storage, then check datafiles for that tablespace (the autoextents are for datafiles not tablespaces)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to take different types of Oracle backups using RMAN.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question