Syntax
UNCOMPRESSED_LENGTH(str)
Purpose
UNCOMPRESSED_LENGTH() returns the length of the compressed string before it is compressed by using the COMPRESS() function.
Examples
obclient [test]> SELECT UNCOMPRESSED_LENGTH(COMPRESS('abc'));
+--------------------------------------+
| UNCOMPRESSED_LENGTH(COMPRESS('abc')) |
+--------------------------------------+
| 3 |
+--------------------------------------+
1 row in set