ERROR:ORA-01555
The usual cause of this error is that long-running transactions/queries are
occurring within the database at the same time as short online transactions.
When the short transactions complete, the rollback segments they have used is up
for grabs and can be overwritten. As soon as that area is overwritten, the long-
running queries/transactions can no longer maintain a read consistent picture of
the data, and they fail with an ORA-1555. It's a scheduling problem. Run batch
and long-running jobs at off-hours.
Example Scenario:
1.A long running Query (T1) is started.
2.A quick update (T2) is performed and committed on a table that T1 won't
require for another 20 minutes. When T2 is committed it's rollback segment
blocks and extents are kept but marked as inactive.
3.Another DML statement is issued (T3). Oracle assigns a rollback segment to T3
using a round robin algorithm. The assigned segment includes the same storage as
the one previously used by T2. Thus it overwrites the inactive before-image of
T2.
4.T1 now comes to the point in the query where it needs the before-image of the
data that was changed by T2.
5.But T1 must read the before-image of the changed data records (for read
consistency).
6.T1 attempts to read the before-image left from T2 -- only to find that it has
been overwritten by T3.
7.T1 can no longer access the before-image of T2. T1 abends at this point.
8.ORACLE then issues: ORA-1555: snapshot too old (rollback segment too small).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-1001790/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01555——理解
- 【ORA-01555】Oracle LOB欄位匯出 報錯 ORA-01555Oracle
- Oracle的ORA-01555Oracle
- ORA-01555 總結
- Oracle active dataguard ORA-01555Oracle
- 【故障處理】ORA-01555
- Ora-01555問題分析
- ORA-01555錯誤分析
- ORA-01555 caused by SQL statement belowSQL
- ORA-01555 問題分析(轉)
- ORA-01555故障解決案例
- ORA-01555錯誤詳解
- ORA-01555 say u againAI
- ORA-01555 on Active Data Guard Standby DatabaseDatabase
- ORA-01555 解決處理方案
- 關於ORA-01555的問題分析
- 導資料遇見ORA-01555錯誤
- Ora-01555錯誤的模擬及處理
- 【效能優化】處理ORA-01555:Snapshot Too Old優化
- ORA-01555 caused by SQL statement below (Query Duration=0 sec, SCNSQL
- ORA-01555: snapshot too old的分析與解決
- undo transaction slot被覆蓋引起ORA-01555的原理解析
- ORA-01555: snapshot too old: rollback segment number with name "" too small
- ora-01555模擬以及undo tbs的guarantee特性測試!
- mount error(5): Input/output errorError
- 【ERROR】OPatch failed with error code 73ErrorAI
- error:slave communication error with ASMErrorASM
- ERROR: slave communication error with ASMErrorASM
- oracle 9i下ORA-01555錯誤的解決方法Oracle
- MMON encountered error 959, clearing the errorError
- 如何解決"Parse error: syntax error"Error
- DB error due to HP-UX Error:23ErrorUX
- CRS ERROR - PRKC-1073 - ErrorError
- Error page: / Error infos: DedeCms錯誤警告Error
- Error for iOSErroriOS
- error事件Error事件
- Error: no such columnError
- DepthClipEnable errorError