[open-ils-commits] r12678 - 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 22:42:42 EDT 2009
Author: dbs
Date: 2009-03-25 22:42:40 -0400 (Wed, 25 Mar 2009)
New Revision: 12678
Modified:
branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql
Log:
Backport r12675 from trunk: indexes on afr to improve authority lookups significantly
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 02:41:39 UTC (rev 12677)
+++ branches/rel_1_4_0/Open-ILS/src/sql/Pg/011.schema.authority.sql 2009-03-26 02:42:40 UTC (rev 12678)
@@ -70,6 +70,8 @@
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_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