oracle默認表空間名稱及路徑

D:\APP\ADMINISTRATOR\ORADATA\ORCL\USERS01.DBFide

D:\APP\ADMINISTRATOR\ORADATA\ORCL\UNDOTBS01.DBFspa

D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSAUX01.DBFit

D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBFtable

D:\APP\ADMINISTRATOR\ORADATA\ORCL\EXAMPLE01.DBFclass


查詢語句
file

select t.tablespace_name,select

      t.file_name,查詢

      t.bytes / 1024 / 1024,db

      t.autoextensible,tab

      t.maxbytes / 1024 / 1024

 from dba_data_files t;


查看某個表空間有多少張表

select * from all_tables where tablespace_name='dba_data_files.tablespace_name';

相關文章
相關標籤/搜索