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

Tag Archives: Internals

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 24 of 31 Days of Disaster Recovery: Handling Corruption in a Clustered Index

January 30, 2013 11:10 pm / 9 Comments / SQLSoldier
31 Days of Disaster Recovery

Welcome to day 24 of my 31 Days of Disaster Recovery series. Previously, I’ve talked about several different forms of corruption: Nonclustered Index, Allocation Pages, and Tempdb. these were all fairly simple to fix. Today I’m going to dive into a scenario that is a little more complex, clustered indexes. Clustered indexes are the base … Read More →

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

Day 19 of 31 Days of Disaster Recovery: How Much Log Can a Backup Log

January 23, 2013 10:01 pm / 5 Comments / SQLSoldier
31 Days of Disaster Recovery

It’s day 19 of my 31 Days of Disaster Recovery series, and today I want to talk about how much log is in a backup file. A common misconception is that when you restore a backup, you get an exact copy of the database as it was when it was backed up. That’s mostly true, … Read More →

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

Day 17 of 31 Days of Disaster Recovery: When are Checksums Written to a Page

January 21, 2013 9:17 am / 2 Comments / SQLSoldier
31 Days of Disaster Recovery

Today is day 17 of 31 Days of Disaster Recovery. The series has skipped a couple of days due to real life imposing itself, but we’re getting back on track by digging into the Checksum page verification option and offering up some proof that the checksum value doesn’t get written until the page is written … Read More →

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

Day 11 of 31 Days of Disaster: Converting LSN Formats

January 12, 2013 1:08 am / 5 Comments / SQLSoldier
31 Days of Disaster Recovery

Welcome back to my series 31 Days of Disaster Recovery. Today is day 11, and today I want to talk about converting LSN formats. I had intended to write this blog post a long time ago, but I never seemed to get around to it. This started out as a question posted on Twitter’s #sqlhelp … Read More →

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

Day 10 of 31 Days of Disaster Recovery: Monitoring for Corruption Errors

January 10, 2013 7:59 pm / 7 Comments / SQLSoldier
31 Days of Disaster Recovery

It’s day 10 of my 31 Days of Disaster Recovery series, and I want to talk about monitoring for corruption errors. There are four errors related to corruption for which everyone should raise alerts and send notifications. The four alerts are 823, 824, 825, and 829. The sooner you identify and address corruption, the greater … Read More →

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

Day 9 of 31 Days of Disaster Recovery: Use All the Checksums

January 9, 2013 8:40 am / 21 Comments / SQLSoldier
31 Days of Disaster Recovery

Welcome to day 9 of my 31 Days of Disaster Recovery series. Today, I want to talk about the three ways you can use CHECKSUM to protect yourself from and identify corruption. Checksum is the default page verification option in SQL Server 2005+ and helps identify corruption to data pages. The other two uses of … Read More →

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

Day 6 of 31 Days of Disaster Recovery: Dealing With Corruption in Allocation Pages

January 6, 2013 12:08 pm / 14 Comments / SQLSoldier
31 Days of Disaster Recovery

Day 6 of 31 Days of Disaster Recovery: Dealing With Corruption in Allocation Pages Yesterday, I covered corruption in nonclustered indexes, the easiest type of corruption to handle. Today, I’m going to move on to something slightly more complex, yet still really simple to manage. Today, I’m going to talk about what to do when … Read More →

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

Day 5 of 31 Days of Disaster Recovery: Dealing With Corruption in a Nonclustered Index

January 5, 2013 7:47 pm / 11 Comments / SQLSoldier
31 Days of Disaster Recovery

Welcome to day 5 of my series on disaster recovery. I want to start digging into some corruption scenarios. We’ll start off with the easiest form of corruption to fix, a nonclustered index. The generic steps we will go through for any corruption scenario are as follows: Identify the corruption (DBCC CheckDB) Identify the objects … Read More →

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

Day 2 of 31 Days of Disaster Recovery: Protection From Restoring a Backup of a Contained Database

January 2, 2013 4:48 pm / 14 Comments / SQLSoldier
31 Days of Disaster Recovery

Day 2 of 31 Days of Disaster Recovery: Protection From Restoring a Backup of a Contained Database Welcome to day 2 of my month-long series on Disaster Recovery. For today’s post, I want to talk a little bit about restoring backups of contained databases. In particular, what protections are in place in case you are … Read More →

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

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