oracle日志文件在哪里 如何查看oracle數(shù)據(jù)庫的系統(tǒng)日志?
如何查看oracle數(shù)據(jù)庫的系統(tǒng)日志?記錄系統(tǒng)日志,如日志切換記錄、修改系統(tǒng)參數(shù)等系統(tǒng)事件。位置在參數(shù)backgrounddump中DeST指定的路徑下,通常為%oracleubase%admin%o
如何查看oracle數(shù)據(jù)庫的系統(tǒng)日志?
記錄系統(tǒng)日志,如日志切換記錄、修改系統(tǒng)參數(shù)等系統(tǒng)事件。位置在參數(shù)backgrounddump中DeST指定的路徑下,通常為%oracleubase%admin%oracleusid%bdump
如何查看oracle數(shù)據(jù)庫的歸檔日志?
1。常用命令SQL> show parameter logarchivedest SQL> archive log list SQL> select*from V$FLASHRECOVERYuuuu AREAUSAGE ARCHIVELOG 96.62 0 141 SQL> select sum(percentuu spaceuuuuu used)*3/100 from V$FLASHuuuuu RECOVERYuuuuu AREAUSAGE 2.9904 SQL> show parameter recover dbuuuu RECOVERYfileuuuuu dest string/u01/oracle/FLASHRECOVERYuuu AREA dbu恢復(fù)文件目標(biāo)2。刪除日志光盤$oracleBASE/flash ecoveryArea/orcl/archivelog transfer或清除相應(yīng)的歸檔日志,刪除一些未使用的日期目錄文件,注意保留最后幾個文件。刪除存檔日志后,必須使用RMAN來維護(hù)控制文件,否則將不會釋放空間顯示。
3. RMAN target sys/password RMAN> crosscheck archivelog all RMAN> delete expired archivelog all or RMAN> delete archivelog until time“sysdate-1”
4。選中SQL>再次從V$flash選擇*恢復(fù)區(qū)域5。修改SQL的大小> alter system set dBurecoveryuufileudestusize=4G scope=both