Using the Query Plan Tool to Understand Query Performance (in English)
Updated 2026-11-07
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- The Query Plan now lives in Web Console. The video turns the tool on in the Developer Console (Help, Preferences, Enable Query Plan). In Winter '27 the Query Plan is in the new Web Console, where you build a query in the SOQL Builder and see its plan, and the Developer Console no longer appears in the Setup menu by default (Announcing General Availability: Web Console, Salesforce Developers Blog, September 2026; The Salesforce Developer's Guide to the Winter '27 Release, October 2026; both checked 2026-11-01).
Still right
- The Query Plan tool shows how Salesforce would run a SOQL query before you run it: which path it would take (a table scan or an index) and a relative cost for each path. A cost above 1 means the query isn't selective.
- Measure before you guess: run the same query with different filters and compare the plans. The airports demo, about 74,000 records, still teaches it well: a full table scan, a filter on the indexed Name field that uses the index, and a leading wildcard that pushes the cost up.
All videos in this series: 데이터 아키텍처
동영상은 클릭할 때만 YouTube에서 불러옵니다.