UNCOMPRESSED_LENGTH(compressed_string) returns the length that the compressed string had before being compressed. : UNCOMPRESSED_LENGTH « Encryption Compression Functions « MySQL Tutorial






mysql>
mysql>
mysql> SELECT UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30)));
+-----------------------------------------------+
| UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30))) |
+-----------------------------------------------+
|                                            30 |
+-----------------------------------------------+
1 row in set (0.00 sec)

mysql>
mysql>








19.16.UNCOMPRESSED_LENGTH
19.16.1.UNCOMPRESSED_LENGTH(compressed_string) returns the length that the compressed string had before being compressed.