LZ4_DECOMPRESS(1)
π 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_decompressis deprecated as of MySQL 8.0.34; expect it to be removed in a future version of MySQL. and why, you ask? because the associatedmysqlpumputility 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=systemoption, thenlz4_decompressis not built at all. she simply does not exist in that timeline. in this case, the systemlz4command 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 π
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
- fedora 43: mysql8.0-server 8.0.46-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
- fedora 44: mysql8.0-server 8.0.46-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms