logoalt Hacker News

EF Core 11 makes your split queries faster

45 pointsby rellem07/04/202612 commentsview on HN

Comments

CodesInChaostoday at 9:56 AM

What EF needs is support for using postgresql's `array_agg` when `include`ing collections.

exceptionetoday at 7:30 AM

I don't understand the argument why `AsSplitQuery` could be more performant than a single round trip involving a multi join query. People mention data duplication and increased memory usage, but I would assume that `duplication` is just a matter of an extra pointer, not a bit-for-bit duplication of every reference to a single row.

Please enlighten me.

show 3 replies
preetham_rangutoday at 5:15 AM

The real win in EF Core 11 is pruning the reference-nav joins out of split child queries, that's been dead weight since AsSplitQuery existed.

glub103011today at 10:32 AM

[dead]