Skip to content
Snippets Groups Projects
Commit 2c5378c4 authored by Thomas Hohn's avatar Thomas Hohn Committed by Christian Kuhn
Browse files

[TASK] Add missing index on table sys_file_reference

During copying of pagetrees various sql statments
are executed. One on sys_file_reference has a bad
performance and can benefit from an index.

Fixes: #79604
Releases: master

Change-Id: I2caa83db6259ad6baad75427b5040a11ece768ba
Reviewed-on: https://review.typo3.org/51512


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Tested-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarStephan Großberndt <stephan@grossberndt.de>
Reviewed-by: default avatarChrister V <cvi@systime.dk>
Reviewed-by: default avatarClaus Due <claus@phpmind.net>
Tested-by: default avatarClaus Due <claus@phpmind.net>
Reviewed-by: default avatarMorten Pless <mpl@systime.dk>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 00fa1cd5
Branches
Tags
No related merge requests found
......@@ -420,7 +420,8 @@ CREATE TABLE sys_file_reference (
KEY tablenames_fieldname (tablenames(32),fieldname(12)),
KEY deleted (deleted),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
KEY uid_foreign (uid_foreign),
KEY combined_1 (l10n_parent, t3ver_oid, t3ver_wsid, t3ver_state, deleted)
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment