Quantcast
Channel: Why is a scan faster than seek for this predicate? - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Answer by Paul White for Why is a scan faster than seek for this predicate?

Why is there a large difference in CPU time for these two queries?The scan plan evaluates the following pushed non-sargable (residual) predicate for each row:[two_col_key_test].[ID1]<>N'1'AND...

View Article



Image may be NSFW.
Clik here to view.

Why is a scan faster than seek for this predicate?

I was able to reproduce a query performance issue that I would describe as unexpected. I'm looking for an answer that's focused on internals.On my machine, the following query does a clustered index...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images