Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8367775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:14:35+00:00 2026-06-09T13:14:35+00:00

I would like to clear something up in my understanding on the SP:CacheHit event

  • 0

I would like to clear something up in my understanding on the “SP:CacheHit” event in SQL Profiler.

Is it safe to assume that whenever a “SP:CacheHit” event is shown against an execution of a stored procedure that no hit is being made to the database? The reason I ask is because I currently have a query (using Entity Framework/LINQ) that selects one random record out of 4000 rows in a table.

Has SQL Server truly cached 4000 records of data from my table, so any subsequent queries will not hit the database?

The series of events are as follows:

  1. RPC:Starting
  2. SP:CacheHit
  3. SP:StmtStarting
  4. SP:StmtCompleted –> This is where I see the number of reads and row counts
  5. RPC:Completed –> This is where I see the number of reads and row counts

I found this useful article that somewhat clarified my understanding, but confirmation from one of my fellow experts would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:14:37+00:00Added an answer on June 9, 2026 at 1:14 pm

    It just means that the SP itself was found in the execution plan cache. This means that the SP doesn’t need to be re-compiled.

    • http://msdn.microsoft.com/en-us/library/aa173892(v=sql.80).aspx

    Line 3 onward, in your example, shows that the database is itself being interrogated to complete the query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, I would like to make clear, that I am SUPER NEW TO
I would like to create a rake task or something to clear the browser
I am building something for mobile and would like somehow to clear, null objects,
I would like to have something like <textarea>Welcome, click here to type.</textarea> Then clear
I would like to clear and dispose of all the components inside of an
I would like to clear all radio buttons in a group if I right
I would like to use Graphics.FillRectangle or Graphics.Clear with semi-transparent colour (e.g. ARGB=128,0,0,0) to
I would like to have Ctrl-l for clear in my Bash. How can you
I would like to know if its possible to clear the current information stored
I'm working on a web project where I would like to clear text from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.