Export Parameter : Consistent
Specifies whether or not Export uses the SET TRANSACTION READ ONLY
statement to ensure that the data seen by Export is consistent to a single point in
time and does not change during the execution of theexp command. You should
specifyCONSISTENT=y when you anticipate that other applications will be
updating the target data after an export has started.
If you useCONSISTENT=n, each table is usually exported in a single transaction.
However, if a table contains nested tables, the outer table and each inner table are
exported as separate transactions. If a table is partitioned, each partition is exported
as a separate transaction.
Therefore, if nested tables and partitioned tables are being updated by other
applications, the data that is exported could be inconsistent. To minimize this
possibility, export those tables at a time when updates are not being done.
IfyouuseCONSISTENT=yandthevolumeofupdatesislarge,therollbacksegment
usage will be large. In addition, the export of each table will be slower because the
rollback segment must be scanned for uncommitted transactions.
Keep in mind the following points about usingCONSISTENT=y:
■ CONSISTENT=y is unsupported for exports that are performed when you are
connected as userSYS or you are usingAS SYSDBA, or both.
■ Export of certain metadata may require the use of theSYS schema within
recursive SQL. In such situations, the use ofCONSISTENT=y will be ignored.
Oracle Corporation recommends that you avoid making metadata changes
during an export process in whichCONSISTENT=y is selected.
■ To minimize the time and space required for such exports, you should export
tables that need to remain consistent separately from those that do not.
For example, export theemp and dept tables together in a consistent export,
and then export the remainder of the database in a second pass.
■ A "snapshot too old" error occurs when rollback space is used up, and space
taken up by committed transactions is reused for new transactions. Reusing
space in the rollback segment allows database integrity to be preserved with
minimum space requirements, but it imposes a limit on the amount of time that
a read-consistent image can be preserved.
If a committed transaction has been overwritten and the information is needed
for a read-consistent view of the database, a "snapshot too old" error results.
To avoid this error, you should minimize the time taken by a read-consistent
export. (Do this by restricting the number of objects exported and, if possible,
by reducing the database transaction rate.) Also, make the rollback segment as
large as possible.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-968364/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Export Parameter : Object_ConsistentExportObject
- Export Parameter : BufferExport
- Export Parameter : QueryExport
- Export Parameter : CompressExport
- 【metalink】Export/Import DataPump Parameter TRACE (文件 ID 286496.1)ExportImport
- 【MOS】Parameter FILESIZE - Multiple Export Files (文件 ID 290810.1)Export
- exp CONSISTENT=Y 原理:export前發出SET TRANSACTION READ ONLY命令Export
- @EXPORT and @EXPORT_OKExport
- consistent gets
- export 和 export default 區別Export
- Initialization Parameter Files and Server Parameter Files (287)Server
- exportExport
- JavaScript中的export、export default、exports和module.exports(export、export default、exports使用詳細)JavaScriptExport
- export和export default的區別Export
- export ORACLE_SID=founder exportExportOracle
- Oracle ParameterOracle
- import、require 、export、export default、exports、module exportsImportUIExport
- Conventional Path Export和Direct Path ExportExport
- Conventional Path Export Versus Direct Path ExportExport
- Required parameter $xxx follows optional parameter $yyyUI
- FORM ExportORMExport
- export/importExportImport
- ES6:export 與 export default 區別Export
- JavaScript ES6中,export與export defaultJavaScriptExport
- 6.exports、module.exports、export、export defalutExport
- module.exports 、 exports 和 export 、 export default 、 importExportImport
- The SPFILE Initialization Parameter
- Sessions & Processes parameterSession
- Import parameter: STATISTICSImport
- ES6 export && export default 差異總結Export
- ES6 export 和 export default的區別Export
- MySQL過程報 Parameter number N is not an OUT parameter錯誤MySql
- export default用法Export
- export DISPLAY=:0.0Export
- mysql export & importMySqlExportImport
- mysql import and exportMySqlImportExport
- 使用DBMS_UTILITY.get_parameter_value檢視session的parameterSession
- consistent gets 到底指的是什麼?