mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
* Allow tweaking of the index that MySQL use when searching products Sometimes when working with large dataset with many entities the MySQL engine does not pick-up the right index. This is especially true when doing a search over the reference because the LIKE '%%' prevent the uk_product_label from being chosen. This PR aims to improve this situation by doing the following : - Adding a simple index on entity column. - Adding an hidden constant to force the index being used when searching products. Performances over a 8M products dataset shows a reduction of 2/3 execution time. * Add missing global $conf * Fix wrong usage of getDolGlobalString() * Finalise fix * Add more indexes * Rework indexes |
||
|---|---|---|
| .. | ||
| ajax | ||
| boxes | ||
| class | ||
| data | ||
| db | ||
| filemanagerdol | ||
| js | ||
| lib | ||
| login | ||
| menus | ||
| modules | ||
| tpl | ||
| triggers | ||
| actions_addupdatedelete.inc.php | ||
| actions_builddoc.inc.php | ||
| actions_changeselectedfields.inc.php | ||
| actions_comments.inc.php | ||
| actions_dellink.inc.php | ||
| actions_extrafields.inc.php | ||
| actions_fetchobject.inc.php | ||
| actions_lineupdown.inc.php | ||
| actions_linkedfiles.inc.php | ||
| actions_massactions.inc.php | ||
| actions_printing.inc.php | ||
| actions_sendmails.inc.php | ||
| actions_setmoduleoptions.inc.php | ||
| actions_setnotes.inc.php | ||
| antispamimage.php | ||
| bookmarks_page.php | ||
| commonfieldsinexport.inc.php | ||
| commonfieldsinimport.inc.php | ||
| customreports.php | ||
| datepicker.php | ||
| doxygen.php | ||
| extrafieldsinexport.inc.php | ||
| extrafieldsinimport.inc.php | ||
| get_info.php | ||
| get_menudiv.php | ||
| multicompany_page.php | ||
| photos_resize.php | ||
| search_page.php | ||
| search.php | ||
| tools.php | ||
| website.inc.php | ||