Convert SQL to XZ

Turn SQL files into XZ. The file compressed as one xz stream at level 6 unless level is given; it is not an archive.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SQL files on the dialor turn it to pick what to do

Your SQL script as one xz file.The script is compressed as a single xz stream, with the text unchanged.

  1. What you get

    One XZ file that holds your SQL script. It is not an archive. The file is compressed as one stream, and nothing else is added to it.

    The content is the same as the original. To get the script back as text, use XZ to SQL.

  2. Choosing a level

    The conversion uses level 6 unless you set Compression level. The range is 1 to 9. A higher level makes a smaller file and takes longer to run.

    The content is the same at every level. Only the work done and the size of the file change.

SQL and XZ.What each format is, and the options this conversion takes.

  1. 01 · level

    Compression level

    How hard the compressor works. Higher makes a smaller file and takes longer. The content is the same at every level.

    1 to 9

The formats

From · SQL

SQL Script

SQL statements as text. A database dump that any SQL tool can read or replay.

Extensions
.sql
MIME type
application/sql
Kind
Text and data
To · XZ

XZ

A single file compressed with xz, the LZMA format of most Linux distributions.

Extensions
.xz
MIME type
application/x-xz
Kind
Archives

In your code.The same SQL to XZ conversion through the API, for your app or your agent.

terminal
$ cv convert report.sql report.xz
$ cv convert report.sql report.xz

Questions.What people ask about SQL to XZ.

01OF 04

No. It is one file compressed with xz. It holds your SQL script and nothing else.

No. The content is the same at every level. A higher Compression level makes a smaller file and takes longer.

Level 6. Set Compression level to any value from 1 to 9 to change it.

Convert the XZ file with XZ to SQL. You get the script as text again.

More conversions.Other ways in and out of SQL and XZ.