소스 검색

Adding an extra index to speed-up data synchronization for large volumes of data.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4128 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 년 전
부모
커밋
8acddf74c4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      synchro/synchrodatasource.class.inc.php

+ 1 - 0
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();