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 archaeological dig divided by strings into square cells, a trowel working in one small cell with a red shard.

Spatial Indexes: Speeding Up Distance Searches

August 24, 2010
Pinal Dave
SQL Performance
Execution Plan, Spatial Database, SQL Index, SQL Server

Use spatial indexes for geography distance searches, compare actual plans and reads, and inspect tessellation with built-in diagnostics.

Read More
SQL SERVER - Computed Columns - Index and Performance

SQL SERVER – Computed Columns – Index and Performance

August 22, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

The last article in my series on computed columns looks at index and performance, with a summary of every earlier part on storage and PERSISTED columns.

Read More
A walker on a hillside at dusk looking over scattered village lights, the nearest one glowing red below the path.

Finding the Nearest Store With the geography Type

August 17, 2010
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Index, SQL Server

Find the nearest store with SQL Server geography, validate coordinate order, apply a distance radius, and inspect spatial index use.

Read More
Execution plan with and without index.

SQL SERVER – Computed Column and Performance – Part 3

August 13, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Part 3 of my series on computed column and performance shows how an index improves the performance of a computed column. Read the earlier parts first.

Read More
A loose heap of raked autumn leaves spilling beside an empty slatted leaf bin, a red rake against the wall.

Heap Tables: When a Table Without a Clustered Index Hurts

August 5, 2010
Pinal Dave
SQL Performance
Clustered Index, SQL Heap, SQL Index, SQL Server

Find heap tables, inspect forwarded records and empty-page behavior, and choose between a clustered index and a planned rebuild.

Read More
Rich still life of an open blank folio with a red bookmark and four closed slate and sage books.

Keyset Paging: Continue After a Date and ID Cursor

July 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Index, SQL Performance, SQL Server

Keyset paging continues after a saved ordering key instead of counting past an offset. A date and unique ID together keep equal-date rows in the sequence. A guarded disposable fixture makes the boundary conditions explicit.

Read More
Clustered Index B-Tree

SQL SERVER – Index Levels, Page Count, Record Count and DMV – sys.dm_db_index_physical_stats

July 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Index, SQL Scripts

How many pages does an index use, and how many B-Tree levels does it have? sys.dm_db_index_physical_stats shows index levels, page count and record count.

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

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