Skip to content

Commit a9ff8a8

Browse files
committed
Add DB Tuning Advisor suggestions
1 parent 55a1336 commit a9ff8a8

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CREATE INDEX IDX_haplotypes_name_date ON sequenceanalysis.haplotypes
2+
(
3+
Name ASC,
4+
datedisabled ASC
5+
);
6+
7+
CREATE INDEX IDX_haplotype_sequences_name_haplotype_type ON sequenceanalysis.haplotype_sequences
8+
(
9+
haplotype ASC,
10+
name ASC,
11+
type ASC
12+
);
13+
14+
CREATE INDEX IDX_alignment_summary_analysis_id_rowid_container ON sequenceanalysis.alignment_summary
15+
(
16+
analysis_id ASC,
17+
rowid ASC,
18+
container ASC
19+
)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
CREATE NONCLUSTERED INDEX IDX_haplotypes_name_date ON sequenceanalysis.haplotypes
2+
(
3+
Name ASC,
4+
datedisabled ASC
5+
);
6+
7+
CREATE NONCLUSTERED INDEX IDX_haplotype_sequences_name_haplotype_type ON sequenceanalysis.haplotype_sequences
8+
(
9+
haplotype ASC,
10+
name ASC,
11+
type ASC
12+
);
13+
14+
CREATE NONCLUSTERED INDEX IDX_alignment_summary_analysis_id_rowid_container ON sequenceanalysis.alignment_summary
15+
(
16+
analysis_id ASC,
17+
rowid ASC,
18+
container ASC
19+
)
20+
INCLUDE(total)
21+
22+
CREATE STATISTICS STAT_ref_nt_sequence_rowid_locus_container ON sequenceanalysis.ref_nt_sequences (RowId, locus, container)
23+
WITH AUTO_DROP = OFF
24+
25+
CREATE STATISTICS STAT_ref_nt_sequence_locus_container ON sequenceanalysis.ref_nt_sequences (locus, container)
26+
WITH AUTO_DROP = OFF
27+
28+
CREATE STATISTICS STAT_sequence_analyses_container_readset ON sequenceanalysis.sequence_analyses (Container, readset)
29+
WITH AUTO_DROP = OFF
30+
31+
CREATE STATISTICS STAT_sequence_readsets_rowid_container ON sequenceanalysis.sequence_readsets (RowId, Container)
32+
WITH AUTO_DROP = OFF
33+
34+
CREATE STATISTICS STAT_asj_alignmentid_container_ref_nt_id ON sequenceanalysis.alignment_summary_junction(alignment_id, container, ref_nt_id)
35+
WITH AUTO_DROP = OFF
36+
37+
CREATE STATISTICS STAT_asj_alignmentid_ref_nt_id_status_alignment_id ON sequenceanalysis.alignment_summary_junction(ref_nt_id, status, alignment_id)
38+
WITH AUTO_DROP = OFF
39+

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public String getName()
211211
@Override
212212
public Double getSchemaVersion()
213213
{
214-
return 12.329;
214+
return 12.330;
215215
}
216216

217217
@Override

0 commit comments

Comments
 (0)