Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
48.69. pg_prepared_xacts
Prev UpChapter 48. System CatalogsHome Next

48.69. pg_prepared_xacts

The viewpg_prepared_xacts displays information about transactions that are currently prepared for two-phase commit (seePREPARE TRANSACTION for details).

pg_prepared_xacts contains one row per prepared transaction. An entry is removed when the transaction is committed or rolled back.

Table 48.70. pg_prepared_xacts Columns

NameTypeReferencesDescription
transactionxid  Numeric transaction identifier of the prepared transaction
gidtext  Global transaction identifier that was assigned to the transaction
preparedtimestamp with time zone  Time at which the transaction was prepared for commit
ownernamepg_authid.rolname Name of the user that executed the transaction
databasenamepg_database.datname Name of the database in which the transaction was executed

When thepg_prepared_xacts view is accessed, the internal transaction manager data structures are momentarily locked, and a copy is made for the view to display. This ensures that the view produces a consistent set of results, while not blocking normal operations longer than necessary. Nonetheless there could be some impact on database performance if this view is frequently accessed.


Prev Home Next
48.68. pg_prepared_statements Up 48.70. pg_replication_origin_status
pdfepub
Go to Postgres Pro Standard 9.6
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp