-add index on shard

This commit is contained in:
Christian Grothoff 2023-01-09 19:35:16 +01:00
parent d782dd7f54
commit 0cf46d8e59
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -49,3 +49,8 @@ CREATE INDEX work_shards_by_end_row_index
ON work_shards
(end_row DESC);
CREATE INDEX work_shards_by_rows
ON work_shards
(job_name
,start_row
,end_row);