Version sans cache

Mise en cache désactivé. Réglage défaut pour cette page : actif (code DEF204)
Si l'affichage est trop lent, vous pouvez désactiver le mode utilisateur pour visualiser la version en cache.

Rechercher dans le manuel MySQL

25.38.6 The INFORMATION_SCHEMA INNODB_CMPMEM and INNODB_CMPMEM_RESET Tables

The INNODB_CMPMEM and INNODB_CMPMEM_RESET tables provide status information on compressed pages within the InnoDB buffer pool.

The INNODB_CMPMEM and INNODB_CMPMEM_RESET tables have these columns:

  • PAGE_SIZE

    The block size in bytes. Each record of this table describes blocks of this size.

  • BUFFER_POOL_INSTANCE

    A unique identifier for the buffer pool instance.

  • PAGES_USED

    The number of blocks of size PAGE_SIZE that are currently in use.

  • PAGES_FREE

    The number of blocks of size PAGE_SIZE that are currently available for allocation. This column shows the external fragmentation in the memory pool. Ideally, these numbers should be at most 1.

  • RELOCATION_OPS

    The number of times a block of size PAGE_SIZE has been relocated. The buddy system can relocate the allocated buddy neighbor of a freed block when it tries to form a bigger freed block. Reading from the INNODB_CMPMEM_RESET table resets this count.

  • RELOCATION_TIME

    The total time in microseconds used for relocating blocks of size PAGE_SIZE. Reading from the table INNODB_CMPMEM_RESET resets this count.

Example

  1. mysql> SELECT * FROM INFORMATION_SCHEMA.INNODB_CMPMEM\G
  2. *************************** 1. row ***************************
  3.            page_size: 1024
  4. buffer_pool_instance: 0
  5.           pages_used: 0
  6.           pages_free: 0
  7.       relocation_ops: 0
  8.      relocation_time: 0
  9. *************************** 2. row ***************************
  10.            page_size: 2048
  11. buffer_pool_instance: 0
  12.           pages_used: 0
  13.           pages_free: 0
  14.       relocation_ops: 0
  15.      relocation_time: 0
  16. *************************** 3. row ***************************
  17.            page_size: 4096
  18. buffer_pool_instance: 0
  19.           pages_used: 0
  20.           pages_free: 0
  21.       relocation_ops: 0
  22.      relocation_time: 0
  23. *************************** 4. row ***************************
  24.            page_size: 8192
  25. buffer_pool_instance: 0
  26.           pages_used: 7673
  27.           pages_free: 15
  28.       relocation_ops: 4638
  29.      relocation_time: 0
  30. *************************** 5. row ***************************
  31.            page_size: 16384
  32. buffer_pool_instance: 0
  33.           pages_used: 0
  34.           pages_free: 0
  35.       relocation_ops: 0
  36.      relocation_time: 0

 

Notes


Rechercher dans le manuel MySQL

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-innodb-cmpmem-table.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

  1. Consulter le document html Langue du document :en Manuel MySQL : https://dev.mysql.com/

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.

Table des matières Haut