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 - Optimization Rules of Thumb - Best Practices

SQL SERVER – Optimization Rules of Thumb – Best Practices

April 25, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index

My optimization rules of thumb for a slow running query: read the query plan first, turn scans into seeks, fix bookmark lookups with a covering index and more.

Read More
Best Practices

SQL SERVER – 15 Best Practices for Better Database Performance

April 6, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server

Best practices for better Database Performance: keep only needed data, normalize tables, use lookup tables and small primary keys. I list 14; you suggest the 15th.

Read More
A hand checking the seams of a finished quilt, a red spool of thread beside it

A Self-Review Checklist for Stored Procedure Changes

April 3, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Stored Procedure, Testing

Use a self-review checklist for stored procedure changes: realistic data, plans, IO, NULL inputs, clean rollback, and a ready recovery script.

Read More
A small brass bell beside a plain closed envelope and a soft folded cloth on a wooden desk.

What to Alert On, and What to Let Sleep

April 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Make SQL Server alerting actionable by tying thresholds to impact, checking missing work, reducing duplicates, and reviewing every overnight call.

Read More
A muddy boot print on a clean stone doorstep with a brass magnifying glass resting beside it.

Reading SQL Server Error Messages Carefully

March 26, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server, SQL Transactions

Reading SQL Server error messages carefully means using number, severity, state, and line to narrow the cause before searching.

Read More
Three rolled paper sheets rest beside a plain closed notebook on a warm wooden table.

Reading the SQL Server Error Log Properly

February 21, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Read the SQL Server error log for startup details and incident context, filter it with T-SQL, and cycle files without losing needed history.

Read More
A damaged clay bowl and its separate fragment sit beside an intact empty bowl

Checking XACT_STATE Before COMMIT or ROLLBACK in a CATCH Block

February 19, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

XACT_STATE separates transaction validity from the decision to retain work. Two isolated examples show a doomed transaction and a committable one, both with deliberate errors. Clean up on the same connection and respect the caller’s transaction ownership.

Read More
Previous 1 … 44 45 46 47 48 49 50 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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