Browse the archive

Performance

Code to purge data based on creation date

Yesterday, I talked about batching deletes, and the day before I talked about how much I like to delete data, and why it's necessary to do it, despite being a data pack rat. Today, let's look at just one scenario, and how I like to handle it. In my experience, …

Continue reading

The thrill of purging old data

DBAs & Data professionals tend to be digital packrats. My personal Google Drive is filled with random files that I refused to part with--even though it's of questionable value. I lament that I do not have a copy of every paper I typed in high school or …

Continue reading

Performance Myths: The query result cache

I was recently doing a training session when a developer commented that it was OK to run an expensive query twice because on the second execution, SQL Server would use the "results cache" and be "practically free". It's not the first time I've heard someone …

Continue reading

LOG_RATE_GOVERNOR Wait Stat

Question I'm noticing this wait stat on my Azure SQL database, and I've never seen it before. I've tried Googling this wait stat but haven't been able to come up with any good information on what this is, although I saw a couple mentions of it possibly being …

Continue reading