Project

General

Profile

Actions

Feature #38178

closed

function submitWords with exec_INSERTmultipleRows

Added by Christian Bartolomaeus about 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-06-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

On different systems I had performance issues due to a vast number of single INSERT queries generated by function submitWords() in class.indexer.php. On different occasions those queries resulted in a bottleneck in disk I/O. Last time that happened was on a system with ext4 filesystem using mount option "barrier" (default settings in CentOS 6).

Looking at the code of submitWords() I suppose it would help to conflate all queries for a given 'phash' using TYPO3 function exec_INSERTmultipleRows() instead of exec_INSERTquery(). (At least when using a MySQL backend and not using dbal.)

Attached you find a patch against class.indexer.php (taken from TYPO3 4.7.1). Unfortunately I had no opportunity to test my patch -- though I think it should work.

What do you think about my suggestion?

Best regards

Christian

P.S. This is the first time I open a new issue on forge.typo3.org. I hope I found the right place (and words) to post my feature request.


Files

patch (1.06 KB) patch patch for class.indexer.php Christian Bartolomaeus, 2012-06-19 18:12

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #38742: indexed_search performance: function submitWords with exec_INSERTmultipleRowsClosed2012-06-19

Actions
Actions #1

Updated by Christian Bartolomaeus almost 12 years ago

Since there was no response and this looked like the wrong place to issue my request I duplicated this feature request: http://forge.typo3.org/issues/38742. (I wasn't able to move this request, so I had to duplicate it.)

This request can be closed/removed.

Thanks

Christian

Actions #2

Updated by Oliver Hader over 11 years ago

  • Target version set to 2222
Actions #3

Updated by Oliver Hader over 11 years ago

  • Project changed from 1382 to TYPO3 Core
Actions #4

Updated by Oliver Hader over 11 years ago

  • Category set to Indexed Search
Actions #5

Updated by Oliver Hader over 11 years ago

  • Target version deleted (2222)
Actions #6

Updated by Anja Leichsenring almost 10 years ago

  • Status changed from New to Closed

please follow updates on #38742, after this is a duplicate.

Actions

Also available in: Atom PDF