Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  ...  /  Compressed Packet Header

14.4.2 Compressed Packet Header

The header looks like:

3              length of compressed payload
1              compressed sequence id
3              length of payload before compression
length of compressed payload

raw packet length minus the size of the compressed packet header (7 bytes) itself.

compressed sequence id

sequence id of the compressed packets, reset in the same way as the MySQL Packet, but incremented independently

length of payload before compression

size of payload before it was compressed.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.