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 #1

Updated by Claus Due over 7 years ago

  • Subject changed from Extension Manager uses a query on a VARCHAR column that is not indexed to Extension Manager uses a query on a column that is not indexed
Actions #2

Updated by Gerrit Code Review over 7 years 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/52670

Actions #3

Updated by Mona Muzaffar over 7 years ago

  • Related to Bug #81070: Update extension list in EM causes 100% CPU load for very long time added
Actions #4

Updated by Mona Muzaffar over 7 years ago

  • Related to deleted (Bug #81070: Update extension list in EM causes 100% CPU load for very long time)
Actions #5

Updated by Mona Muzaffar over 7 years ago

  • Has duplicate Bug #81070: Update extension list in EM causes 100% CPU load for very long time added
Actions #6

Updated by Christian Weiske over 7 years ago

  • Has duplicate Bug #81148: Extension list update takes too long added
Actions #7

Updated by Gerrit Code Review over 7 years ago

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

Actions #8

Updated by Anonymous over 7 years ago

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

Updated by Jan Kornblum over 7 years ago

Couldn't this be integrated in 7.6 LTS, too?

Actions #10

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52743

Actions #11

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF