oracle参数文件、控制文件、数据文件、日志文件存放位置查看

1.参数文件和网络连接文件
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/11.2.0/dbhome_2/dbs/spfiledemo.ora

其他参数文件也同样位于$ORACLE_HOME/dbs目录中;
网络连接文件位于$ORACLE_HOME/network/admin目录中;
2.控制文件
SQL> select * from v$controlfile;
STATUS NAME IS_RECOVERY_DEST_FILE BLOCK_SIZE FILE_SIZE_BLKS
------- -------------------------------------------------------------------------------- --------------------- ---------- --------------
/u01/app/oracle/oradata/demo/control01.ctl NO 16384 594
/u01/app/oracle/flash_recovery_area/demo/control02.ctl NO 16384 594
3.数据文件
SQL> select FILE_NAME from dba_data_files;
FILE_NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/demo/users01.dbf
/u01/app/oracle/oradata/demo/undotbs01.dbf
/u01/app/oracle/oradata/demo/sysaux01.dbf
/u01/app/oracle/oradata/demo/system01.dbf
/u01/app/oracle/oradata/demo/ivantable.dbf
4.日志文件
SQL> select * from v$logfile;
GROUP# STATUS TYPE MEMBER IS_RECOVERY_DEST_FILE
---------- ------- ------- -------------------------------------------------------------------------------- ---------------------
3 ONLINE /u01/app/oracle/oradata/demo/redo03.log NO
2 ONLINE /u01/app/oracle/oradata/demo/redo02.log NO
1 ONLINE /u01/app/oracle/oradata/demo/redo01.log NO
上一篇:解决JSP中文乱码问题


下一篇:windows 关闭粘滞键-解决Microsoft Remote Desktop输入自动变为快捷键问题