[open-ils-commits] r11014 - branches/rel_1_4/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 31 17:05:09 EDT 2008
Author: dbs
Date: 2008-10-31 17:05:04 -0400 (Fri, 31 Oct 2008)
New Revision: 11014
Modified:
branches/rel_1_4/Open-ILS/src/sql/Pg/010.schema.biblio.sql
Log:
Merge r11013 from trunk: Add indexes to create_date and edit_date to speed up freshmeat feeds
Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/010.schema.biblio.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/010.schema.biblio.sql 2008-10-31 21:04:21 UTC (rev 11013)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/010.schema.biblio.sql 2008-10-31 21:05:04 UTC (rev 11014)
@@ -42,7 +42,9 @@
last_xact_id TEXT NOT NULL
);
CREATE INDEX biblio_record_entry_creator_idx ON biblio.record_entry ( creator );
+CREATE INDEX biblio_record_entry_create_date_idx ON biblio.record_entry ( create_date );
CREATE INDEX biblio_record_entry_editor_idx ON biblio.record_entry ( editor );
+CREATE INDEX biblio_record_entry_edit_date_idx ON biblio.record_entry ( edit_date );
CREATE INDEX biblio_record_entry_fp_idx ON biblio.record_entry ( fingerprint );
CREATE UNIQUE INDEX biblio_record_unique_tcn ON biblio.record_entry (tcn_value) WHERE deleted IS FALSE;
More information about the open-ils-commits
mailing list