This section focuses on using buffering and caching techniques to increase the performance.
Leveraging buffering and caching
InnoDB buffer pool optimization
The InnoDB storage engine maintains a storage area known as the buffer pool. It is used for caching data and indexes in the memory. It is important to know how the InnoDB buffer pool works, so as to take advantage of it to keep frequently accessed data in memory. It is an important aspect of MySQL tuning.
The following are the general guidelines for improving performance with the InnoDB buffer pool:
- In an ideal case, the size of the buffer pool should be set large enough, while leaving enough memory for other processes on the server to run without excessive paging. With...