Mon Sep 26 20:31:23 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Store now() in sl_confirm rather than CURRENT_TIMESTAMP.
- Next message: [Slony1-commit] By cbbrowne: Add an index on sl_log_1(log_xid) as sometimes log_origin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Add an index on sl_log_1(log_xid) as sometimes log_origin isn't a useful discriminant Tags: ---- REL_1_1_STABLE Modified Files: -------------- slony1-engine/src/backend: slony1_base.sql (r1.27 -> r1.27.2.1) -------------- next part -------------- Index: slony1_base.sql =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_base.sql,v retrieving revision 1.27 retrieving revision 1.27.2.1 diff -Lsrc/backend/slony1_base.sql -Lsrc/backend/slony1_base.sql -u -w -r1.27 -r1.27.2.1 --- src/backend/slony1_base.sql +++ src/backend/slony1_base.sql @@ -389,6 +389,9 @@ create index sl_log_1_idx1 on @NAMESPACE at .sl_log_1 (log_origin, log_xid @NAMESPACE at .xxid_ops, log_actionseq); +create index sl_log_1_idx2 on @NAMESPACE at .sl_log_1 + (log_xid @NAMESPACE at .xxid_ops); + comment on table @NAMESPACE at .sl_log_1 is 'Stores each change to be propagated to subscriber nodes'; comment on column @NAMESPACE at .sl_log_1.log_origin is 'Origin node from which the change came'; comment on column @NAMESPACE at .sl_log_1.log_xid is 'Transaction ID on the origin node'; @@ -416,6 +419,8 @@ create index sl_log_2_idx1 on @NAMESPACE at .sl_log_2 (log_origin, log_xid @NAMESPACE at .xxid_ops, log_actionseq); +create index sl_log_2_idx2 on @NAMESPACE at .sl_log_2 + (log_xid @NAMESPACE at .xxid_ops); -- ********************************************************************** -- * Views
- Previous message: [Slony1-commit] By cbbrowne: Store now() in sl_confirm rather than CURRENT_TIMESTAMP.
- Next message: [Slony1-commit] By cbbrowne: Add an index on sl_log_1(log_xid) as sometimes log_origin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list