Skip to content
Snippets Groups Projects
Commit 2ad25481 authored by Markus Klösges's avatar Markus Klösges Committed by Susanne Moog
Browse files

[BUGFIX] Reduce memory consumption in findIdentifiersByTag()

When searching cache-identifiers by tag, the Typo3DatabaseBackend now
utilizes DBMS functions for de-duplication of identifiers instead
of fetching all records and de-duplicate them afterwards in php space.
This dramatically reduces memory usage, when many duplicated identifiers
are in a cache table for any given tag.
Note that there is no noticable impact whenever there are no duplicates
at all, as the DBMS handles the de-duplication.

Releases: master, 9.5
Resolves: #89997
Change-Id: Ia28deee1e02eec9792dc4b0d4ce41e2177fcadf4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62749


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarJonas Eberle <flightvision@googlemail.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarJonas Eberle <flightvision@googlemail.com>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 4e913f2a
Branches
Tags
No related merge requests found
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