[Vtigercrm-commits] [Vtiger development] #8233: Writing the first and lastnames into columns called fnumber and rnumber into vtiger_pbxmanager_phonelookup

Vtiger development vtiger-tickets at trac.vtiger.com
Mon Sep 15 07:31:04 GMT 2014


#8233: Writing the first and lastnames into columns called fnumber and rnumber
into vtiger_pbxmanager_phonelookup
-----------------------+------------------------
 Reporter:  uma        |       Owner:  developer
     Type:  defect     |      Status:  new
 Priority:  major      |   Milestone:  6.1.0
Component:  vtigercrm  |     Version:  6.1.0 ea
 Severity:  Medium     |  Resolution:
 Keywords:             |
-----------------------+------------------------

Comment (by alanlord):

 One other thing I would say about this routine in the migration script is
 it is incredibly slow. For a database with ~250k Contacts (I didn't time
 it but it had been running for about 8 hours before it had completed.

 Using direct database queries to do most of the work is much, much faster.
 In MySQL there is a reverse() function:
 http://dev.mysql.com/doc/refman/4.1/en/string-
 functions.html#function_reverse

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8233#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list