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 8537217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:50:53+00:00 2026-06-11T10:50:53+00:00

I’d like to ask about the buffer gets meaning. With the reduction of buffer

  • 0

I’d like to ask about the buffer gets meaning. With the reduction of buffer gets then I can assume that I’ve reduced the I/O needed, but can I also say that it has something to do with the execution time too?
Mostly I found that with reduced buffer gets it has an impact with reduction execution time, but in a few case it showed that I have also a reduced execution time eventhough my buffer gets increase. Is that possible?
Thanks in advance!

PS : I’m using Oracle 11g RDBMS

  • 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-11T10:50:54+00:00Added an answer on June 11, 2026 at 10:50 am

    A reduction in buffer gets generally but does not always correlate to a faster runtime. There is definitely a correlation but the correlation is not perfect.

    A buffer get will take vastly different amounts of time depending on whether the database can simply pull the block from the SGA cache, whether it can be read from the file system cache, whether it can be read from the SAN cache, or whether it actually requires a physical read. And the time required to do a physical read is highly dependent on how your SAN is structured and whether it stores different blocks on faster or slower disks. In many modern SANs, you may have a small amount of solid state disk for the most frequently read blocks, some fast hard drives for commonly read blocks, and slower hard drives for the less commonly read blocks each with their own performance characteristics.

    It is entirely possible that you could reduce the amount of logical I/O that your query does but change the nature of the I/O so that it is more likely to be cached. If, for example, you have a nested loop where you are constantly doing an index scan, it is relatively likely that a large portion of the index is going to get cached in the SGA relatively quickly meaning that most of the logical I/O you do on that index ends up being satisfied by relatively fast buffer gets that only have to grab the block from the SGA. An alternate plan that involves, say, doing a full table scan, might do less logical I/O but, since relatively few blocks from the table are likely to be cached, most of that I/O might require physical reads. It is entirely possible that, in this sort of situation, the query plan that does more logical I/O would complete more quickly.

    In practice, though, it is relatively rare that a human is going to be able to accurately predict which buffer gets are likely to require physical reads and which will generally be serviced from cache. Your non-production environments almost certainly don’t have the same pattern of cache utilization that your production environments have since you’re not running the same sort of workload in those environments. Even on the production system, the set of blocks that is cached varies tremendously over the course of a day and human developers rarely have reason to know or understand those variations. So just because when you’re testing a query you find that it does more buffer gets but runs more quickly than an equivalent query, that may not indicate that you’ll see a similar pattern in production. Since the number of buffer gets is (more or less) equivalent across environments (assuming more or less equivalent data volumes), it is generally much easier in practice to focus on reducing logical I/O and let Oracle take care of the rest.

    Additionally, queries wait on much more than just I/O. Queries wait on CPU, they wait on network events, they wait on locks and latches and other serialization devices. Buffer gets measures just I/O, it doesn’t attempt to account for any of those other types of waits. So you can also have situations where one plan does substantially less I/O but waits substantially longer on CPU or network or RAC cache fusion or some other event so that its execution time is much larger despite spending much less time waiting on I/O.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't

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.