Comment on @Hubzilla Support Forum If you are under reliatively fresh MySQL 8 then try

<- View Parent
mario@hub.somaton.com@hub.somaton.com ⁨1⁩ ⁨week⁩ ago
@Max Kostikov ah... that is somehow suprising...

Anyway, i think i will go with
ALTER TABLE workerq
    ADD INDEX idx_claim (
        workerq_reservationid,
        workerq_priority DESC,
        workerq_id ASC
    );
as you suggested first.

original
Sort:hotnewtop