[Vtigercrm-commits] [vtiger development] #744: Remove Duplicate Queries
vtiger development
vtiger-tickets at vtiger.fosslabs.com
Tue Apr 25 14:33:43 EDT 2006
#744: Remove Duplicate Queries
-----------------------------------+----------------------------------------
Reporter: allanbush | Owner: allanbush
Type: task | Status: new
Priority: minor | Milestone: 4.2.5
Component: vtigercrm | Version: 4.2.4rc3
Keywords: optimization database |
-----------------------------------+----------------------------------------
If you look at the queries performed on every page load you'll see that
lots of them are duplicates or predictably similar. I propose we
eliminate as many of these redundant queries as possible which should
offer a significant decrease in page loading times.
You can view all the queries used to create a page by turning on adodb's
debugging and reloading the page in question. To do this uncomment line
679 of source:/vtigercrm/branches/4.2/include/database/PearDatabase.php
($this->database->debug = true;). If the code from ticket #69 is checked
in you'll also have to comment out line 936 of
source:/vtigercrm/branches/4.2/adodb/adodb-lib.inc.php (// /*).
--
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/744>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list