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 - De-fragmentation of Database at Operating System to Improve Performance

SQL SERVER – De-fragmentation of Database at Operating System to Improve Performance

June 17, 2007
Pinal Dave
SQL Performance
Computer Network, DBA, SQL Index, SQL Scripts

Why does de-fragmentation of database files at the operating system level skip MDF files? SQL Server has them open, so stop the services first.

Read More
A walker seen from behind at a mountain trail fork, three paths marked by stacked stone cairns

How to Read a T-SQL Syntax Diagram

June 7, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Documentation, SQL Index, SQL Server

Read a T-SQL syntax diagram without guessing: brackets mean optional, braces mean required choices, pipes separate options, and dots repeat items.

Read More
SQL SERVER - 2005 Find Table without Clustered Index - Find Table with no Primary Key

SQL SERVER – 2005 Find Table without Clustered Index – Find Table with no Primary Key

May 26, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

A query on sys.indexes to find every table without clustered index in a database, why heaps can slow you down, and how to pick a clustered key.

Read More
Fill Factor.

SQL SERVER – Change Default Fill Factor For Index

May 25, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Server Configuration

The Default Fill Factor in SQL Server is 0. Change it with sp_configure to leave free space on index pages and reduce page splits. I like mine at 90.

Read More
SQL SERVER - 2005 Comparison EXCEPT operator vs. NOT IN

SQL SERVER – 2005 Comparison EXCEPT operator vs. NOT IN

May 22, 2007
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Operator, SQL Scripts, SQL Server

The EXCEPT operator returns distinct rows from the left query with no match on the right, just like NOT IN. Both give the same plan, but EXCEPT reads simpler.

Read More
SQL SERVER - Disable Index - Enable Index - ALTER Index

SQL SERVER – Disable Index – Enable Index – ALTER Index

May 17, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server DBCC

When DTS, BCP or BULK INSERT needs an index out of the way, I prefer to disable index with ALTER INDEX and enable it again with REBUILD. AdventureWorks example.

Read More
Close view of a bicycle chain on a rear sprocket, links joined by steel pins, one link painted red

How the Main System Views Connect

May 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Server, SQL System Table

Learn how the main system views connect through object_id, schema_id, index_id, and column_id so catalog joins stay accurate.

Read More
Previous 1 … 56 57 58 59 60 61 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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