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
Two separate library shelving units with a narrow aisle between them, one holding bound books and the other holding only card index drawers.

SQL SERVER – Clustered Index on Separate Drive From Table Location

June 18, 2009
Pinal Dave
SQL Performance
Best Practices, SQL Constraint and Keys, SQL Index, SQL Server

A Jr. developer asked if a clustered index can live on a separate Drive from its table. The answer is no, and the clustered vs non clustered difference shows why.

Read More
Distinct fitting drawers stand beside a mixed basket, separating organization from how pieces are retrieved.

SQL SERVER – Effect of Normalization on Index and Performance

June 13, 2009
Pinal Dave
SQL Tips and Tricks
Normalization, SQL Index, SQL Server

Normalization organizes data dependencies, while indexes support access paths. I evaluate their performance effects through the actual workload.

Read More
SQL server filegroups query.

SQL SERVER – List All Objects Created on All Filegroups in Database

June 1, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL System Table

A reader asked which object belongs to which filegroup. Here is how to list all objects created on all filegroups in a database, with a sample database.

Read More
Oak casks in a long cellar row ordered from dark old wood to pale new, a hand resting on one in the middle.

Ordered Columnstore Indexes in SQL Server 2022

May 8, 2009
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Server, SQL Server 2022

Build an ordered columnstore index in SQL Server 2022, inspect segment bounds, and compare range-query reads on your own data.

Read More
SQL Server primary key error dialog.

SQL SERVER – Maximum Columns per Primary Key – Fix : Error : Msg 1904, Level 16, The index on table has column names in index key list. The maximum limit for index or statistics key column list is 16

April 8, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Index, SQL Scripts

What are the maximum columns per primary key? It is 16, and going past it raises Msg 1904. The same limit applies to foreign keys and index keys.

Read More
A hardware bench contrasts screws stored apart from hinges with a divided tray holding both together.

user_lookups: Verify the Plan Before Adding Coverage

March 25, 2009
Pinal Dave
SQL Performance
Clustered Index, SQL DMV, SQL Index, SQL Performance

user_lookups helps identify where to investigate missing coverage. Compare complete query results and actual plans before adding included columns. Weigh the read benefit against storage and write costs.

Read More
SQL SERVER - 2008 - SCOPE_IDENTITY Bug with Multi Processor Parallel Plan and Solution

SQL SERVER – 2008 – SCOPE_IDENTITY Bug with Multi Processor Parallel Plan and Solution

March 24, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Error Messages, SQL Identity, SQL Index, SQL Scripts

SCOPE_IDENTITY can return a wrong value when a query uses a parallel plan on a multi processor server. Run it on one processor or, better, use the OUTPUT clause.

Read More
Previous 1 … 49 50 51 52 53 54 55 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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