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 - 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
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
Bees crowding one narrow entrance of a wooden beehive while a second opening on the side stays almost empty.

High-Frequency Inserts Without Blocking

September 16, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Lock, SQL Server, SQL Wait Stats, Transaction Log

High-frequency inserts can stall on the log, indexes, or last-page contention; learn to diagnose the wait and choose targeted SQL Server fixes.

Read More
Two separate stone water troughs in a farmyard, one large and one small

Choosing Where to Put Data and Log Files

August 11, 2008
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server Configuration, Transaction Log

Choosing where data and log files live means checking storage behavior, capacity, install defaults, and a tested move procedure.

Read More
SQL SERVER - Solution - Log File Very Large - Log Full

SQL SERVER – Solution – Log File Very Large – Log Full

December 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, Transaction Log

Is your log file too big, or is the log full? Fix it in three steps: back up the log file, truncate it, then shrink it. I link my two detailed posts too.

Read More
Truncate Log File

SQL SERVER – Shrinking Truncate Log File – Log Full – Part 2

November 22, 2007
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Backup and Restore, SQL Server, Transaction Log

About a year ago, I wrote SQL SERVER – Shrinking Truncate Log File – Log Full. I was just going through some of the earlier posts and comments.

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

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