Skip to content

Commit

Permalink
Merge pull request #28 from bento-platform/perf/feature-querying
Browse files Browse the repository at this point in the history
perf: fix feature querying performance issue
  • Loading branch information
davidlougheed authored Dec 12, 2024
2 parents e8d1a91 + 63ec9e1 commit 6368f44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bento_reference_service/sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ CREATE TABLE IF NOT EXISTS genome_feature_attributes (
attr_val INTEGER NOT NULL REFERENCES genome_feature_attribute_values
);
CREATE INDEX IF NOT EXISTS genome_feature_attributes_feature_idx ON genome_feature_attributes (feature);
CREATE INDEX IF NOT EXISTS genome_feature_attributes_attr_key_only_idx ON genome_feature_attributes (attr_key);
CREATE INDEX IF NOT EXISTS genome_feature_attributes_attr_key_idx
ON genome_feature_attributes (feature, attr_key);
CREATE INDEX IF NOT EXISTS genome_feature_attributes_attr_val_only_idx ON genome_feature_attributes (attr_val);
CREATE INDEX IF NOT EXISTS genome_feature_attributes_attr_val_idx
ON genome_feature_attributes (feature, attr_val);

Expand Down

0 comments on commit 6368f44

Please sign in to comment.