Google
×
PREPARE TRANSACTION prepares the current transaction for two-phase commit. After this command, the transaction is no longer associated with the current session.
Jan 28, 2020 · A prepared transaction is a session independent, crash resistant, state maintained transaction. The state of the transaction is stored on disk ...
People also ask
Feb 26, 2021 · A mechanism that monitors the prepared transactions in your database and takes appropriate action if they are kept open too long.
Prepared transactions are used to implement “distributed transactions”. Distributed transactions are transactions that affect more than one data source.
The view pg_prepared_xacts displays information about transactions that are currently prepared for two-phase commit (see PREPARE TRANSACTION for details).
To manage the active and prepared transactions for an application server, use the administrative console to complete the following steps.
Sets the maximum number of transactions that can be in the prepared state simultaneously (see sql-prepare-transaction).
Use this page to review transactions that have been imported and prepared but not yet committed.
During two-phase commit, a distributed transaction is first prepared with the PREPARE statement and then committed with the COMMIT PREPARED statement. Once ...