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 line of ants carrying crumbs along a wooden table to one corner, past a red napkin ring.

Why DBCC SHRINKFILE Crawls and How to Watch Its Progress

July 27, 2013
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Data Storage, SQL Server, SQL Server DBCC

Explain why DBCC SHRINKFILE can take hours, monitor percent_complete and waits, and use TRUNCATEONLY before small steps.

Read More
An ice cube tray with some cells full, some half full and some empty, a red cube beside it

Why Table Size Numbers Disagree: Reserved, Used and Unused Space

January 19, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Server, SQL Server DBCC

Reconcile table size reports by reading reserved, used, data, index, and unused pages from sys.dm_db_partition_stats on SQL Server.

Read More
An open dishwasher of clean plates while a hand scrubs a red roasting pan

Maintaining SharePoint Content Databases: What the DBA Still Owns

January 10, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SharePoint, SQL Backup and Restore, SQL Server DBCC

Review SharePoint content databases for CHECKDB, backup history, log growth, recovery model, and a tested site-collection restore.

Read More
Four dishes waiting in line for one oven, a red casserole first

Ordering a Maintenance Window: Backups, CHECKDB and Index Work

November 6, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Maintenance Plan, SQL Backup and Restore, SQL Index, SQL Server DBCC

Order a maintenance window by listing Agent schedules, separating CHECKDB, backups, index work, and statistics, then tracking growth.

Read More
Pebbles sorted into heaps by size along a driftwood plank on a beach, one heap much taller than the others.

Statistics Histograms Explained

March 22, 2011
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server DBCC, SQL Statistics

Statistics histograms explained through steps, RANGE_ROWS, EQ_ROWS, and DBCC SHOW_STATISTICS help connect data shape to plan estimates.

Read More
SQL SERVER - Shrinking Database is Bad - Increases Fragmentation - Reduces Performance

SQL SERVER – Shrinking Database is Bad – Increases Fragmentation – Reduces Performance

January 19, 2011
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Server DBCC

Shrinking database is bad: it increases fragmentation and reduces performance. Here is a simple example with two tables that shows it step by step.

Read More
Shrinking Database

SQL SERVER – Shrinking Database NDF and MDF Files

June 15, 2010
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Server, SQL Server DBCC

Previously, I had written a blog post about SQL SERVER. I am posting this blog post here about Shrinking Database.

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

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