Which two are prerequisites for configuring Transaction Guard in a Data Guard environment? (Choose two.)
To use Transaction Guard with an application, you must do the following:
* Grant permission on the DBMS_APP_CONT package to the database users who will call GET_LTXID_OUTCOME:
GRANT EXECUTE ON DBMS_APP_CONT TO <user-name>;
* Use an application service for all database work. Create the service using the srvctl command if you are using Oracle RAC, or using the DBMS_SERVICE.CREATE_SERVICE PL/SQL subprogram if you are not using Oracle RAC.
Configure the services for commit outcome and retention. For example:
COMMIT_OUTCOME = TRUE
RETENTION_TIMEOUT = <retention-value>
COMMIT_OUTCOME determines whether transaction commit outcome is accessible after the commit has executed.
References:
https://docs.oracle.com/database/121/ADFNS/adfns_trans_idemp_guard.htm#ADFNS338
Currently there are no comments in this discussion, be the first to comment!