I mentioned earlier this week that I’m working on a new presentation for SQLSaturday #119 next month. The talk revolves around common issues that new bloggers face, including reasons for not blogging. So far, I’ve compiled several common roadblocks, but I’d love to hear from you.
If you’ve thought about… Read more
I’ve been using my RYO Maintenance scripts for a little while now, and they’ve been working great. Almost. One day I noticed that the backup script hadn’t backed up all of the databases on my instance. I checked the job history, no errors. I checked the SQL… Read more
The last step in our campaign to rid the world of maintenance plans deals with housekeeping: the history cleanup step. I know. Cleanup is never the sexiest of jobs, but just like the dishes or the laundry, it still needs to be done occasionally.
If you were to create an… Read more
Happy Monday! Everyone fully recovered from St. Patrick’s Day? Hopefully the weather where you are was as perfect as it was here in Cleveland.
Today’s piece of RYO Maintenance Plan deals with database integrity checks; a critical component second only to backups in my book. The procedure I’ve written is… Read more
Every month the folks of the SQL Server community get together for a virtual block party of sorts called T-SQL Tuesday. This month’s party is being hosted by Argenis Fernandez (b|t). The topic: specialization. Some folks wear many hats within an organization, others wear only one… Read more
It seems that March is another great month for getting your geek on without having to leave the comforts of your desk. Here are some of the SQL Server events still coming up this month:
- 1pm EDT – Professional Development VC – Joe Webb discusses…
It’s been a couple of weeks since my last post, but I swear I have a good excuse. I’ve been busily working on a separate writing project, but I’m back now and ready to continue rolling my own maintenance plan. To recap, so far I’ve covered backups, backup cleanup Read more
Another key component of any good maintenance plan is updating statistics. Statistics are what help the SQL Server optimizer choose the best execution plan for your queries. Let your stats get too far out of date, and watch your query performance tank.
For me, the biggest shortcoming of the update… Read more
As good little DBAs, we should be gathering baseline statistics for our database servers. These stats can give us insight into what’s changed when performance is suddenly in the toilet. They can also provide a basis for determining what systems can be consolidated, downsized, or virtualized, which has become quite… Read more
In response to my last post, I got a very interesting comment from Philip:
“I would love to see a way to add logic that will verify at least X backup files for a given DB remain. Specifically, in my organization, I would like to delete all but the most…
I’ve covered creating my backup directories and the actual backup of the database(s). The last thing I want to do in my process is clean up any old backup files. Once again, I want to allow for some flexibility in my procedure. Much… Read more
Last time I dealt with the creation of subdirectories, in one or more root locations, to house my database backups. Today we’ll get into the meat of the database backup procedure itself. If you’ll recall, this procedure has to meet some specific criteria:
- It will need a minimum of…
Anyone who knows me knows that I’m a big proponent of automating routine tasks. If I have to do something more than twice, it should be scripted (if not fully automated). I’ve also made it fairly clear that I’m no fan of SSIS. So with all that… Read more
Last week’s resolutions post reminded me that it’s time for another status check on the goals I set for myself back in July. Two introspective posts in a row is a bit tiresome, I know, but bear with me and this will be the last bit of navel-gazing for a… Read more
Welcome to the first TSQL Tuesday of 2012! This month’s soiree is being hosted by Dave Howard (blog | twitter) and he’s feeling a bit nostalgic. As a result, we get to pick from any of the previous TSQL Tuesday topics and write about that. He’s even included… Read more
Happy new year, SQL peeps! I hope everyone had a wonderful holiday. Last week was very quiet at work, but I did have a developer email me with a problem she was having. (I do believe she may have been the only one actually working, can you imagine??) But… Read more
How fitting that I should close out the A to Z series while I close out the year. We’ve finally arrived at letter Z and that stands for the CPU-Z utility. Yes, technically that isn’t a part of SQL Server, but if you hadn’t already noticed by Monday’s ‘Y’ post,… Read more
SELECT 'Happy '+ DATENAME(dw, GETDATE())
Welcome to the penultimate installment of SQL Server A to Z (it’s not often I get to use “penultimate”). Officially, Y stands for Year, but that would be kinda boring, and quite short, so let’s run with it and talk about all sorts of date-parts-related… Read more