hard20 pts · first answer countstransactionspostgresqlrow-locks
Foreign key checks and row locks
In PostgreSQL, inserting an order with customer_id = 9 takes a lock on customer row 9. Why does an UPDATE of that customer's phone number not wait for it?
Discussion 0
Join free to post in the discussion.
Related questions
- Durability in ACIDDatabase Administrator
- Logical vs physical backupDatabase Administrator
- Why a write-ahead log existsDatabase Administrator
- Read-only access for analystsDatabase Administrator
- What pg_hba.conf controlsDatabase Administrator
- View vs materialized viewDatabase Administrator
- What ROLLBACK undoesDatabase Administrator
- Seeing what is running nowDatabase Administrator