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 - 2005 Understanding Trigger Recursion and Nesting with examples

SQL SERVER – 2005 Understanding Trigger Recursion and Nesting with examples

May 18, 2007
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Security, SQL Stored Procedure, SQL Trigger

How trigger recursion and nesting work in SQL Server 2005: triggers nest up to 32 levels, recursive triggers fire themselves, and both can be turned off.

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
SQL SERVER - Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction

SQL SERVER – Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction

May 16, 2007
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts, SQL Server

Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Read More
A lamp lighting an armchair with three books at hand, inside a dim room of tall bookshelves.

Estimating How Much Memory SQL Server Needs

May 10, 2007
Pinal Dave
SQL Performance
SQL Memory, SQL Performance, SQL Server, SQL Server Configuration

How much memory SQL Server needs depends on the active working set, grants, and host headroom; learn to measure pressure and avoid fixed ratios.

Read More
A small teacup lost inside a huge box of packing straw, next to a snug little box holding a matching cup.

Data Types That Waste Space

May 10, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Data Storage, SQL Datatype, SQL Index, SQL Server

Data types that waste space include oversized integers, blanket nvarchar(max), and unnecessary datetime2 precision; measure before changing.

Read More
Quick FlowChart.

SQL SERVER – Index Optimization CheckList

May 8, 2007
Pinal Dave
SQL Performance
SQL Download, SQL Index, SQL Scripts, SQL Server

My Index Optimization checklist for Jr. DBAs: index columns used in WHERE, ORDER BY, GROUP BY and JOINs, drop indexes you do not need and keep keys small.

Read More
A pile of unsorted paper on a desk beside a neatly filed drawer with tabs

What Is a Heap in SQL Server?

May 4, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

A heap in SQL Server is a table with no clustered index. Forwarded records pushed one count from 11,113 reads to 199,844, and a single REBUILD put it back. When a heap is fine and when it is not.

Read More
Previous 1 … 109 110 111 112 113 114 115 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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