# EF Core 11でAsSplitQueryが高速化：不要なJOINを自動削除

Original title: EF Core 11 makes your split queries faster

> Hacker News story 48785102 · language: ja · submitted 2026-07-04
> Web version: https://zeli.app/ja/story/48785102
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 7 · by [rellem](<https://news.ycombinator.com/user?id=rellem>) · 💬 1
[original](<https://steven-giesel.com/blogPost/d4401fd0-805a-4703-9d9e-5fe3b57c25ea>) · [HN discussion](<https://news.ycombinator.com/item?id=48785102>)

## Summary

EF Core 11（プレビュー3以降）では、AsSplitQuery使用時にコレクションのクエリから参照ナビゲーションのJOINを自動的に除去する改善が入りました。これにより、不要なJOINやORDER BY列が削減され、クエリのパフォーマンスが向上します。本記事では、変更の背景、具体的なSQLの変化、.NET 10と.NET 11でのベンチマーク結果（実行時間が約9%短縮、メモリ割り当てが約10%削減）を紹介します。

## Key quote

> データベースはその作業を行い、結果を捨て、クエリプランはそのせいで悪化する。

---

## Cite

- Page: https://zeli.app/ja/story/48785102
- Date: 2026-07-04
- Source: steven-giesel.com (https://steven-giesel.com/blogPost/d4401fd0-805a-4703-9d9e-5fe3b57c25ea)
- Hacker News: https://news.ycombinator.com/item?id=48785102

## Other languages

- en: https://zeli.app/story/48785102 · markdown: https://zeli.app/story/48785102.md
- zh: https://zeli.app/zh/story/48785102 · markdown: https://zeli.app/zh/story/48785102.md
- ko: https://zeli.app/ko/story/48785102 · markdown: https://zeli.app/ko/story/48785102.md
- de: https://zeli.app/de/story/48785102 · markdown: https://zeli.app/de/story/48785102.md
- es: https://zeli.app/es/story/48785102 · markdown: https://zeli.app/es/story/48785102.md
