Skip to content
Snippets Groups Projects
Commit 3b2f7f6f authored by Graham McVicker's avatar Graham McVicker
Browse files

more indexes on align feature tables so range queries are still quick when no...

more indexes on align feature tables so range queries are still quick when no logic name is provided
parent be6ff206
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,7 @@ CREATE TABLE protein_align_feature (
PRIMARY KEY ( protein_align_feature_id ),
KEY seq_region_idx( seq_region_id, analysis_id, seq_region_start, score ),
KEY seq_region_idx_2( seq_region_id, seq_region_start),
KEY hit_idx( hit_name ),
KEY analysis_idx( analysis_id )
......@@ -236,6 +237,7 @@ CREATE TABLE dna_align_feature (
PRIMARY KEY ( dna_align_feature_id ),
KEY seq_region_idx( seq_region_id, analysis_id, seq_region_start, score ),
KEY seq_region_idx_2( seq_region_id, seq_region_start),
KEY hit_idx( hit_name ),
KEY analysis_idx( analysis_id )
......
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