add index on end row

This commit is contained in:
Christian Grothoff 2023-01-06 13:21:18 +01:00
parent 63db50b2b1
commit cea4e6ba61
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -44,3 +44,7 @@ CREATE INDEX work_shards_by_job_name_completed_last_attempt_index
,completed ,completed
,last_attempt ASC ,last_attempt ASC
); );
CREATE INDEX work_shards_by_end_row_index
ON work_shards
(end_row DESC);