Permalink
Browse files

Create index on fingerprint_source.submission_id

  • Loading branch information...
1 parent 13a2c00 commit a426d7fdc84ad563bdc8e6738af230ee12d32b30 @lalinsky lalinsky committed Oct 19, 2012
Showing with 3 additions and 0 deletions.
  1. +2 −0 sql/CreateIndexes.sql
  2. +1 −0 sql/updates/017_fingerprint_source_index.sql
View
@@ -17,6 +17,8 @@ CREATE INDEX fingerprint_idx_fingerprint ON fingerprint USING gin (acoustid_extr
CREATE INDEX fingerprint_idx_length ON fingerprint (length);
CREATE INDEX fingerprint_idx_track_id ON fingerprint (track_id);
+CREATE INDEX fingerprint_source_idx_submission_id ON fingerprint_source (submission_id);
+
CREATE UNIQUE INDEX track_idx_gid ON track (gid);
CREATE INDEX track_mbid_idx_mbid ON track_mbid (mbid);
@@ -0,0 +1 @@
+CREATE INDEX CONCURRENTLY fingerprint_source_idx_submission_id ON fingerprint_source (submission_id);

0 comments on commit a426d7f

Please sign in to comment.