mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #8073] Optimize paginator removing useless left joins in subselect #10798
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8073
State: closed
Merged: No
Hi
Here is a draft of what could be a huge performance boost for Paginator
Actually, to optimize database db queries, we could join nested fields but, when using it with the Paginator and some filters, the distinct subselect injected suffer of all that left joined data that could be removed on that subselect returning ids
I am not hoping that could be merge like this but it opens the discussion
Thanks in advance for your opinion and tips