Skip to content
Snippets Groups Projects
Commit 399f15fe authored by Leo Gordon's avatar Leo Gordon
Browse files

fixing the claim_analysis_status index

parent e5027e10
No related branches found
No related tags found
No related merge requests found
# Fixing the claim_analysis_status index:
ALTER TABLE analysis_job DROP INDEX claim_analysis_status;
ALTER TABLE analysis_job ADD INDEX claim_analysis_status (job_claim, analysis_id, status, semaphore_count);
......@@ -140,7 +140,7 @@ CREATE TABLE analysis_job (
PRIMARY KEY (analysis_job_id),
UNIQUE KEY input_id_analysis (input_id, analysis_id),
INDEX claim_analysis_status (job_claim, analysis_id, status),
INDEX claim_analysis_status (job_claim, analysis_id, status, semaphore_count),
INDEX analysis_status (analysis_id, status, semaphore_count),
INDEX worker_id (worker_id)
) ENGINE=InnoDB;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment