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
SQL SERVER - What is Fill Factor and What is the Best Value for Fill Factor

SQL SERVER – What is Fill Factor and What is the Best Value for Fill Factor

January 31, 2011
Pinal Dave
SQL Performance
SQL Index

What is fill factor and what is the best value for fill factor? I explain how it controls the space used on leaf-level pages and why the default is 100.

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
SQL SERVER - A Funny Cartoon on Index

Index Write Cost: What Each New Index Adds to an INSERT

January 17, 2011
Pinal Dave
SQL Performance
SQL Index, SQL Performance, Transaction Log

Index write cost is the part of the create-an-index advice that the cartoon leaves out. This test inserts the same 20,000 rows with no extra index, one and three, and measures the log written each time. It also shows what the index saved on a lookup, so you can weigh both sides.

Read More
A long wooden seed drawer with equal compartments, two hands lifting one out whole while an empty one waits at the end.

Partitioning a Large Fact Table

January 15, 2011
Pinal Dave
SQL Tips and Tricks
Data Warehousing, SQL Index, SQL Server, Table Partitioning

Partitioning a large fact table can simplify loading and retention when boundaries, aligned indexes, and switch rules are designed together.

Read More
Gouache painting of a row of worn garden tools with one spotless untouched red trowel in the middle

Unused Index Script: Find Indexes That Only Cost You Writes

January 4, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts

This Unused Index Script lists nonclustered indexes that SQL Server keeps writing to and no query ever reads. It starts from the index list so untouched indexes are not missed, skips the risky ones, and writes the disable and recreate statements. A garden center orders table shows one update dropping from 5,011 pages to 6 once an unused index is disabled.

Read More
Gouache painting of a workshop pegboard of tool outlines with one empty outline and a red hammer on the floor

Missing Index Script: Read the Suggestions Before You Create

January 3, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Scripts

This Missing Index Script ranks the indexes SQL Server wishes it had by a plain score and builds a CREATE INDEX statement for each. Read the key order, the INCLUDE list and the overlap before you create one. A garden center orders table shows the logical reads drop from 3,138 pages to 3.

Read More
SQL SERVER - Index Created on View not Used Often - Limitation of the View 12

SQL SERVER – Index Created on View not Used Often – Limitation of the View 12

December 18, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server, SQL Training, SQL View

At my Hyderabad seminar someone asked: will an Index Created on a view be used when you query the view? Not always. Limitation 12 of views explained.

Read More
Previous 1 … 38 39 40 41 42 43 44 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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