How COMPRESS() Works in MariaDB

In MariaDB, COMPRESS() is a built-in function that compresses a string and returns the result as a binary string.

The COMPRESS() function requires MariaDB to have been compiled with a compression library such as zlib. If MariaDB hasn’t been compiled with such a compression library, COMPRESS() returns null.

Read more

How SOUNDEX() Works in MariaDB

In MariaDB, SOUNDEX() is a built-in string function that returns the Soundex string from a given string.

Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. If two words sound the same, they should have the same Soundex string. If two words sound similar, but not exactly the same, their Soundex string might look similar but not exactly the same.

The function accepts one argument: the string for which to return the Soundex string from.

Read more