Skip to content
RED SAG Skills
mediumStudy question · answer published in PostgreSQL interview questions, so no pointslockingpostgresql

Workers fighting over jobs

Ten workers pick jobs with SELECT ... WHERE status = 'pending' LIMIT 1 FOR UPDATE, and they mostly wait on each other. Which change lets them grab different jobs in parallel?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions