Task #92071

DatabaseRecordList: Drop unnecessary DB-Query for each table

Added by Daniel Windloff 5 months ago. Updated 30 days ago.

Should have
Code Cleanup
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Sprint Focus:


For each TCA table a query to determine if a result exists is made.
It could have been some kind of performance optimization, but it results in an additional query for each table with records in place.

Such optimizations should be done in the getTable method by using the already existing query to count the number of records for one table. Therefore, the query to the get the result set is only executed if at minimum one record exists.


Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65410


Updated by Daniel Windloff 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Updated by Benni Mack 30 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF