Project

General

Profile

Actions

Task #79604

closed

Missing index on sys_file_reference

Added by Thomas Hohn almost 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2017-02-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
performance
Complexity:
Sprint Focus:
Stabilization Sprint

Description

The table sys_file_reference has a missing index.
Like the table tt_content - there should be and index on the columns t3ver_oid,t3ver_wsid

The following select statement - that is generated during a copy of a sub-tree in the backend
could benefit greatly from that. In the test the statement was executed 136 times with a
using 1.7 seconds - as a comparison the same statement on the tt_content table took 189 ms.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #81906: Better performance for translated FileReference entities - new index in sys_file_referenceClosed2017-07-18

Actions
Actions

Also available in: Atom PDF