medium10 pts · first answer countstransactionspostgresqladvisory-locks
Only one copy of a cron job
Three app servers run the same nightly settlement job. Only one should run it at a time, and the lock must free itself if the job's transaction ends. Which PostgreSQL feature fits?
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