For the sake of compression performance and ratio, backup files and log files (binlog files) of TencentDB for MariaDB are compressed with LZ4 (Extremely Fast Compression Algorithm). You can use LZ4 for decompression. This document describes how to use this tool.
Download LZ4 and install it by following the installation wizard.
Right click the LZ4 file to be decompressed and select Decode with LZ4.
There is an LZ4 component in the yum repository of CVM. Log in to your CVM instance and run the following command to install it.
$ yum install lz4
The installation is successful if the result is returned as shown below after you execute
Execute the following command to decompress a file.
$ lz4 -d xxx.lz4