Quantcast
Channel: www.oaktable.net - Execution plans
Viewing all articles
Browse latest Browse all 133

Lost time

$
0
0

Here’s a little puzzle that came up in the ODC database forum yesterday – I’ve got a query that has been captured by SQL Monitor, and it’s taking much longer to run than it should but the monitoring report isn’t telling me what I need to know about the time.

Here’s a little model to demonstrate the problem – I’m going to join a table to itself (the self join isn’t a necessary feature of the demonstration, I’ve just been a bit lazy in preparing data). Here’s a (competely truthful) description of the table:

read more


Viewing all articles
Browse latest Browse all 133

Trending Articles