Improve queue performance
This commit is contained in:
parent
8198cac0fe
commit
660db66bb2
1 changed files with 3 additions and 0 deletions
|
|
@ -72,5 +72,8 @@ CREATE TABLE queue (
|
|||
CREATE INDEX idx_commit_links_parent_child
|
||||
ON commit_links (parent, child);
|
||||
|
||||
CREATE INDEX idx_queue_priority_date_hash
|
||||
ON queue (priority DESC, unixepoch(date) DESC, hash ASC);
|
||||
|
||||
CREATE INDEX idx_run_measurements_metric_id_value
|
||||
ON run_measurements (metric, id, value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue