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
server cache

SQL SERVER – List All Frequently Ran Stored Procedure From Server Cache

August 5, 2019
Pinal Dave
SQL Tips and Tricks
Disk, SQL Cache, SQL CPU, SQL Scripts, SQL Server, SQL Stored Procedure

We started working with my Comprehensive Database Performance Health Check service and found very interesting details from the server cache. 

Read More
A string of glowing garden lights with one dark bulb, a replacement waiting on a stepladder.

Removing a Bad Plan From Cache Without Clearing Everything

June 24, 2019
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL Performance, SQL Server

Remove one bad plan from cache by handle, compare narrower recompilation choices, and fix the cause so the plan stays healthy.

Read More
Script to get compiled plan with parameters from cache.

SQL SERVER – Script to Get Compiled Plan with Parameters From Cache

May 7, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL DMV, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure

A script I use in every Health Check: get the compiled plan with parameters from cache, so you can see what values the plan was built for.

Read More
List query plan, cache size, text and execution count.

SQL SERVER – List Query Plan, Cache Size, Text and Execution Count

March 16, 2019
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Cache, SQL Scripts, SQL Server

A workshop attendee asked how to see the query plan, cache size, text and execution count for queries. This simple query lists all of them from the plan cache.

Read More
An illustration depicting a DBCC DROPCLEANBUFFERS command.

What is Clean Buffer in DBCC DROPCLEANBUFFERS? – Interview Question of the Week #215

March 3, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL Memory, SQL Scripts, SQL Server, SQL Server DBCC

What is a clean buffer in DBCC DROPCLEANBUFFERS? No one had asked me this in 20 years, so here is the answer in the simplest words I could find.

Read More
Plan Cache For SQL Server.

SQL SERVER – Cleanup Plan Cache For a Single Database

January 9, 2019
Pinal Dave
SQL Performance
SQL Cache, SQL Scripts, SQL Server, SQL Server Configuration

After tuning a client’s database, a DBA rushed to run DBCC FREEPROCCACHE for the whole server. Here is how to clean up the plan cache for a single database instead.

Read More
Finding Oldest Query Plan From Cache.

SQL SERVER – Finding The Oldest Query Plan From Cache

November 30, 2018
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL DMV, SQL Scripts, SQL Server

A health check client asked how to see the oldest query plan in the cache. Here is the simple script I use, with execution count and elapsed time too.

Read More
Previous 1 2 3 4 5 6 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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