oracle 自帶錯誤提示工具oerr
參考:http://blog.csdn.net/frice/article/details/7317744
今天發現一個oracle自帶錯誤查詢工具
SQL> !oerr ora 1555
01555, 00000, "snapshot too old: rollback segment number %s with name \"%s\" too small"
// *Cause: rollback records needed by a reader for consistent read are
// overwritten by other writers
// *Action: If in Automatic Undo Management mode, increase undo_retention
// setting. Otherwise, use larger rollback segments
該工具位於$ORACLE_HOME/bin/oerr
該工具所呼叫的錯誤資訊列表檔案為 $ORACLE_HOME/rdbms/mesg/oraus.msg
該工具不可用於windows上,經測試,9i,10g,11g,12c都有此工具。
可透過 sh -x oerr ora 1555 檢視指令碼執行過程
[oracle@oel6x64 mesg]$ sh -x oerr ora 1555
+ '[' '' = T ']'
+ '[' '!' /u01/app/oracle/12/db1 ']'
+ PERL_DIR=/u01/app/oracle/12/db1/perl
+ PERL_BIN=/u01/app/oracle/12/db1/perl/bin
+ export PERL_BIN
+ /u01/app/oracle/12/db1/perl/bin/perl /u01/app/oracle/12/db1/bin/oerr.pl ora 1555
01555, 00000, "snapshot too old: rollback segment number %s with name \"%s\" too small"
// *Cause: rollback records needed by a reader for consistent read are
// overwritten by other writers
// *Action: If in Automatic Undo Management mode, increase undo_retention
// setting. Otherwise, use larger rollback segments
+ exit 0
今天發現一個oracle自帶錯誤查詢工具
SQL> !oerr ora 1555
01555, 00000, "snapshot too old: rollback segment number %s with name \"%s\" too small"
// *Cause: rollback records needed by a reader for consistent read are
// overwritten by other writers
// *Action: If in Automatic Undo Management mode, increase undo_retention
// setting. Otherwise, use larger rollback segments
該工具位於$ORACLE_HOME/bin/oerr
該工具所呼叫的錯誤資訊列表檔案為 $ORACLE_HOME/rdbms/mesg/oraus.msg
該工具不可用於windows上,經測試,9i,10g,11g,12c都有此工具。
可透過 sh -x oerr ora 1555 檢視指令碼執行過程
[oracle@oel6x64 mesg]$ sh -x oerr ora 1555
+ '[' '' = T ']'
+ '[' '!' /u01/app/oracle/12/db1 ']'
+ PERL_DIR=/u01/app/oracle/12/db1/perl
+ PERL_BIN=/u01/app/oracle/12/db1/perl/bin
+ export PERL_BIN
+ /u01/app/oracle/12/db1/perl/bin/perl /u01/app/oracle/12/db1/bin/oerr.pl ora 1555
01555, 00000, "snapshot too old: rollback segment number %s with name \"%s\" too small"
// *Cause: rollback records needed by a reader for consistent read are
// overwritten by other writers
// *Action: If in Automatic Undo Management mode, increase undo_retention
// setting. Otherwise, use larger rollback segments
+ exit 0
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-1448910/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE 錯誤Oracle
- MySQL錯誤提示(10061)MySql
- Nessus提示API Disabled錯誤API
- onethink安裝提示錯誤
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- 網站提示400錯誤:錯誤請求怎麼辦網站
- 安裝golang tour,提示錯誤Golang
- 如何關閉PHP錯誤提示PHP
- oracle 報大小寫錯誤Oracle
- Oracle nvarchar2錯誤Oracle
- myeclipse中提示Hot Code Replace Failed提示窗錯誤EclipseAI
- TCP網路除錯助手提示錯誤:“1035:未知錯誤” 解決方案TCP除錯
- Rust : RUST_BACKTRACE=1錯誤提示Rust
- dedecms提示500錯誤解決方法
- 0176-列印錯誤提示資訊
- Dedecms提示 ereg_replace() is deprecated 錯誤
- Nextcloud的一些錯誤提示Cloud
- apache提示錯誤:httpd-ahssl.confApachehttpd
- Oracle異常錯誤處理Oracle
- ORACLE 異常錯誤處理Oracle
- Windows2012 R2 Update自動更新提示8024402F錯誤Windows
- 升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitleSQL
- IIS瀏覽器422、500等錯誤提示:自定義錯誤模組不能識別此錯誤瀏覽器
- 使用React Hooks時遇到的錯誤提示ReactHook
- windows 2019 net 3.5 安裝錯誤提示Windows
- 【Oracle】表空間誤刪除導致startup啟動時提示ORA-01110和ORA-01157錯誤Oracle
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- ORA-01653錯誤是Oracle資料庫中常見的錯誤Oracle資料庫
- pbootcms升級提示 執行SQL發生錯誤!錯誤:duplicate column name: picstitlebootSQL
- oracle ora-00054錯誤處理Oracle
- oracle關於ORA-12988錯誤Oracle
- win10錯誤提示音怎麼關 win10電腦錯誤提示音怎麼取消Win10
- Laravel 自定義錯誤、錯與提示漢化最簡方案Laravel
- 【Bug】vs生成失敗但沒提示錯誤
- PHPstrom 取消單詞拼寫錯誤的提示PHP
- xcode6編譯錯誤,提示Expected a typeXCode編譯
- PbootCMS錯誤提示:檔案上傳失敗boot
- 網站提示資料庫連線錯誤網站資料庫
- PbootCMS網站常見錯誤提示總結boot網站