When should I use MySQL compressed protocol?

Posted by ento on Stack Overflow See other posts from Stack Overflow or by ento
Published on 2010-03-24T09:21:30Z Indexed on 2010/03/24 9:23 UTC
Read the original article Hit count: 250

Filed under:
|

I've learned that MySQL can compress communication between servers and clients.

Compression is used if both client and server support zlib compression, and the client requests compression.

(from MySQL Forge Wiki)

The most obvious pros and cons are

  • pros: Reduced payload size
  • cons: Increased computation time

So, is compressed protocol something I should enable whenever I can afford servers with adequate specs? Are there other factors I should consider?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about compression