3 ms·
This to me is a bug and should be reported as such. If I can write a query in three different ways and get three different durations with the same data returned
by nextw33k 13y ago
This to me is a bug and should be reported as such. If I can write a query in three different ways and get three different durations with the same data returned then the query engine isn't optimizing the steps correctly.
As SQL developers we should be abstracted away from performance considerations as the database engine (and its developers) should know better than us how to optimize data retrieval. I find selecting indexes to be a 90s hang up that we haven't yet let go of.