innodb_buffer_pool_size, maybe doubled it, and the disk graph still looks the same. Queries still feel slow and iowait has not moved much. Two explanations cover most of these cases. Either the server is not running with the new value, or it is and the data your site actually touches still does not fit in memory.
You do not need to guess which one. MySQL keeps counters that show exactly how often InnoDB found a page in memory and how often it had to go to disk. This guide walks through checking the active setting first, then reading those counters correctly before and after the change.
Confirm the running server uses the new value
my.cnf changes nothing until the server reads that file again. That sounds obvious, but it is one of the most common gaps between "I changed it" and "it changed". Config edits often get saved without a restart, saved into a file that a later file overrides, or placed under an option group the server does not read.
The only value that matters is the one the running process reports. Ask it directly, then compare that with what the config files say.
BASH
# What the running server is actually using, in MiB
mysql -e 'SELECT @@innodb_buffer_pool_size/1024/1024 AS pool_mib, @@innodb_buffer_pool_chunk_size/1024/1024 AS chunk_mib, @@innodb_buffer_pool_instances AS instances;'
# Whether an online resize is still in progress or finished
mysql -e "SHOW GLOBAL STATUS LIKE 'Innodb_buffer_pool_resize_status';"
# How long the server has been up (did it restart after your edit?)
mysql -e "SHOW GLOBAL STATUS LIKE 'Uptime';"
# What the option files say, in the order they are read (last value wins)
my_print_defaults mysqld server mariadb | grep -i buffer_poolmy_print_defaults prints the setting twice, the last line is the one that applies at startup. Duplicate entries often appear when a control panel, a tuning script, and a manual edit each write to a different include file. On cPanel servers the main file is usually /etc/my.cnf, while Debian and Ubuntu packages typically split config across /etc/mysql/ and its conf.d directories. The group names the server reads also depend on whether you run MySQL or MariaDB, so adjust the list passed to my_print_defaults to match your setup.
Two more details catch people out. First, the effective size gets rounded to a multiple of innodb_buffer_pool_chunk_size × innodb_buffer_pool_instances, so the reported value can be a bit larger than what you typed. Second, if you resized online with SET GLOBAL innodb_buffer_pool_size = ..., that change lasts only until the next restart unless you also put it in the config file (or use SET PERSIST on MySQL 8.0 and later). A setting that looked fine last week can quietly revert after a reboot for kernel updates.
Read the counters as deltas, not totals
Innodb_buffer_pool_read_requestscounts logical reads, every time InnoDB wanted a page.Innodb_buffer_pool_readscounts the subset of those it could not serve from memory and had to read from disk.
SHOW GLOBAL STATUS on a server that has been up for months and you get a ratio averaged over every backup, every cold start, and every cache flush in that period. A change you made yesterday barely moves a number dominated by months of history. And right after a restart, the totals are skewed the other way, because the pool starts mostly empty.
What you want is the change in each counter over a short, recent interval. mysqladmin can print that directly. With -r (relative) and -i (interval), it shows the difference since the previous sample instead of the running total.
BASH
# Sample every 60 seconds; the FIRST block is totals since startup, ignore it.
# Every block after that is the change during the last 60 seconds. Stop with Ctrl+C.
mysqladmin -r -i 60 extended-status | grep -E 'Innodb_buffer_pool_(reads|read_requests|read_ahead|pages_free|wait_free) '~/.my.cnf or with -u and -p. It only reads status, so it is safe to leave running during business hours.
Illustrative output format for one 60-second interval (round numbers, not a benchmark):
TEXT
| Innodb_buffer_pool_pages_free | 0 |
| Innodb_buffer_pool_read_ahead | 0 |
| Innodb_buffer_pool_read_requests | 4000000 |
| Innodb_buffer_pool_reads | 40000 |
| Innodb_buffer_pool_wait_free | 0 |pages_free is a gauge rather than a counter, so in relative mode its line shows the change, not the current number. Check its absolute value in the first block or with SHOW GLOBAL STATUS.
Compare before and after under similar load
- Before changing anything, run the sampler for several intervals during a busy period and note the typical
readsandread_requestsper interval. - Apply the change and confirm the active value using the checks above.
- If the server restarted, wait for the pool to warm up. Many installs reload the previous page list at startup, and you can watch progress with
SHOW GLOBAL STATUS LIKE 'Innodb_buffer_pool_load_status';. Sampling before warm-up finishes makes the change look worse than it is. - Sample again during a comparable busy period and compare the per-interval numbers.
Innodb_buffer_pool_reads per interval drops noticeably while read_requests stays about the same. The workload is unchanged and more of it gets served from RAM.
When it did not help, you usually see one of three patterns.
Misses barely move and pages_free sits at or near zero. The pool is full and still evicting pages the site needs again shortly after. The working set, meaning the rows and indexes that queries actually touch, is still bigger than the pool. Either the pool needs to grow further (if the server has spare RAM) or the queries are scanning more data than they should, which is often an indexing problem rather than a memory problem. If you want to estimate data and index size against the pool, the walkthrough in How to Check If the InnoDB Buffer Pool Is Too Small for Your Site's Database covers that side.
Misses are already low, but the disk is still busy. The buffer pool was not the bottleneck in the first place. Read the next section.
Misses dropped, but the whole server got slower. Check memory pressure before celebrating. A pool that leaves too little RAM for PHP-FPM, the web server, and the OS can push the system into swap, and swap I/O shows up as disk activity that no InnoDB counter will explain. Watch the si and so columns in vmstat 5. Sustained nonzero values there mean the new size is too big for this machine.
Disk activity the buffer pool cannot fix
iostat -x 5 (from the sysstat package) shows the activity is mostly writes, buffer pool tuning is the wrong lever.
On-disk temporary tables are another. Queries with large GROUP BY, ORDER BY, or DISTINCT operations can spill to temporary files on disk. Compare Created_tmp_disk_tables with Created_tmp_tables using the same delta approach. A steady stream of disk temp tables points at query design or temp table limits, not at InnoDB.
Non-InnoDB tables count too. Older sites sometimes still have MyISAM tables, and those do not use the buffer pool at all. A quick look at information_schema.TABLES filtered by ENGINE shows whether that applies.
Read-ahead can also inflate the picture. Innodb_buffer_pool_read_ahead counts pages InnoDB fetched in advance because it predicted a sequential scan. Large values during normal traffic usually mean big table scans, which again is an indexing question.
What to check first next time
Innodb_buffer_pool_reads against Innodb_buffer_pool_read_requests as per-interval deltas during real traffic, before and after the change. If misses dropped, the setting did its job and the remaining disk load comes from somewhere else, usually writes, temp tables, or swap. If misses stayed flat with no free pages left, the data the site touches still does not fit, and the next step is either more memory or fewer pages touched per query.