This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A bicycle pedal is detached beside the bicycle while its chain and other connected parts remain visible

Decommissioning a Database: A Safe Checklist Before the Drop

July 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Dependency, SQL Monitoring

Dropping an old database is a one-way door. Here is the short checklist I run first, with a demo you can paste into SSMS.

Read More
A finished stone bridge beside an old wooden bridge over a river, workers placing the last span to meet the road

Upgrading With Log Shipping for a Short Cutover

May 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Log Shipping, SQL Backup and Restore, SQL Upgrade

Upgrading with log shipping stages a newer secondary with NORECOVERY, applies logs in order, and leaves a short, rehearsed final cutover.

Read More
A moving van at the open door of a new house at dusk, one last box on the ramp

Moving a Database to New Hardware With Little Downtime

April 28, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Hardware, Log Shipping, SQL Backup and Restore, SQL Migration

Moving a database to new hardware with little downtime uses early restore, a maintained log chain, final synchronization, and a tested client switch.

Read More
A hand taps a whole watermelon at a market stall, with an unused knife on the counter

Reading a Backup File Before You Restore With RESTORE HEADERONLY

March 15, 2012
Pinal Dave
SQL Tips and Tricks
Compression, DBA, SQL Backup and Restore, SQL Server

Use RESTORE HEADERONLY to identify backup sets, source versions and finish dates before selecting a restore and checking the media.

Read More
A tray of sand raked into even lines, a small rake on one corner and a few finger marks disturbing the pattern.

Resetting a Test Database With Database Snapshots

February 12, 2012
Pinal Dave
SQL Tips and Tricks
Snapshot, SQL Backup and Restore, SQL Server, Testing

Resetting a test database with SQL Server snapshots gives a fast baseline for repeatable tests; create, revert, and manage sparse files safely.

Read More
A small model village where most houses are pale and unfinished and one finished house has a red roof and warm lit windows.

Piecemeal Restore Quiz: What Happens to Tables Not Restored Yet?

January 23, 2012
Pinal Dave
SQL Puzzle
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Server Architecture

This Piecemeal Restore Quiz asks what happens when a query reads a table whose filegroup is still offline. The answer is an error for that table only, while everything else keeps working. A tested script shows the error and then brings the last filegroup online.

Read More
A grand piano with its lid raised, showing the strings and hammers inside, one hammer painted red.

Resource Database Quiz: Where Do the System Objects Live?

January 19, 2012
Pinal Dave
SQL Puzzle
SQL Backup and Restore, SQL Server Architecture, SQL System Table, System Database

This Resource Database Quiz asks where SQL Server stores the definition of sys.objects and whether BACKUP DATABASE can protect it. The answer is the hidden Resource database. A tested script shows its version, its date and the system objects every database sees.

Read More
Previous 1 … 33 34 35 36 37 38 39 … 51 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com