[open-ils-commits] r12681 - branches/rel_1_4_0/Open-ILS/src/sql/Pg (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 25 23:05:42 EDT 2009
Author: dbs
Date: 2009-03-25 23:05:40 -0400 (Wed, 25 Mar 2009)
New Revision: 12681
Modified:
branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql
Log:
Backport r12679 from trunk: Even better indexing on afr - thanks miker!
Modified: branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql 2009-03-26 03:05:17 UTC (rev 12680)
+++ branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql 2009-03-26 03:05:40 UTC (rev 12681)
@@ -70,8 +70,7 @@
index_vector tsvector NOT NULL
);
CREATE INDEX authority_full_rec_record_idx ON authority.full_rec (record);
-CREATE index authority_full_rec_subfield_idx ON authority.full_rec (subfield);
-CREATE index authority_full_rec_tag_idx ON authority.full_rec (tag);
+CREATE INDEX authority_full_rec_tag_subfield_idx ON authority.full_rec (tag, subfield);
CREATE INDEX authority_full_rec_tag_part_idx ON authority.full_rec (SUBSTRING(tag FROM 2));
CREATE TRIGGER authority_full_rec_fti_trigger
BEFORE UPDATE OR INSERT ON authority.full_rec
More information about the open-ils-commits
mailing list