oracle exp consistent,exp CONSISTENT=Y 原理:export前发出SET TRANSACTION READ ONLY命令
今天才知道,?exp CONSISTENT=Y 之所以能保持數據一致性,原來是在export前發出SET TRANSACTION READ ONLY命令,用來保持數據在同一個時間點。
metalink Note:113450.1
PURPOSE OF CONSISTENT=Y EXPORT
------------------------------
Export extracts data by issuing a series of SELECT statements and the snapshot time of each table's data corresponds to when the SELECT statement was issued for that table. If there is no database activity, then this is not an issue.
However, it is possible to manipulate the table after the export has started in which case the snapshot of the data may be a factor. Export does not get an exclusive lock on any table.
There is an option called CONSISTENT=Y. When this is enabled, EXPORT first issues a SET TRANSACTION READ ONLY command before doing the export. There is a risk of running out of rollback segment space and getting an "ORA-1555 snapshot too old (rollback segment too small)" error when doing a long running export.
來自 “ ITPUB博客 ” ,鏈接:http://blog.itpub.net/35489/viewspace-1433038/,如需轉載,請注明出處,否則將追究法律責任。
總結
以上是生活随笔為你收集整理的oracle exp consistent,exp CONSISTENT=Y 原理:export前发出SET TRANSACTION READ ONLY命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle 基于备份 duplicat
- 下一篇: oracle 连多表查询语句,Oracl