From 2299d23099cdf4a419532ce04b12cdc1a8d83146 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 24 May 2016 13:49:34 +0000 Subject: [PATCH] Adding an extra index to speed-up data synchronization for large volumes of data. SVN:trunk[4128] --- synchro/synchrodatasource.class.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/synchro/synchrodatasource.class.inc.php b/synchro/synchrodatasource.class.inc.php index 533330519..38cf290c4 100644 --- a/synchro/synchrodatasource.class.inc.php +++ b/synchro/synchrodatasource.class.inc.php @@ -1508,6 +1508,7 @@ class SynchroReplica extends DBObject implements iDisplay "db_key_field" => "id", "db_finalclass_field" => "", "display_template" => "", + "indexes" => array( array ('dest_class', 'dest_id'), ), ); MetaModel::Init_Params($aParams); MetaModel::Init_InheritAttributes();