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 kitchen drawer crammed with rolled canvases so full it cannot close

Storing Images in varbinary(max): Size, Reads and Backups

March 3, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Datatype, SQL Server

Store images in varbinary(max), read file bytes with OPENROWSET, inspect LOB allocation, and evaluate backup and retrieval costs.

Read More
A compact strap roll beside the same strap extended across the floor

Storing Hash Values: binary(32) or a 64-Character Hex String

February 12, 2014
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Data Storage, SQL Datatype

A hex string is just a printed hash, and it costs twice the space. Here is the round trip, the index sizes and the traps.

Read More
Backup settings for database restore.

SQL SERVER – FIX : Error 3154: The backup set holds a backup of a database other than the existing database – SSMS

November 23, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Scripts

Error 3154 says the backup set holds a backup of a different database. Here is how to fix it in SSMS, plus the T-SQL RESTORE WITH REPLACE option.

Read More
A heavily loaded canvas log sling beside a small bundle of kindling

SELECT * Cost: Why Wide Result Sets Slow Exports

November 20, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Index, SQL Performance

The query starts fast but the export crawls. A small demo shows how much a wide text column adds, and what to measure on your own server.

Read More
Allotment beds seen from above, one pumpkin vine with red pumpkins spreading across into the next bed

Measuring Space Used by Tables per Filegroup in T-SQL

October 31, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Data Storage, SQL Server, SQL System Table, Table Partitioning

Measure tables per filegroup from allocation metadata, include LOB and overflow pages, and separate partition placement from growth history.

Read More
Gouache painting split in two: on the left a calm mountain lake with leaves, branches and a small boat floating on its surface; on the right a tidy warehouse shelf of identical plain boxes in straight rows, one box vermilion.

Data Lake vs Data Warehouse: What Each One Is For

October 1, 2013
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Database, ETL, SQL Data Storage

Data Lake vs Data Warehouse is a choice between raw files and cleaned, modeled tables. This post compares schema on read with schema on write, who uses each, and why many teams combine them in a lakehouse.

Read More
A glass display case in a quiet gallery holding three old ceramic jars on a red base.

Read-Only Filegroups: Locking Away Old Data

August 30, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Backup and Restore, SQL Data Storage, SQL Scripts

Read-only filegroups let you lock old data so nothing can change it by accident. This post moves old rows to their own filegroup, makes it read-only, shows what still works and what fails, and explains how partial backups skip the locked data.

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

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