interviewpath
  • 0day streak
  • 10total XP
  • Level 1

Observe two-phase commit blocking with PREPARE TRANSACTION

Act as a coordinator by hand across two databases, stop between the phases, and watch a prepared transaction keep its locks until it is resolved.

Not attemptedPostgreSQL documentation + local PostgreSQLAccess: free

The exercise happens on PostgreSQL documentation + local PostgreSQL. Canonical link: https://www.postgresql.org/docs/current/sql-prepare-transaction.html. Link check: link responded (5 Oct 2026). Opened from this app 0 times; opening is not counted as an attempt.

Supports: Distributed-transaction reasoning for system design and database research interviews.

Record an attempt

Outcome

A date is suggested from the outcome.

Attempt history

No attempts recorded yet.