[Oracle]如何查看一个数据文件是否是自动扩展

开始

SQL> col file_id format 99
SQL> col file_name format a50
SQL> col tablespace_name format a10
SQL> col autoextensible format a10


SQL> select file_id,file_name,tablespace_name,autoextensible from dba_data_files;

FILE_ID FILE_NAME                                          TABLESPACE AUTOEXTENS
------- -------------------------------------------------- ---------- ----------
      4 /u01/app/oracle/oradata/orcl/users01.dbf           USERS      YES
      3 /u01/app/oracle/oradata/orcl/undotbs01.dbf         UNDOTBS1   YES
      2 /u01/app/oracle/oradata/orcl/sysaux01.dbf          SYSAUX     YES
      1 /u01/app/oracle/oradata/orcl/system01.dbf          SYSTEM     YES
      5 /u01/app/oracle/oradata/orcl/example01.dbf         EXAMPLE    YES
      6 /u01/app/datafiles/gaodata1.dbf                    GAOTBS     YES

6 rows selected.

SQL>

结束!

原文地址:https://www.cnblogs.com/gaojian/p/3612863.html