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 pumice stone is set aside so another hand can use the wooden handle

A Shrink That Stops Blocking Others: SHRINKFILE WAIT_AT_LOW_PRIORITY

March 29, 2014
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Lock, SQL Server DBCC

A shrink at 4 PM on Friday can block your whole app. See what the low-priority option does, and why shrinking is still a rare tool.

Read More
A weathered thatched roof with one small fresh golden patch, a red-handled mallet beside it

Page Restore: Fixing a Few Corrupt Pages Without a Full Restore

February 11, 2014
Pinal Dave
SQL Tips and Tricks
Database Corruption, DBA, SQL Backup and Restore, SQL Server DBCC

Rehearse page restore on a test database, identify damaged page IDs, apply the backup chain, and verify storage and database consistency.

Read More
A hand tapping an old barometer on a farmhouse hallway wall, a field and changing sky through the open door.

Reading DBCC SHOW_STATISTICS Step by Step

January 3, 2014
Pinal Dave
SQL Performance
Execution Plan, SQL Server, SQL Server DBCC, SQL Statistics

Read SHOW_STATISTICS headers, density and histogram boundaries, compare estimates with your plan, and query the histogram directly.

Read More
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
Gouache painting of a row of wooden pegs with one red peg, an adjustable guide and empty holes ahead.

Reseed an Identity Column in SQL Server: SQL in Sixty Seconds #051

May 8, 2013
Pinal Dave
SQL Video
SQL Identity, SQL in Sixty Seconds, SQL Scripts, SQL Server DBCC

To reseed an identity column, run DBCC CHECKIDENT with the RESEED option. The tests here show which value comes next after existing rows, DELETE and TRUNCATE, and what happens when the new value collides with a key.

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

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