zlacker

[parent] [thread] 1 comments
1. RedShi+(OP)[view] [source] 2023-11-20 19:21:39
But it's the same thing every time. Turn autocommit off, run the SELECT, commit, repeat? Or am I missing something?
replies(1): >>ddoria+Ya2
2. ddoria+Ya2[view] [source] 2023-11-21 09:30:40
>>RedShi+(OP)
You just do the update with skip locked and finish the job until time runs out or update the job "liveness". (can be autocommit on & off)
[go to top]