Project

General

Profile

Actions

Task #55167

closed

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Epic #55656: Optimize overall Extbase performance

Story #55168: Optimize Extbase generic persistence

Extbase: avoid parseQuery() / buildQuery() to be called multiple times

Added by Felix Oertel almost 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extbase
Target version:
Start date:
2014-03-20
Due date:
2014-03-20
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:

Description

At the moment the extbase persistence runs buildQuery() and parseQuery() for every single getObjectDataByQuery() / getObjectCountByQuery(). When fetching child objects, this is called for every single object. This results in a lot of re-run code. In a simple blog_example page, this is called up to 200 times.

We will try to cache the built query as in an live environment always the same queries should be run, just with different parameters. Special care is to be taken for which parts of the query are "static" and about to be built into the cache identifier.

We will have to give the developer the chance to disable query caching though, because in some cases it might result in real big data piles. (e. g. matrix-like queries, allowing the front-end to influence the number of queried properties (search)).


Subtasks 6 (0 open6 closed)

Task #55661: Add functional tests for extbase persistenceClosedFelix Oertel2014-03-202014-03-20

Actions
Task #57173: Use of cf_extbase_typo3dbbackend_queries results in fatalClosedXavier Perseguers2014-03-22

Actions
Task #57130: Extbase Queries with NULL comparison don't work anymoreClosed2014-03-21

Actions
Task #57104: Regression: Query building fails for LazyObjectStorageClosed2014-03-20

Actions
Task #57263: Typo3DbQueryParser does not handle LowerCaseInterface correctlyClosedFelix Oertel2014-03-25

Actions
Task #57338: Make Typo3DbQueryParser SingletonClosed2014-03-26

Actions

Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Task #53514: Extbase: DataMapper causes redundant queriesClosedNico de Haen2013-11-11

Actions
Related to TYPO3 Core - Bug #57053: Regression: Extbase query builder uses invalid parameter in parseComparison()Closed2014-03-18

Actions
Related to TYPO3 Core - Task #57280: Introduce setting to be able to disable Extbase query cache for all queries.ClosedMarc Bastian Heinrichs2014-03-25

Actions
Related to TYPO3 Core - Task #57275: Add first level cache for the query cacheClosed2014-03-25

Actions
Follows TYPO3 Core - Task #55360: Extbase: use preparedStatement in generic persistenceClosedFelix Oertel2014-03-19

Actions
Actions

Also available in: Atom PDF