From 6cef2932985d7c697da466d7a4593b6c3cb1af79 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 2 Feb 2022 12:58:05 +0100 Subject: [PATCH] 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. --- Documentation/Changelog/1.1.5.rst | 30 ++++++++++++++++++++++++++++++ ext_tables.sql | 4 ++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/Changelog/1.1.5.rst diff --git a/Documentation/Changelog/1.1.5.rst b/Documentation/Changelog/1.1.5.rst new file mode 100644 index 0000000..ac18f56 --- /dev/null +++ b/Documentation/Changelog/1.1.5.rst @@ -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 diff --git a/ext_tables.sql b/ext_tables.sql index ba04d9e..5a57184 100644 --- a/ext_tables.sql +++ b/ext_tables.sql @@ -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), );