Bug #106541 Request for Enhancement to allow for compressed columns.
Submitted: 23 Feb 2022 2:10 Modified: 23 Feb 2022 5:16
Reporter: Yoseph Phillips Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DDL Severity:S4 (Feature request)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: compressed columns

[23 Feb 2022 2:10] Yoseph Phillips
Description:
Request for Enhancement to allow for compressed columns.

This request is for compressed columns similar to how MySQL's competition have been doing it for a long time now. It shouldn't be confused with table level compression which MySQL already does have.

For us this would be most helpful on InnoDB tables.
We need some columns to be able to be part of an index (and hence not compressed), while other columns can be compressed and hence cannot be part of an index.

It is important that this feature will work even if MySQL wasn't compiled in a special way such as using zlib.

INSERT and UPDATE statements will automatically compress the values in these columns, and likewise SELECT queries will automatically decompress them so that the queries remain the same. Obviously statements and queries involving these columns can perform slower than normal queries as these would just be intended for audit tables, or tables where the information is not commonly retrieved.

It would also be helpful if backup tools could access the already compressed data, so that they don't need to decompress the data, recompress it again, and then do the inverse on restore. 

How to repeat:
This is a RFE and not a bug.
[23 Feb 2022 5:16] MySQL Verification Team
Hello Yoseph Phillips,

Thank you for the feature request!

regards,
Umesh