[open-ils-commits] r16997 - branches/rel_1_6_1/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jul 21 11:38:48 EDT 2010
Author: miker
Date: 2010-07-21 11:38:45 -0400 (Wed, 21 Jul 2010)
New Revision: 16997
Modified:
branches/rel_1_6_1/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
Log:
index which /greatly/ speeds collection of pending active events
Modified: branches/rel_1_6_1/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2010-07-21 15:38:14 UTC (rev 16996)
+++ branches/rel_1_6_1/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2010-07-21 15:38:45 UTC (rev 16997)
@@ -151,6 +151,7 @@
template_output BIGINT REFERENCES action_trigger.event_output (id),
error_output BIGINT REFERENCES action_trigger.event_output (id)
);
+CREATE INDEX atev_target_def_idx ON action_trigger.event (target,event_def);
CREATE TABLE action_trigger.event_params (
id BIGSERIAL PRIMARY KEY,
More information about the open-ils-commits
mailing list