MySQL: Five More Dials To Turn

Written By
Web Webster
Web Webster
Jul 9, 2009

“6. Innodb
InnoDB is likely your storage engine of choice for MySQL as it
provides transactional support, as well as crash protection.

innodb_buffer_pool_size

“Typically the InnoDB buffer cache should get the bulk of memory
on the system. So for example if you are just running MySQL on your
server (we hope so), then perhaps 20% of the memory can go to the
OS, 20-30% to sessions, and the remaining 50% to static buffers in
MySQL. If you’re not using MyISAM most of that 50% will be for this
InnoDB buffer pool.

calculate innodb buffer pool hit ratio
1 - (innodb_buffer_pool_reads / innodb_buffer_pool_read_requests)

“A hit ratio is not a bulletproof way to tune I/O, but it can
give you a good indication and starting point from which to tune.
Since InnoDB caches both data and index in this buffer pool, the
hit ratio here will tell you overall the % of hits that are
satisfied by going to memory versus the ones which require disk
I/O. You want to do as little disk I/O as possible, so a higher hit
rate here means you’re caching better and more relevant blocks to
your applications needs.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.