Fix broken performance of list module

TYPO3 queries information of translations.
The fix adds database indices which are also applied for tt_content
by TYPO3 itself.
This fixes slow loading times of the list module.
This commit is contained in:
Daniel Siepmann 2022-02-02 12:58:05 +01:00
parent c1a23aa538
commit 6cef293298
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
1.1.5
=====
Breaking
--------
Nothing
Features
--------
Nothing
Fixes
-----
* Fix broken performance of list module.
TYPO3 queries information of translations.
The fix adds database indices which are also applied for tt_content by TYPO3 itself.
This fixes slow loading times of the list module.
Tasks
-----
Nothing
Deprecation
-----------
Nothing

View file

@ -5,6 +5,7 @@ CREATE TABLE tx_tracking_pageview (
type int(11) unsigned DEFAULT '0' NOT NULL,
KEY page_views_per_page (pid,uid,crdate),
KEY language (l10n_parent,sys_language_uid),
);
CREATE TABLE tx_tracking_recordview (
@ -14,4 +15,7 @@ CREATE TABLE tx_tracking_recordview (
record varchar(255) DEFAULT '' NOT NULL,
record_uid int(11) unsigned DEFAULT '0' NOT NULL,
record_table_name varchar(255) DEFAULT '' NOT NULL,
KEY record_views_per_page (pid,uid,crdate),
KEY language (l10n_parent,sys_language_uid),
);