A word of advice: the script assumes that you have the exact number of CPUs per NUMA node, WHICH MIGHT NOT BE THE CASE IN YOUR SCENARIO:
Category: general troubleshooting
Corruption she (the DBCC) wrote….
I received recently an email from a friend asking for my help as he faced a problem. He runs a small business in the healthcare industry and his needs in terms of IT should and are minimalist, if you want. And that's expected. Of course, I asked what was the problem about and he said: … Continue reading Corruption she (the DBCC) wrote….
Create certificate from backup fails on SQL Server 2008
This is so going to bite yer ass if you don't pay attention… As usual, a very quick post: I tried to create (ok, restore) a certificate from the production server to our DR server, so that the automated restores would work. When I ran the script (yes, CREATE CERTIFICATE … FROM FILE […]), I … Continue reading Create certificate from backup fails on SQL Server 2008
Move cluster group from one node to another
First off, apologies to the 3 readers I have (I don't read my blog post, I just write), since all of them are far better than I am when it comes to clustering. To cut it short: how can you move ANY resource from one node to another? Namely, the disk witness in the quorum … Continue reading Move cluster group from one node to another
Error message: “A database snapshot cannot be created because it failed to start” when running DBCC
I recently learned to hate even more the virtualization thing – once your host fails, guess what, everything else goes downJ. Anyway, the topic for today is not related to my personal feelings, but to DBCC failing on one of my servers. Msg 1823, Level 16, State 2, Line 1A database snapshot cannot be created … Continue reading Error message: “A database snapshot cannot be created because it failed to start” when running DBCC
Cannot shrink the log – now what
Happy New Year anyone (and Gong Xi Fa Cai, since it's rapidly approapching). Now this one really asks for a blog post, since I saw it too many times on various forums and I just got it on one of my production servers. I just got an alert that we're running low on space on … Continue reading Cannot shrink the log – now what
Database marked as suspect?
I just ran into a situation like this, with the CPLS where I'm teaching: "Calin, you're the guy I was expecting to call!". Riiight, all of a sudden there's big love among us, right? Nope, it was a database that was marked as suspect. For no particular reason. Okay, do you have backups? From yesterday. … Continue reading Database marked as suspect?
Execution of job LSRestore_ failed. See history for details
I've been itching all day to write about this, but I got caught in way too many other small issues, but now, that I'm home, I hope I get the chance to write about this little mishap that I got today. I was documenting an emergency role change for a secondary involved in log shipping … Continue reading Execution of job LSRestore_ failed. See history for details
Failed to load msxmlsql.dll is SQL Server 2005
Now, there are a plethora of posts about it, and two of them really stand out: http://support.microsoft.com/default.aspx?scid=kb;EN-US;941105 - an issue with Windows Server 2003 http://support.microsoft.com/kb/929668 - if SQL Server 2005 is a (direct) upgrade from SQL Server 2000 Also, you will find many blog posts suggesting to attempt a repair of the MSXM 6 (currently, … Continue reading Failed to load msxmlsql.dll is SQL Server 2005
Backup, file manipulation operations and encryption changes on a database must be serialized
I love scratching my head; that's why I became a DBA in the first place, I get the chance to scratch my head and swear a lot, without anyone complaining about it. The most recent head-scratching situation was when we checked our backup history table (we use a custom script, and no, we're not allowed … Continue reading Backup, file manipulation operations and encryption changes on a database must be serialized