Hi,
I couldn't find much about the Query Analyzer's Graphycal Execution Plans outputs. The topics on SQL Server Books OnLine does not answer those below:
- In what unit values are shown?
- Why does "Estimated I/O Cost" differ from "SET STATISTICS IO" output? Same for "Estimated CPU" and "SET STATISTICS TIME".
- Why "SELECT * FROM authors" is less CPU- and I/O-expensive than "SELECT * FROM authors WHERE au_id = '1'"? The second one is a Clustered Index Seek, while the first is a Clustered Index Scan... It should be "cheaper", especially if the table has only one data page, isn't it?
Tnxs,
G
I couldn't find much about the Query Analyzer's Graphycal Execution Plans outputs. The topics on SQL Server Books OnLine does not answer those below:
- In what unit values are shown?
- Why does "Estimated I/O Cost" differ from "SET STATISTICS IO" output? Same for "Estimated CPU" and "SET STATISTICS TIME".
- Why "SELECT * FROM authors" is less CPU- and I/O-expensive than "SELECT * FROM authors WHERE au_id = '1'"? The second one is a Clustered Index Seek, while the first is a Clustered Index Scan... It should be "cheaper", especially if the table has only one data page, isn't it?
Tnxs,
G