TRANSACTION_BACKOUT Parameters
The parameters of the TRANSACTION_BACKOUT procedure are:
-
Number of transactions to be backed out
-
List of transactions to be backed out, identified either by name or by XID
-
Time hint, if you identify transactions by name
Specify a time that is earlier than any transaction started.
-
Backout option from Table 12-2
For the syntax of the TRANSACTION_BACKOUT procedure and detailed parameter descriptions, see Oracle Database PL/SQL Packages and Types Reference.
Table 12-2 Flashback TRANSACTION_BACKOUT Options
Option | Description |
---|---|
CASCADE | Backs out specified transactions and all dependent transactions in a post-order fashion (that is, children are backed out before parents are backed out). Without CASCADE, if any dependent transaction is not specified, an error occurs. |
NOCASCADE | Default. Backs out specified transactions, which are expected to have no dependent transactions. First dependent transactions causes an error and appears in *_FLASHBACK_TRANSACTION_REPORT. |
NOCASCADE_FORCE | Backs out specified transactions, ignoring dependent transactions. Server runs undo SQL statements for specified transactions in reverse order of commit times. If no constraints break and you are satisfied with the result, you can commit the changes; otherwise, you can roll them back. |
NONCONFLICT_ONLY | Backs out changes to nonconflicting rows of the specified transactions. Database remains consistent, but transaction atomicity is lost. |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28602568/viewspace-759534/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28602568/viewspace-759534/