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
Gouache painting of a coiled iron chain on an old stone quay beside an empty mooring ring, its first link painted vermilion

Error 4214: BACKUP LOG Needs a Full Backup First

March 27, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

Error 4214 stops a log backup because SQL Server has no full backup to build on. It shows up after a switch from Simple to Full recovery, or on a database that never had a full backup. Take one full backup, and the log backup works.

Read More
Illustrated cover: TRUNCATE Can Roll Back

SQL SERVER – Rollback TRUNCATE Command in Transaction

March 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Transaction Log

Many believe TRUNCATE cannot be rolled back. It can. Here is a Rollback TRUNCATE command example inside a transaction, and why TRUNCATE is logged.

Read More
A dump truck tipping a whole load of gravel onto a driveway at once

Minimal Logging for Bulk Loads

February 17, 2010
Pinal Dave
SQL Tips and Tricks
CSV, SQL Backup and Restore, SQL Log, SQL Server, Transaction Log

Minimal logging for Bulk Loads depends on recovery model, table shape, and locking; learn the prerequisites, tradeoffs, and how to verify a load.

Read More
SQL SERVER - Find the Size of Database File - Find the Size of Log File

SQL SERVER – Find the Size of Database File – Find the Size of Log File

February 8, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table, Transaction Log

A quick script on sys.master_files to find the size of database file and log file in MB. Remove the WHERE clause to see every database on the server.

Read More
Pebbles moving through a capture channel in a coastal workshop.

CDC Capture Lag: Read sys.dm_cdc_log_scan_sessions

February 6, 2010
Pinal Dave
SQL Tips and Tricks
Change Data Capture, SQL Monitoring, SQL Server, Transaction Log

CDC capture lag measures work committed at the source that the capture process has not yet exposed. Compare known markers, scan sessions and captured LSNs, and distinguish capture progress from a downstream consumer reading the changes.

Read More
A driver seen from behind in a car built for the other side of the road, reaching for a gear lever in the wrong place

SQL Server for Oracle DBAs: The Vocabulary

November 21, 2009
Pinal Dave
SQL Tips and Tricks
DBA, Oracle, SQL Server Architecture, Transaction Log

SQL Server for Oracle DBAs translates instance, database, schema, tablespace, undo, and redo without pretending the two architectures are identical.

Read More
A half-full compost bin with a red-handled fork, compost spread on the bed

CDC Cleanup and Capture Jobs: Keeping the Log and Change Tables Small

October 29, 2009
Pinal Dave
SQL Tips and Tricks
Change Data Capture, DBA, SQL Server Agent, Transaction Log

Keep CDC cleanup and capture jobs healthy by checking log reuse, job settings, retention, polling, and a stopped-job alert.

Read More
Previous 1 … 10 11 12 13 14 15 Next
  • Books
  • Testimonials
  • Privacy Policy

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