Geen cache-versie.


Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code DEF204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.

Rechercher dans le manuel MySQL

26.12.11.11 The binary _log _transaction _compression _stats Table

This table shows statistical information for transaction payloads written to the binary log and relay log, and can be used to calculate the effects of enabling binary log transaction compression. For information on binary log transaction compression, see Section 5.4.4.5, “Binary Log Transaction Compression”.

The binary_log_transaction_compression_stats table is populated only when the server instance has a binary log, and the system variable binlog_transaction_compression is set to ON. The statistics cover all transactions written to the binary log and relay log from the time the server was started or the table was truncated. Compressed transactions are grouped by the compression algorithm used, and uncompressed transactions are grouped together with the compression algorithm stated as NONE, so the compression ratio can be calculated.

The binary_log_transaction_compression_stats table has the following columns:

  • LOG_TYPE

    Whether these transactions were written to the binary log or relay log.

  • COMPRESSION_TYPE

    The compression algorithm used to compress the transaction payloads. NONE means the payloads for these transactions were not compressed, which is correct in a number of situations (see Section 5.4.4.5, “Binary Log Transaction Compression”).

  • TRANSACTION_COUNTER

    The number of transactions written to this log type with this compression type.

  • COMPRESSED_BYTES

    The total number of bytes that were compressed and then written to this log type with this compression type, counted after compression.

  • UNCOMPRESSED_BYTES

    The total number of bytes before compression for this log type and this compression type.

  • COMPRESSION_PERCENTAGE

    The compression ratio for this log type and this compression type, expressed as a percentage.

  • FIRST_TRANSACTION_ID

    The ID of the first transaction that was written to this log type with this compression type.

  • FIRST_TRANSACTION_COMPRESSED_BYTES

    The total number of bytes that were compressed and then written to the log for the first transaction, counted after compression.

  • FIRST_TRANSACTION_UNCOMPRESSED_BYTES

    The total number of bytes before compression for the first transaction.

  • FIRST_TRANSACTION_TIMESTAMP

    The timestamp when the first transaction was written to the log.

  • LAST_TRANSACTION_ID

    The ID of the most recent transaction that was written to this log type with this compression type.

  • LAST_TRANSACTION_COMPRESSED_BYTES

    The total number of bytes that were compressed and then written to the log for the most recent transaction, counted after compression.

  • LAST_TRANSACTION_UNCOMPRESSED_BYTES

    The total number of bytes before compression for the most recent transaction.

  • LAST_TRANSACTION_TIMESTAMP

    The timestamp when the most recent transaction was written to the log.

The binary_log_transaction_compression_stats table has these indexes:

  • None

TRUNCATE TABLE is permitted for the binary_log_transaction_compression_stats table.


Zoek in de MySQL-handleiding

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 26/06/2006 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/mysql-rf-binary-log-transaction-compression-stats-table.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:en Manuel MySQL : https://dev.mysql.com/

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut