Project

General

Profile

Actions

Bug #81097

closed

Extension Manager uses a query on a column that is not indexed

Added by Claus Due over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-05-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Query:

SELECT a.uid AS uid FROM tx_extensionmanager_domain_model_extension a LEFT JOIN tx_extensionmanager_domain_model_extension b ON a.repository = b.repository AND a.extension_key = b.extension_key AND a.integer_version < b.integer_version WHERE a.repository = 1 AND b.extension_key IS NULL ORDER BY a.uid

Current indexes:

PRIMARY KEY (uid),
KEY index_extrepo (extension_key,repository),
KEY index_versionrepo (integer_version,repository),
KEY index_currentversions (current_version,review_state),
UNIQUE versionextrepo (extension_key,version,repository)

Suggested indexes including index for query above:

PRIMARY KEY (uid),
KEY index_extrepo (extension_key,repository),
KEY index_versionrepo (integer_version,repository),
KEY index_versionrepoext (integer_version,repository,extension_key),
KEY index_currentversions (current_version,review_state),
UNIQUE versionextrepo (extension_key,version,repository)

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #81070: Update extension list in EM causes 100% CPU load for very long timeClosed2017-04-28

Actions
Has duplicate TYPO3 Core - Bug #81148: Extension list update takes too longRejected2017-05-05

Actions
Actions

Also available in: Atom PDF