Project

General

Profile

Actions

Bug #22959

closed

t3lib_db->listQuery() performance

Added by Caspar Stuebs almost 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-06-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The function listQuery() uses a a like-construct to find a value in a comma-seperated list.
Mysql has a internal function for this called 'find_in_set'
This is 2.5 times faster.

Enclosed the performance check script and the patch.

(issue imported from #M14818)


Files

t3lib_db_listQuery_performance.patch (676 Bytes) t3lib_db_listQuery_performance.patch Administrator Admin, 2010-06-22 13:27
list_query_performance_check.tgz (1.5 KB) list_query_performance_check.tgz Administrator Admin, 2010-06-22 13:28
ux_t3lib_db_add_listQuery.patch (1.38 KB) ux_t3lib_db_add_listQuery.patch Administrator Admin, 2010-06-22 14:45
bug_14818_2.patch (2.92 KB) bug_14818_2.patch Administrator Admin, 2010-07-04 11:05

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #23087: FIND_IN_SET should be used instead of complicated LIKE where clauseClosedXavier Perseguers2010-07-03

Actions
Related to TYPO3 Core - Bug #23253: intExplode somehow returns comma-containing string valuesClosedErnesto Baschny2010-07-23

Actions
Actions

Also available in: Atom PDF