How Can I Determine Which Tables and Indexes Are Not Being Used in My Database?
Q: I have inherited a legacy applications of which I am certain there are many unneccesary tables and indexes. I am slightly paranoid about ripping them out however as I am not 100% sure that they are...
View ArticleWe are trying to implement log shipping to run hourly. If our nightly full...
Yes, this is bad because it can lead to your log shipped database getting out of sync and will probably result in Error 4305; error 4305 states that the log in a backup set is too late to apply, which...
View ArticleIs there a way to find out from system tables when the store procedure was...
Absolutely. You can use the sys.objects view to determine the create_date and modify_date for an object. The query would be: select [name],[create_date],[modify_date] from [sys].[objects] where...
View ArticleArchitecture Questions – What’s Your Opinion?
I had a great time speaking with the large communities of SQL Server users as I traveled about Europe last week and much of this week. I’m always impressed by the skill, intelligence, and creativity...
View ArticleError Message: Ad hoc update to system catalogs is not supported.
I ran into an interresting situation today while working with a customer and thought it worthwhile to blog on the subject since my internet searching proved lengthy on the subject. While trying to run...
View ArticleCan SELECT Statements Cause Blocking to Occur in SQL Server?
The following question was posed to me during a call today and its one that I’ve heard quite a bit so I figured it warranted a blog post. The answer is, absolutely! SELECT statements acquire a shared...
View ArticleMemory From Every Angle
It seems like questions always come up about how to monitor memory. But each time the question comes up, it’s slightly different. Here’s a sort of FAQ for memory questions: 1. How can I figure...
View ArticleORDER BY failings…
I had an interesting debate with a customer during a demo where I said that his assertion, “I don’t need to specify ORDER BY, I have a clustered index on that table” was problematic. You see, defining...
View ArticleIndex Fragmentation
Is index fragmentation a problem for your SQL Servers? How would you find out? Brent Ozar shows how to quickly query all of your SQL Server 2005 and 2008 instances to find out where you’ve got...
View ArticleOld Performance Tuning Recommendations Die Hard
It’s interesting to me that old and inaccurate performance tuning recommendations seem to have a life of their own. In some ways, old performance tuning recommendations are like the Undead from some...
View Article
More Pages to Explore .....