• SQL Server
  • Log Shipping Tricks Demo
  • SQLCruise Alaska 2012 Pics
SQLSoldier News From the Frontlines

Bug: sys.dm_db_session_space_usage Reporting Extremely High Tempdb Allocations

May 21, 2013 8:00 am / Leave a Comment / SQLSoldier
buggy100

A little more than a year ago while working at Idera, I was consulted on reports from a few clients using the Idera monitoring tool SQL diagnostic manager (SQLdm). SQLdm was reporting very high numbers for internal object allocations (internal_objects_alloc_page_count) and very low numbers for internal object deallocations (internal_objects_dealloc_page_count) to the point that SQLdm showed … Read More →

Posted in: SQL Server / Tagged: Dynamic Management Views, Internals, Performance & Optimization, T-SQL, tempDB, Troubleshooting

T-SQL Tuesday #41 – Presenting Comes Full Circle and I Love It!

April 9, 2013 12:35 pm / 2 Comments / SQLSoldier
T-SQL Tuesday logo

It’s time for that monthly geek party again we like to call T-SQL Tuesday. T-SQL Tuesday is one of the greatest assemblage of geeks since the Tri-Lambda and Alpha-Mu mixer … this week. T-SQL Tuesday #41, hosted this month by Bob Pusateri (Blog|@SQLBob). You are invited to visit his blog to join the blog party. … Read More →

Posted in: SQL Server / Tagged: SQL PASS, SQL PASS Summit, SQL Saturday, T-SQL Tuesday

Network Packet Size: to Fiddle With or Not to Fiddle With

March 27, 2013 4:39 pm / 12 Comments / SQLSoldier
The Alaska oil pipeline reflected in a beautiful lake at sunset

A network pipeline isn’t nearly as pleasant to look at as the oil pipeline (or anything) in Alaska, but it’s something that DBAs should be aware of. There is a server configuration in SQL Server that controls the size of packet in which SQL Server sends out data. This setting is called network packet size … Read More →

Posted in: SQL Server / Tagged: Best Practices, Performance & Optimization, PowerShell

Day 31 of 31 Days of Disaster Recovery: Backup and Restore of the Resource Database

March 24, 2013 5:23 pm / 5 Comments / SQLSoldier
31 Days of Disaster Recovery

It has been a long journey to the final day my 31 Days of Disaster Recovery series, but we have finally reached the final post, day 31. My final topic for the series is born out of a conversation I had today with my good friend and fellow DBA, Ed Watson (blog|@SQLGator). today, I want … Read More →

Posted in: SQL Server / Tagged: 31 Days of Disaster Recovery, Automation, Disaster Recovery, PowerShell

