Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Entity Framework Core におけるIN句クエリ最適化について
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tkym
December 20, 2025
Technology
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Entity Framework Core におけるIN句クエリ最適化について
tkym
December 20, 2025
More Decks by tkym
See All by tkym
今さら聞けない .NET CLI
htkym
0
190
GitHubCopilotCLIのスラッシュコマンドを自作してみる
htkym
0
130
今さら聞けないCancellationToken
htkym
0
260
GitHub Copilot CLIのいいところ
htkym
2
1.5k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
400
RoslynAnalyzerをつかってみよう
htkym
0
1.2k
SourceGeneratorのマーカー属性問題について
htkym
0
280
SourceGeneratorのススメ
htkym
0
950
.NET 10のEntity Framework Coreの新機能
htkym
0
1.1k
Other Decks in Technology
See All in Technology
Bits Agent Builder の⼊⾨と活⽤事例
nulabinc
PRO
0
140
20260807_第6回_関東kaggler会LT_claw系bot xangiと始める、"寂しくない" kaggle
sugupoko
0
270
20260608_Codexの可能性_ノンプログラマー向け_大城追記
doradora09
PRO
0
800
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
13
8.7k
モバイルアプリ開発概論2026
recruitengineers
PRO
5
580
JavaScript 研修 (2026)
recruitengineers
PRO
2
530
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
380
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
PLATEAU で バーチャル花火大会
tatsuya1970
0
150
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
210
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
790
Evolving SEO for Evolving Search Engines
ryanjones
0
250
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Mobile First: as difficult as doing things right
swwweet
225
10k
WENDY [Excerpt]
tessaabrams
11
39k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Tell your own story through comics
letsgokoyo
1
1k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
700
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
390
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Transcript
Entity Framework Core における IN句クエリ最適化について FutureOne株式会社 高山博司
高山博司 ・ FutureOne株式会社 ・ C#/.NET/Blazor tkym @h_tkymx
IN句クエリ最適化
IN句クエリの最適化 ・ パラメータ化されたコレクションを含むクエリ問題を解決 ・ 長年の課題だった
IN句クエリの最適化 ・ .NET 7以前 → インライン定数 ・ .NET 8 →
JSON配列パラメータ
IN句クエリの最適化 ・ .NET 10 → パディング付きスカラーパラメータ
パディング分には何が入ってる?
最後の値を複製 実際のソースはこちら
パディングの数は?
パディングの数(SQLServerの場合) 実際のソースはこちら
「キャッシュの再利用性」と 「クエリ実行計画の最適化」の 両立