Project

General

Profile

Actions

Bug #55891

closed

Insert a CheckIfRecordExists in Listmodule

Added by Stefan Froemken about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Performance
Target version:
Start date:
2014-02-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Hello Coreteam,

for now you check if records exists in table with COUNT. But on large tables this needs a lot of time. On one of our systems with 1,3 million records 0.3 seconds. I found out a larger SQL-Query which only takes the first col (uid) of a table and breaks further processing with LIMIT 1.

Stefan


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #55568: BE: Only make SQL count calls on uid not *ClosedBenni Mack2014-02-01

Actions
Actions

Also available in: Atom PDF