Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Speed up DB query for tables with versions
Eliminating OR combination of subselects within same table, as they get wrongly managed by DBMS (mostly MySQL). Using JOIN and UNION reduces time to execute (on larger data sets) from 10 s to 0.01 s. This helps to get the page tree view working if an editor is inside workspace. Resolves: #86945 Releases: master, 9.5, 8.7 Change-Id: I7a5aa66baa6cef160de66fff3f80aec49b46295f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61604 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org>
- Loading branch information
Showing
1 changed file
with
17 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters