1Z0-888 · Question #27
Which statement best describes the purpose of the InnoDB buffer pool?
The correct answer is C. It caches data and indexes for InnoDB tables. C is correct because the InnoDB buffer pool is MySQL's primary in-memory cache, storing both data pages and index pages from InnoDB tables to reduce expensive disk I/O - it's the single most impactful memory configuration for InnoDB performance. Why the distractors are wrong: A…
Question
Options
- AIt is amount of buffers available during a transaction.
- BIt caches only the indexes for InnoDB tables.
- CIt caches data and indexes for InnoDB tables.
- DIt holds changes made during a transaction before they are written to the log.
- EIt is a pool of memory for SQL query sort operations from within the InnoDB engine.
How the community answered
(35 responses)- B3% (1)
- C91% (32)
- D6% (2)
Explanation
C is correct because the InnoDB buffer pool is MySQL's primary in-memory cache, storing both data pages and index pages from InnoDB tables to reduce expensive disk I/O - it's the single most impactful memory configuration for InnoDB performance.
Why the distractors are wrong:
- A confuses the buffer pool with transaction-related memory; it is persistent across transactions, not scoped to one.
- B is a half-truth - the buffer pool does cache indexes, but it also caches data pages, so "only indexes" is incorrect.
- D describes the InnoDB log buffer (redo log buffer), which temporarily holds uncommitted transaction changes before flushing to the redo log files.
- E describes the sort buffer (a per-session memory area), which is unrelated to InnoDB's buffer pool.
Memory tip: Think of the buffer pool as InnoDB's RAM disk - it mirrors the full table/index contents (data + indexes) in memory. The key phrase is "data AND indexes," which distinguishes it from all the other buffer types that handle only one thing.
Topics
Community Discussion
No community discussion yet for this question.