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

Tag Archives: Troubleshooting

Troubleshooting

Looking for Buried Treasure in the Transaction Log

May 27, 2013 9:22 am / 7 Comments / SQLSoldier
SQL Server Gold

Lately, I’ve been finding more and more reasons to look in the transaction log for investigative purposes. Questions come up quite regularly asking how to determine who performed some action such as deleting data, changing logins, or disabling jobs. The first reaction may be that if you aren’t auditing for the specific action, you’re out … Read More →

Posted in: SQL Server / Tagged: Internals, T-SQL, Tips & Tricks, Troubleshooting

Bug: sys.dm_db_session_space_usage Reporting Extremely High Tempdb Allocations

May 21, 2013 8:00 am / 3 Comments / 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

Tempdb Contention That Can’t be Soothed

December 21, 2012 3:42 pm / 3 Comments / SQLSoldier
Tempdb Contention via Idera Diagnostic Manager

Tempdb Contention That Can’t be Soothed By Adding Files I’ve talked a lot in the past about tempdb contention and how to monitor for and identify it in blog posts, a whitepaper, webcasts, and live presentations. Okay, so I tend to get a little preachy about certain things and configuring tempdb to prevent tempdb contention … Read More →

Posted in: SQL Server / Tagged: Internals, tempDB, Troubleshooting

Troubleshooting Database Mirroring Error 1418 Updated

June 28, 2012 1:28 pm / Leave a Comment / SQLSoldier

Troubleshooting Database Mirroring Error 1418 Updated Last night I was helping someone with a database mirroring setup problem via email. It has been a long time since I came across a new cause for the infamous 1418 error for database mirroring. This time the error was accompanied by an error in the SQL Log on … Read More →

Posted in: SQL Server / Tagged: Database Mirroring, High Availability, Security, Troubleshooting

Whitepaper: Demystify Tempdb Performance & Management

March 20, 2012 8:14 pm / 1 Comment / SQLSoldier

Whitepaper: Demystify Tempdb Performance & Management There are many misconceptions and myths about tempdb and purported best practices are inconsistent at best. It’s hard to know which advice to follow when one resource says to always do it one way and another tells you to always do it the opposite way. Many times, both resources … Read More →

Posted in: SQL Server / Tagged: Performance & Optimization, tempDB, Troubleshooting, Whitepapers

Why We Follow Best Practices

February 26, 2012 10:55 am / 2 Comments / SQLSoldier

Why We Follow Best Practices There are many reasons why we follow best practices. My own reasons have changed over the course of my career. Early in my career as a database developer and then later as a new DBA, I followed best practices because people who claimed to know more about SQL Server said … Read More →

Posted in: SQL Server / Tagged: Internals, MCM, SQLRally, Tips & Tricks, Troubleshooting

Breaking Down TempDB Contention (part 2)

January 30, 2012 3:06 pm / 5 Comments / SQLSoldier

Breaking Down TempDB Contention (part 2) I wrote a somewhat popular script and blog post a while back called Breaking Down TempDB Contention. This post explains how to identify tempdb contention. This past Friday, Jonathan Kehayias (blog|@SQLPoolboy) contacted me about the script. Jonathan said that he thought the math was off just a little bit … Read More →

Posted in: SQL Server / Tagged: Performance & Optimization, T-SQL, tempDB, Troubleshooting

SQL PASS Summit 2011: Session Files

October 17, 2011 7:06 am / Leave a Comment / SQLSoldier

SQL PASS Summit 2011: Session Files This past week was the SQL PASS Summit 2011 in Seattle, WA. I presented three sessions (regular session, lightning talk, panel discussion) plus ran a focus group on advanced certification and hosted a Birds of a Feather lunch table on disaster recovery. It was a busy, busy week. Below … Read More →

Posted in: SQL Server / Tagged: Disaster Recovery, Dynamic Management Views, Replication, SQL PASS, SQL PASS Summit, SSAS & BI, Tips & Tricks, Troubleshooting, Undocumented Stuff

The Barking Dog Analogy

September 20, 2011 4:31 pm / 1 Comment / SQLSoldier

The Barking Dog Analogy A discussion started today on Twitter about CXPacket waits. There had been a heated debate on the subject on Twitter the previous night (wow, does that sound geeky), so many of us got looped into today’s discussion. Someone had experienced a problem with a delete query on a large table causing … Read More →

Posted in: SQL Server / Tagged: Internals, Performance & Optimization, Tips & Tricks, Troubleshooting

T-SQL Tuesday #21 – Bringing Ugly Back

August 10, 2011 11:57 am / Leave a Comment / SQLSoldier

T-SQL Tuesday #21 – Bringing Ugly Back This blog entry is participating in T-SQL Tuesday #21, hosted this month by Adam Machanic (Blog|@AdamMachanic). You are invited to visit his blog to join the blog party. You are welcome to write your own participating blog post for the party or just to read more blogs participating … Read More →

Posted in: SQL Server / Tagged: Database Mirroring, T-SQL, T-SQL Tuesday, Troubleshooting

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