[open-ils-commits] r12812 - trunk/Open-ILS/src/sql/Pg (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 7 10:07:09 EDT 2009


Author: dbs
Date: 2009-04-07 10:07:07 -0400 (Tue, 07 Apr 2009)
New Revision: 12812

Modified:
   trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql
Log:
Reverting the unique index on bre.id; it's a primary key and already has one by definition
Creating the index probably improved the speed of ingest as a side effect;
a reindex would probably have the same effect without additional index overhead.
More investigation required.


Modified: trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql	2009-04-07 13:44:40 UTC (rev 12811)
+++ trunk/Open-ILS/src/sql/Pg/010.schema.biblio.sql	2009-04-07 14:07:07 UTC (rev 12812)
@@ -41,7 +41,6 @@
 	marc		TEXT		NOT NULL,
 	last_xact_id	TEXT		NOT NULL
 );
-CREATE UNIQUE INDEX biblio_record_entry_unique ON biblio.record_entry ( id );
 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 );



More information about the open-ils-commits mailing list