LZ4_DECOMPRESS(1)

πŸ“¦
version 8.0.46 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– LZ4_DECOMPRESS πŸ’–

okay bestie, gather round, because we're talking about a little utility from the MySQL Database System corner of the universe and her whole entire job is un-squishing things. no cap. πŸ¦‹


✨ NAME ✨

lz4_decompress β€” she takes your mysqlpump output that got squished with LZ4 compression and she un-squishes it. that's the gig. she's very good at it. πŸ’…


🌸 SYNOPSIS 🌸

lz4_decompress input_file output_file

like. two files. in, then out. she's not complicated and honestly that's her main character energy. πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea πŸ“: the lz4_decompress utility decompresses mysqlpump output that was created using LZ4 compression. that's it. that's the whole vibe.

Note ⚠️ β€” lz4_decompress is deprecated as of MySQL 8.0.34; expect it to be removed in a future version of MySQL. and why, you ask? because the associated mysqlpump utility is also deprecated as of MySQL 8.0.34. they're going down together, hand in hand, iconic to the very end. 😭
Note 🚨 β€” if MySQL was configured with the -DWITH_LZ4=system option, then lz4_decompress is not built at all. she simply does not exist in that timeline. in this case, the system lz4 command can be used instead. slay, borrow someone else's. πŸ’€

invoke lz4_decompress like this, bestie:

lz4_decompress input_file output_file

and here's an actual example, so you can see her in her natural habitat ✨:

mysqlpump --compress-output=LZ4 > dump.lz4
lz4_decompress dump.lz4 dump.txt

look at that. squish, then un-squish. beautiful. 🌈

and listen β€” if you just want to see a help message, invoke lz4_decompress with no arguments. she'll tell you what's up. no notes. 🫢

oh and also!! if what you're holding is mysqlpump ZLIB-compressed output instead, that's a different girl β€” use zlib_decompress. see zlib_decompress(1). know the difference, iykyk. πŸ’œ


Copyright Β© 1997, 2026, Oracle and/or its affiliates.

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.

fr fr, read the license. it's giving legally binding and we respect her. πŸ“œ

πŸ¦‹ SEE ALSO πŸ¦‹

For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.


πŸ’œ AUTHOR πŸ’œ

Oracle Corporation (http://dev.mysql.com/). periodt. πŸ’…


and that's the whole page, bestie!! this one came from MySQL 8.0, dated 03/23/2026 β€” so go forth, decompress responsibly, and remember: she's deprecated, so don't get too attached. πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from