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 small reservoir fed three ways: a steady stream from a hillside, a slow pipe on the left, and a wooden cart of barrels with vermilion wheels waiting at the edge.

Data Ingestion: Batch Loads, Change Data Capture and Streams

October 23, 2013
Pinal Dave
SQL Tips and Tricks
Batch, Change Data Capture, Data Warehousing, ETL, Transaction Log

Data Ingestion is how data moves from the systems that create it into the platform that analyzes it. This post compares batch loads, change data capture and event streams, and shows the captured rows from a small SQL Server table.

Read More
A tall wooden cabinet of small drawers with a paper strip running out of it, a small lamp with a red base glowing beside it.

Data Files and Log Files: What Each One Does in SQL Server

August 14, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Log, Transaction Log

Data Files and Log Files are the two kinds of file every SQL Server database needs. This post explains what lives in each, why the log is written first, and how to list both with a query on sys.database_files.

Read More
A brass bell ringing above a shop door as it opens, a tally counter beside it

Change Data Capture or Change Tracking

July 18, 2013
Pinal Dave
SQL Tips and Tricks
Change Data Capture, ETL, SQL Server, SQL Server Agent, Transaction Log

Change data capture or change tracking serves different sync needs; compare captured detail, retention, cleanup, and operating cost before choosing.

Read More
Stepping stones crossing a stream, one missing near the far bank leaving a gap too wide to step across.

Backup Retention: How Long to Keep What

May 6, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Backup and Restore, Transaction Log

Backup retention should preserve restore chains while meeting recovery, legal, and storage needs across full, differential, and log backups.

Read More
Chart of three SQL Server backup plans side by side: Full, Full plus Differential, and Full plus Differential plus Transaction Log, with the pros, cons and recovery model of each

Optimal Backup Methods: Full, Differential and Log Plans Compared

December 18, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, Transaction Log

How to pick the optimal backup methods for your server: choose a recovery model first, then compare Full, Differential and Transaction Log backup plans. The chart lists the pros and cons of each.

Read More
Gouache painting: a round wooden storehouse lined with a ring of grain bins, every bin empty and swept ready to refill except one whose small door is held shut by a vermilion latch

log_reuse_wait_desc: Why the Transaction Log Will Not Shrink

December 7, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server DBCC, SQL Transactions, Transaction Log

log_reuse_wait_desc tells you why SQL Server cannot reuse its transaction log, so you know why a shrink gives nothing back. This post causes LOG_BACKUP and ACTIVE_TRANSACTION on purpose in a test database on SQL Server 2025, measures the log and fixes each one.

Read More
SQL SERVER - Move Database Files MDF and LDF to Another Location

SQL SERVER – Move Database Files MDF and LDF to Another Location

October 28, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server, Transaction Log

Your new database sits in the default location and keeps growing. Here is how to move the MDF and LDF database files to another disk or drive.

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

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