database

Tag: database

How to Recover the Master Database in SQL Server 2012

In my seven years as a production DBA, I can count on one hand the number of times I have need to restore the master database as a result of…

Connect to Windows Azure Virtual Machine Using SSMS

In 2013, Microsoft made it available for customers to utilize virtual machines running in Windows Azure. This allowed customers to run an on-premises version of SQL Server, but have the…

Changing Default Database File Locations in SQL Server

When you create a database in SQL Server and do not specify a file location for your data and log files, SQL Server will rely on the default locations as…

5 Things You Didn’t Know About SQL Agent

Microsoft SQL Server comes with a boatload of additional components. One component is the SQL Agent. The purpose of the SQL Agent is to serve as a job scheduler. Many…

What Happens if I Shrink a Database in Windows Azure?

At some point in your career as a data professional, you are going to fill up an entire drive with data. It is not a question of “if,” but a…

Improve SQL Server Performance by Looking at Plan Cache (Part 3)

You can use the information in the SQL Server plan cache to research performance issues and investigate opportunities for performance improvement. In this three-part article series, we’ve examined several important…

Improve SQL Server Performance by Looking at Plan Cache (Part 2)

The SQL Server plan cache can be a good tool to use in identifying current performance issues and in looking for new ways to improve performance. In this second part…

Improve SQL Server Performance by Looking at Plan Cache (Part 1)

The SQL Server plan cache stores details on statements that are executed over time. Each time a statement executes, SQL Server will look inside the plan cache first to see…

SQL Server Consolidation, Part 3

I wrote a couple of posts previously on SQL Server consolidation. The first post tried to give insight on some of the problems and associated motivating factors that most companies have…

SQL Server Consolidation, Part 2

Consider for a moment that you have a deck attached to your house. It is one story above ground level and is growing weaker with each passing year. The former…