Blogs

More Running with Scissors: Corrupting your Database with 823 Errors

This weekend, a question came up on Twitter asking if there was an easy way to simulate an 823 error. It seemed like a fun task to figure out.

Continue reading

Guidelines for Presentation Titles

The recent trend towards online voting to select presentations for events at SQL Server conferences got me thinking: this is a great opportunity to look at how people vote, and consider what this means about presentation titles and abstracts.

Continue reading

Be Prepared: Collecting Data from sp_WhoIsActive in a Table

I am a fangirl of Adam Machanic’s free sp_whoisactive stored procedure.

One of the great things about sp_whoisactive is that it’s very quick to generate a table to collect the data you need, then run the procedure in a loop with a wait statement to regularly collect the data you want over an interval.

Continue reading

My Session on Isolation Levels in Cleveland on February 5

A few weeks ago I was talking with a friend about upcoming plans. Without thinking, I said:

“Oh, and I’m going to go to Cleveland to talk about Isolation Levels. And partitioning. In February.”

Continue reading

Internals Matter: Why You Should Check Your Page Verify Settings

This post is about two things: 1) Your Page Verification Settings are Critical You should confirm you are running with the correct page verification settings on your SQL Server databases. It’s very important, and I’ll show you why. 2) I Should Attend the Awesome SQLSkills Master Immersion Event - Internals and Performance My scripts to demo the importance of page verification settings are part of my entry to win free registration to the SQLSkills Master Immersion Event on Internals and Performance in February.

Continue reading

Corrupting Databases for Dummies- Hex Editor Edition

This Post Tells You How To Corrupt a SQL Server Database with a Hex Editor in Gruesome Detail

And that’s all this post tells you. Not how to fix anything, just how to break it.

Continue reading

Read from the Right End of the Index: BACKWARD Scans

Optimizing queries is the most fun when you don’t need to add indexes. There’s nothing quite so nice as finding a way to make reading data faster, without slowing down writes or creating new data structures that need to be maintained.

Continue reading