What is one significant aspect about a Cover Query?
Reveal answer
Fill a bubble to check yourself
What is one significant aspect about a Cover Query?
All columns required by the query are available via the Primary index.
All columns required by the query are available via a Join Index.
All columns required by the query are available via the Hash Index
The PE covers the query by looking into cache to see if the same query has been run in the last 240 minutes. If it has been cached the PE doesn't have to generate steps for the AMPs.
A Cover Query is optimized to retrieve all required columns directly from a Join Index without accessing the base table. Join Indexes pre-join and store frequently queried column combinations, allowing the optimizer to satisfy queries entirely from the index structure. This eliminates expensive joins and dramatically improves performance.