Rechercher dans le manuel MySQL
A.15 MySQL 8.0 FAQ: InnoDB Change Buffer
- A.15.1. What types of operations modify secondary indexes and result in change buffering?
- A.15.2. What is the benefit of the InnoDB change buffer?
- A.15.3. Does the change buffer support other types of indexes?
- A.15.4. How much space does InnoDB use for the change buffer?
- A.15.5. How do I determine the current size of the change buffer?
- A.15.6. When does change buffer merging occur?
- A.15.7. When is the change buffer flushed?
- A.15.8. When should the change buffer be used?
- A.15.9. When should the change buffer not be used?
- A.15.10. Where can I find additional information about the change buffer?
A.15.1. | What types of operations modify secondary indexes and result in change buffering? |
| |
A.15.2. |
What is the benefit of the |
Buffering secondary index changes when secondary index pages are not in the buffer pool avoids expensive random access I/O operations that would be required to immediately read in affected index pages from disk. Buffered changes can be applied later, in batches, as pages are read into the buffer pool by other read operations. | |
A.15.3. | Does the change buffer support other types of indexes? |
No. The change buffer only supports secondary indexes. Clustered indexes, full-text indexes, and spatial indexes are not supported. Full-text indexes have their own caching mechanism. | |
A.15.4. |
How much space does |
Prior to the introduction of the
In MySQL 5.6 and later, the
Change buffer pages are not required to persist in the buffer pool and may be evicted by LRU operations. | |
A.15.5. | How do I determine the current size of the change buffer? |
The current size of the change buffer is reported by
Relevant data points include:
For information about monitoring change buffer status, see Section 15.5.2, “Change Buffer”. | |
A.15.6. | When does change buffer merging occur? |
| |
A.15.7. | When is the change buffer flushed? |
Updated pages are flushed by the same flushing mechanism that flushes the other pages that occupy the buffer pool. | |
A.15.8. | When should the change buffer be used? |
The change buffer is a feature designed to reduce random I/O to
secondary indexes as indexes grow larger and no longer fit in
the | |
A.15.9. | When should the change buffer not be used? |
You might consider disabling the change buffer if the entire
data set fits within the | |
A.15.10. | Where can I find additional information about the change buffer? |
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-faqs-innodb-change-buffer.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.