Indexes for dummies

This post is geared towards explaining why indexes are necessary in layman’s terms.  My goal is for this to be understandable to somebody that doesn’t necessarily have a database background. The Phonebook Example Finding a phonebook on my front doorstep is a nuisance these days.  I’ve quit picking them up over the years to try […]

Read More

Diagnosing: The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time

Have you ever had the joy of receiving this error message? The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running […]

Read More

Have you ever wondered what SQL generated that FETCH or FETCH API_CURSOR statement?

Have you ever seen a FETCH statement show up when monitoring via activity monitor, sysprocesses, dm_exec_requests, or name your monitoring tool of choice?  These surface when a process is programatically fetching through a cursor.  Most of the time the fetch statement isn’t of interest when performance tuning.  Instead it is of more use to see […]

Read More