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
An overfilled teacup with tea spilled into its saucer and a red spoon.

Row Overflow Data: Finding Rows That Spill Past 8,060 Bytes

June 29, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Datatype, SQL Server

Find row overflow data pages in wide SQL Server tables, identify large VARCHAR values and rows, and measure their extra read cost.

Read More
A duvet shrinking flat inside a vacuum storage bag

Reducing the Size of a Reporting Database

April 28, 2013
Pinal Dave
SQL Tips and Tricks
Compression, Data Warehousing, DBA, Shrinking Database, SQL Data Storage

Reducing the size of a reporting database starts with compression, archiving, and index review; shrinking files comes last.

Read More
A kitchen cupboard crammed with unmatched container lids, a red one at the front.

Finding Orphaned Data and Log Files Nobody Attached

February 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server

Inventory orphaned data and log files by comparing data-folder contents with sys.master_files, then review candidates before cleanup.

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
Gouache painting of three containers on a long table: a spice rack of identical plain jars in perfect rows with one vermilion lid, a tackle box with mixed compartments, and a loose heap of shells, stones and dried leaves.

Structured, Semi-Structured and Unstructured Data Explained

October 26, 2012
Pinal Dave
SQL Tips and Tricks
Database, JSON, SQL Data Storage, SQL Datatype

Structured, Semi-Structured and Unstructured Data differ in where the schema lives and how you query them. This post compares the three shapes and runs one query across a table, a json column and free text in SQL Server 2025.

Read More
An aquarium built into a wall between two rooms, the same fish seen from both sides as a hand feeds them.

FileTable: Files You Can Open in Explorer and Query in T-SQL

October 19, 2012
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Backup and Restore, SQL Data Storage, SQL Server

Set up FileTable prerequisites, create a Windows-accessible file namespace, query stored file metadata, and compare simpler path storage.

Read More
A nutcracker rests beside one walnut kernel and a much larger collection of its cracked shell pieces

Checking XML Index Size Against the Table It Belongs To

August 10, 2012
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Index, SQL XML

An XML index can outweigh the table it serves. Here is how I measure each XML structure next to the base table, and what to test before dropping one.

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

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