Do not load entities one by one

Created on 11 June 2025, about 2 months ago

Problem/Motivation

The module currently loads entities individually in several places, which results in the N+1 query problem. This leads to inefficient database access and can significantly degrade performance, especially when working with large sets of entities.

To resolve this, entity IDs should be collected first and then passed to the loadMultiple() method. This allows all required entities to be loaded in a single query, after which they can be processed as needed.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇭🇺Hungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024