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
Gouache painting of two garden beds, one seeded and one bare, with a vermilion push seeder

Automatic Seeding in Always On: List and Monitor It

May 14, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL DMV, SQL High Availability, SQL Scripts

Automatic seeding in Always On lets the primary send a database to a secondary without a manual backup and restore. Three read-only queries show which replicas use it, what happened before and how far a seeding run has come. It also covers why it fails and when to switch it off.

Read More
Illustrated cover: Instant Rollback

SQL SERVER – Getting Started with Accelerated Database Recovery – Instant Rollback

May 13, 2019
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server 2019, SQL Transactions, Transaction Log

Killing a long transaction used to mean a rollback that took forever. SQL Server 2019 fixes that with Accelerated Database Recovery and its instant rollback.

Read More
Gouache painting of a vermilion vintage camera on a tripod beside a print of the hill it points at

Last Known Actual Plan in SQL Server: Query Plan Stats

May 11, 2019
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL DMV, SQL Scripts, SQL Server 2019

The last known actual plan is the plan of the most recent run of a cached query, with its real row counts. This post turns the feature on for one database, reads the plan with sys.dm_exec_query_plan_stats and compares estimated rows with actual rows.

Read More
A quiet loom still holds unfinished fabric connected to its yarn supply.

SQL SERVER – Reviewing Sleeping Sessions Before Terminating Any Session

May 6, 2019
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL DMV, SQL Monitoring, SQL Scripts, SQL Server

An inactive or sleeping session may still be a useful pooled connection. A customer case prompted my earlier session-cleanup script.

Read More
Freshly painted plates wait on a rack beside a stack of finished plates

Dirty Pages – How to List Dirty Pages From Memory in SQL Server? – Interview Question of the Week #223

May 5, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Memory, SQL Scripts, SQL Server

Question: How to List Dirty Pages From Memory in SQL Server? Answer: I received question today during my SQL Server Performance Tuning Practical Workshop.

Read More
A fern frond pressed under glass on sun-print paper, its exact pale outline captured on the blue sheet.

Capturing Actual Execution Plans From a Script With SET STATISTICS XML

May 1, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL XML

Capture actual plans with SET STATISTICS XML, save the extra result safely, inspect runtime fields, and compare last-known plan statistics.

Read More
A small desk organizer holds neatly arranged pencils beside a plain adjustable reading lamp.

Ten SSMS Settings Worth Changing on Day One

April 29, 2019
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Review ten SSMS settings for safer connections, clearer results, useful plans, and recoverable query text before starting your everyday work.

Read More
Previous 1 … 73 74 75 76 77 78 79 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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