Solved

Autoextent in Oracle

Posted on 2004-03-22
7
544 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to connect SQL Server from my Oracle database? 11 136
passing parameters to sql script oracle 4 61
Use of Exception to end a Loop 3 45
oracle forms question 22 42
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to recover a database from a user managed backup
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

821 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