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
SQL SERVER - Where is ERRORLOG? Various Ways to Find ERRORLOG Location

SQL SERVER – Where is ERRORLOG? Various Ways to Find ERRORLOG Location

March 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Scripts, SQL Server

When readers report a strange error, I first ask for the SQL Server ERRORLOG. Here are the various ways to find the ERRORLOG Location on your server.

Read More
Chain coupling joining overlapping ends before a separate unbridged gap

Building the Restore Script for the Latest Backup Chain From msdb

February 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Log, SQL Scripts

Do not type a restore sequence by hand at 2 AM. Let msdb tell you the order, and prove the script works before you need it.

Read More
Errorlog window in the registry editor.

SQL SERVER – How to Increase Number of Errorlog Files

January 14, 2015
Pinal Dave
SQL Tips and Tricks
SQL Log

An audit needed 30 days of ERRORLOG, but a nightly recycle job kept only a few files. Here is how to increase the number of errorlog files in SQL Server.

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
Gouache painting of a book lying open on a wooden desk, thin grey copy sheets beneath its blank pages and one vermilion sheet at the edge

Change Data Capture Cost: Log, Storage and Cleanup Measured

July 10, 2013
Pinal Dave
SQL Performance
SQL Log, SQL Performance, SQL Scripts

Change Data Capture cost shows up in places a quick setup never checks. On SQL Server 2025, the same update wrote three times the log with CDC on, the log waited for the capture, and the change table grew to almost four times the table. Here is every number and the script that produced it.

Read More
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
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
Previous 1 … 7 8 9 10 11 12 Next
  • Books
  • Testimonials
  • Privacy Policy

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