From b1bc3ef52612c5fc08a3fd5a4bef66dd7f0ac2f5 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 18 Oct 2006 19:09:59 +0000 Subject: [PATCH] added "FORCE INDEX (call_date)" to the vicidial_log queries in AST_VDadapt.pl script to increase efficiency on large VICIDIAL databases git-svn-id: svn://192.168.202.10@361 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/AST_VDadapt.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/AST_VDadapt.pl b/bin/AST_VDadapt.pl index bc8908c9..9ab81ac4 100644 --- a/bin/AST_VDadapt.pl +++ b/bin/AST_VDadapt.pl @@ -366,7 +366,8 @@ foreach(@campaign_id) if ($hopper_ready_count>0) { ### BEGIN - GATHER STATS FOR THE vicidial_campaign_stats TABLE ### - $vicidial_log = 'vicidial_log'; + $vicidial_log = 'vicidial_log FORCE INDEX (call_date) '; + # $vicidial_log = 'vicidial_log'; $differential_onemin[$i]=0; $agents_average_onemin[$i]=0;