Opened 7 years ago

Last modified 6 years ago

#29380 closed Cleanup/optimization

Support skip_locked argument to QuerySet.select_for_update() on MYSQL 8+ — at Initial Version

Reported by: bakabiko Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: skip_locked, MYSQL, database
Cc: Adam Johnson Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

MYSQL 8+ already supports skip locked and no wait options while Django DB backend doesn't support it for MYSQL.

Reference: https://mysqlserverteam.com/mysql-8-0-1-using-skip-locked-and-nowait-to-handle-hot-rows/

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top