Day 30 of 31 Days of Disaster Recovery (T-SQL Tuesday #40): Using Partial Availability and Initialize from Backup to Replicate a Partial Database

March 11, 2013 11:18 pm / 2 Comments / SQLSoldier

It’s been a tough and long road to 31 Days of Disaster Recovery. It’s been very difficult coming up with quality topic ideas for the series as we near the end. For day 30 of the series, I am combining a post on performing piecemeal restores with a post on filegroups for T-SQL Tuesday #40 … Read More →

Posted in: SQL Server / Tagged: 31 Days of Disaster Recovery, Disaster Recovery, Replication, T-SQL, T-SQL Tuesday, Undocumented Stuff

The Saddest Thing I Ever Heard a Manager Say

March 1, 2013 1:43 pm / 18 Comments / SQLSoldier
Indifference

I am currently going through the process of looking for a new opportunity for my career. I’m going through the rigamarole of doing interviews and talking numbers with recruiters, etc. I’m even considering a position at Microsoft whome I left last year after spending 5 years there. All of these activities have me thinking back … Read More →

Posted in: SQL Server / Tagged: Professional Development

Day 29 of 31 Days of Disaster Recovery: Using Database Snapshots to Restore Replicated Databases in Test

February 24, 2013 8:29 pm / 1 Comment / SQLSoldier
31 Days of Disaster Recovery

For day 29 of my 31 Days of Disaster Recover series, I want to talk about restoring replicated databases from database snapshots. Someone asked me recently if I had any recommendations for speeding up their unit testing on replicated databases. He has to run unit tests over and over on replicated databases to ensure that … Read More →

Posted in: SQL Server / Tagged: 31 Days of Disaster Recovery, Disaster Recovery, Replication

SQL Saturday #198, Vancouver, BC Session Files

February 18, 2013 9:50 pm / Leave a Comment / SQLSoldier
SQL Saturday

This past weekend was SQL Saturday #198 in Vancouver, B.C. It started off with a leisurely drive up to Vancouver on Friday and getting settled in to my hotel room. I was in the first slot of the day, and had a decent turnout despite the early hours. Whenever I have the first or last … Read More →

Posted in: SQL Server / Tagged: Dynamic Management Views, Internals, Security, SQL PASS, SQL Saturday

Day 28 of 31 Days of Disaster Recovery: Recovering SQL if the Tempdb Drive Dies

February 13, 2013 8:44 pm / 4 Comments / SQLSoldier
31 Days of Disaster Recovery

Welcome to day 28 of my series 31 Days of Disaster Recovery. Today I want to talk about recovering SQL Server if your tempdb drive suddenly dies. SQL Server won’t start if it can’t start up tempdb, so it poses a challenge if you can’t get the drive up and running again. If you missed … Read More →

Posted in: SQL Server / Tagged: 31 Days of Disaster Recovery, Disaster Recovery

Day 27 of 31 Days of Disaster Recovery: Restoring Part of a Database

February 11, 2013 11:28 pm / Leave a Comment / SQLSoldier
31 Days of Disaster Recovery

Today is day 27 of my series 31 Days of Disaster Recovery, and I want to talk about restoring a partial database to a server. If you have a very large database with many filegroups, and you need to restore just part of the database, then you can perform a partial restore (Enterprise Edition required) … Read More →

Posted in: SQL Server / Tagged: 31 Days of Disaster Recovery, Disaster Recovery

Post Navigation

← Older Posts
 
<

Remote DBA Services
- serious SQL Server expertise for less than a full-time DBA
My Articles
 
My Book
Check out my interview on

Extreme Data Recovery (with Argenis Fernandez)
10 Things all BI System Administrators Should Know
Upcoming Events
    All events shown in Pacific Time

    No events to show

RSS My SQL Server Magazine Articles

  • Database Mirroring for Disaster Recovery September 16, 2011
  • Comparative Review: Database Schema Comparison Tools August 24, 2011
  • 3 Log Shipping Techniques June 22, 2011
  • Hardening SQL Server June 20, 2011
  • Review: ScriptLogic Security Explorer for SQL Server February 8, 2011

Tags

31 Days of Disaster Recovery Architecture Automation CDC & Change Tracking Data Architecture VC Database Mirroring DBCC Denali Disaster Recovery Dynamic Management Views Extended Events Gamers & Geeks General Discussion High Availability How do I ... ? Humor Idera ACE Program Internals MCM Meme Monday Performance & Optimization PowerShell Professional Development Replication Security SQLBits SQL PASS SQL PASS Summit SQLRally SQL Saturday SQL Server Magazine SQL University SSAS & BI SSIS SSMS SSRS T-SQL T-SQL Tuesday tempDB Tips & Tricks Travel Troubleshooting Undocumented Stuff Whitepapers XML in SQL

News

Download my Powershell Scripts

The following scripts can be downloaded as text files. You will need to change the file extension to .ps1 in order to execute them.

Backup a database
Restore a database
Scan a server to find a free port
Query DNS to get the FQDN of a server


To see some examples of my other forms of writing, please visit my page on WritersCafe.org. It is almost exclusively horror fiction, but I sometimes throw other things in there too from time to time. There's one science fiction story, a couple of poems, and quite a few humor pieces as well.


Look for me in the SQL Q&A section of the August, 2007 issue of TechNet Magazine.
August issue of TechNet Magazine's SQL Q&A column

Protect our Heroes

© Copyright 2012 - Robert L Davis
Infinity Theme by DesignCoral / WordPress

Twitter Twitter 
LinkedIn LinkedIn 
TLF TLF RSS RSS 
WritersCafe WritersCafe 
SQLPASS SQLPASS 
Facebook Facebook
grab this