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 loom with new cloth beside a shelf of finished rolls, the newest tied with red.

Recycling the Error Log on a Schedule and Keeping Enough History

November 10, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, SQL Server Agent, SQL Server Configuration

Keep SQL Server logs readable by recycling the error log weekly, retaining enough archives, setting a size cap, and checking history.

Read More
Gouache painting of a long cafe table of mismatched mugs and a red teapot by a rainy window with pine trees

Find SQL Server Agent Job Failures Before Users Do

November 4, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Scripts, SQL Server Agent

Agent job failures hide in msdb until someone reads the history. This post builds three demo jobs, then finds the failed step and its message, the job that runs too long, the job that never starts, and the jobs that notify nobody.

Read More
An empty jaw harp frame beside its removed tongue and a complete instrument

Backing Up msdb: Jobs, History and Mail Live There

October 15, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, SQL Server Agent

Your user databases come back, but the jobs and mail setup do not. A short demo of what lives in msdb and how to protect it.

Read More
A wooden drilling jig clamped to a workbench guiding a drill, three finished boards with identical holes stacked beside it.

Designing a Simple ETL Framework

April 30, 2012
Pinal Dave
SQL Tips and Tricks
ETL, SQL Log, SQL Server, SQL Server Agent, SQL Stored Procedure

An ETL framework in SQL Server needs a small set of configuration, run logs, restart checkpoints, and alerts that operators can trust.

Read More
A worker seen from behind lays tools beside a closed stretch of railway while a distant train waits at a signal.

Scheduling Patch Windows Without Surprises

October 15, 2011
Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, SQL Patch, SQL Server, SQL Server Agent

Scheduling Patch Windows requires realistic restart time, failover steps, job coordination, backup checks, and clear stop rules.

Read More
A line of stone cairns crossing a misty moor, the nearest one half built with loose stones beside it.

Logging ETL Runs in a Table

September 22, 2011
Pinal Dave
SQL Tips and Tricks
ETL, SQL Log, SQL Server, SQL Server Agent

Logging ETL runs in SQL Server gives each step start and end times, row counts, and errors so the next morning’s investigation has facts.

Read More
A wooden abacus on a market stall counter, a hand sliding one red bead across for the day's final sale.

Summary Tables: Keeping Pre-Aggregated Totals Current

June 24, 2011
Pinal Dave
SQL Tips and Tricks
Data Warehousing, SQL Server, SQL Server Agent, SQL Trigger, SQL View

Keep summary tables current with changed-day rebuilds, handle late arrivals and deletes, and reconcile stored totals against detail.

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

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