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
Gouache painting of divided card storage with reserved gaps beside a channel feeding in additional cards.

Change Fill Factor in SQL Server: SQL in Sixty Seconds #069

June 18, 2014
Pinal Dave
SQL Video
SQL Data Storage, SQL in Sixty Seconds, SQL Index, SQL Scripts

To change fill factor for an index, rebuild it with a new FILLFACTOR value. The tests here measure what 100, 80 and 50 do to page count, scan reads and page splits, and when a lower value is not worth the space.

Read More
Slim bicycle beside its detached bulky canvas pannier

Vertical Partitioning: Moving Rarely Used Columns Off a Hot Table

June 2, 2014
Pinal Dave
SQL Tips and Tricks
Normalization, SQL Data Storage, SQL Performance

Moving rarely used columns to a side table can cut reads, or change nothing. Here is how to measure it and what it costs your writes.

Read More
A boot moves into a snowshoe binding while a separate pouch stays behind

Moving a Table to Another Filegroup by Rebuilding Its Clustered Index

April 21, 2014
Pinal Dave
SQL Tips and Tricks
Clustered Index, SQL Data Storage, SQL Index

One statement moves the rows, but large-object data and other indexes stay behind. A small demo shows exactly where everything ends up.

Read More
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
Previous 1 … 7 8 9 10 11 12 13 … 24 Next
  • Books
  • Testimonials
  • Privacy Policy

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