SQL> select dt.tablespace_name,ddf.file_name,dt.status ←(1)
2 from dba_tablespaces dt, dba_data_files ddf
3 where dt.tablespace_name = ddf.tablespace_name;
TABLESPACE_NAME FILE_NAME STATUS
-------------------- --------------------------------------- ---------
SYSTEM /opt/app/oracle/oradata/system01.dbf ONLINE
UNDOTBS1 /opt/app/oracle/oradata/undotbs01.dbf ONLINE
SYSAUX /opt/app/oracle/oradata/sysaux01.dbf ONLINE
USERS /opt/app/oracle/oradata/users01.dbf ONLINE
SQL> select dt.tablespace_name,dtf.file_name,dt.status ←(2)
2 from dba_tablespaces dt, dba_temp_files dtf
3 where dt.tablespace_name = dtf.tablespace_name;
TABLESPACE_NAME FILE_NAME STATUS
-------------------- --------------------------------------- ---------
TEMP /opt/app/oracle/oradata/temp01.dbf ONLINE
SQL> select * from v$logfile; ←(3)
GROUP# STATUS TYPE MEMBER IS_
---------- ------- ------- --------------------------------------- ---
1 ONLINE /opt/app/oracle/oradata/redo01.log NO
2 STALE ONLINE /opt/app/oracle/oradata/redo02.log NO
3 ONLINE /opt/app/oracle/oradata/redo03.log NO
SQL> select * from v$controlfile; ←(4)
STATUS NAME IS_ BLOCK_SIZE
FILE_SIZE_BLKS
------- --------------------------------------------- --- ----------
--------------
/opt/app/oracle/oradata/control01.ctl NO 16384
448
/opt/app/oracle/oradata/control02.ctl NO 16384
448
/opt/app/oracle/oradata/control03.ctl NO 16384
448