Database-Administration

Category: database-administration

Little Things That Count: Copying Names in Management Studio

Little Things That Count: Copying Names in Management Studio

on December 4, 2009

This post is about a really little detail that isn’t a big deal.

Continue reading

SQL 2008 Agent Jobs - Tokens work in PowerShell!

SQL 2008 Agent Jobs - Tokens work in PowerShell!

on December 2, 2009

I have been working away building out servers in our new prod test environment, and automating as much as possible along the way with PowerShell. I  have to say that it’s been really fun and PoSH has brought back that loving feeling that I always had for Perl.  If a programming language can be friendly, PowerShell manages it.

Continue reading

Automating SQL Local Security Policy Rights: PoSH and NTRights

Automating SQL Local Security Policy Rights: PoSH and NTRights

There are a couple of local security policy rights that are not granted by default in SQL Server setup that I’ve been setting manually for a few years now:

Continue reading

Are you Slipstreaming? The Very Best Way to Install SQL Server!

Are you Slipstreaming? The Very Best Way to Install SQL Server!

Somehow, I didn’t know about slipstreaming installations of SQL Server until last week. I heard about them at SQLPASS in Allan Hirt’s session on installing SQL Server 2008 on Windows 2008 clusters.

Continue reading

The Case of the Undroppable Database

The Case of the Undroppable Database

on September 11, 2009

Once Upon A Time there was an Orphan Database…

I needed to drop a formerly-logshipped database on our warm standby server. When attempting to drop it, I found that it failed because it was a logshipped database from a replication publisher. Hmm.

Continue reading

Using Last Backup Date to Switch Between Full and Differential Backups

Using Last Backup Date to Switch Between Full and Differential Backups

on August 18, 2009

Today I was glancing at once of my servers and noticed the backup job was running later than normal. I haven’t been working with this server for long, so I glanced to check where the backup was writing to and checked the output directory. I found that a differential backup was being written, and that the differential backup from the day before was much larger than normal.

Continue reading

Replication - Updates that Do Not Flow Through

Replication - Updates that Do Not Flow Through

on May 23, 2009

This past week at work we found an instance where a replicated table (transactional push) was out of sync on the subscriber. In evaluating how to address the situation, we did some testing in pre-production and discovered the following (using profiler).

Continue reading