What is an index – a theory (part 1/4 – dense and sparse indexes)
Since I had written a few posts about indexes before, I thought it would be good to shed some light on theory behind indexes in SQL Server. It would be divided into four parts: Dense and sparse indexes...
View Article[Story] Awful scripting
It happened to me few years ago, while I still was more developer than a DBA. I needed to create a database in development environment with identical structure to the one in production. Easy thing, you...
View ArticleHow to find potential missing indexes in a database
In previous posts (here and here), I described the methods I use to monitor and maintain indexes. This is a next chapter – let’s try to find candidates for new indexes or hints for extending existing...
View ArticleSome common problems with users and logins and their solution
After few posts devoted to indexes it’s time to look at something else. Let’s see some common problems with users and logins, and methods of overcoming them. These are the basic and most frequently...
View ArticleEnumerating SQL Server instances in a network with Power Shell
Ever wondered how many SQL Server instances are there in your network? Or maybe you wanted to check a settings or run a script on all of them? Of course you can use Registered Servers functionality and...
View ArticleIndex maintenance revisited
It’s almost a month since my post on index maintenance based on fragmentation, in which I attempted to show what can be done using simple script and some DMVs. There was some discussion on LinkedIn...
View ArticleWhat is an index – a theory (part 1/4 – dense and sparse indexes)
Since I had written a few posts about indexes before, I thought it would be good to shed some light on theory behind indexes in SQL Server. It would be divided into four parts: Dense and sparse indexes...
View Article[Story] Awful scripting
It happened to me few years ago, while I still was more developer than a DBA. I needed to create a database in development environment with identical structure to the one in production. Easy thing, you...
View Article