Convert SQL to BZ2

Turn SQL files into Bzip2. The file compressed as one bzip2 stream at level 9 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 BZ2 file.The whole script is compressed into a single bzip2 stream.

  1. What you get

    One BZ2 file that holds your SQL script. It is not an archive, so there is one compressed stream and no list of files inside it.

    The compression runs at level 9 unless you choose another level. The text of the script is the same after you unpack it.

  2. Choosing a level

    Set Compression level to a number from 1 to 9. A higher level makes a smaller file and takes longer. A lower level takes less time and makes a larger file. The content is the same at every level.

    To get the script back as text, use BZ2 to SQL.

SQL and BZ2.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 · BZ2

Bzip2

A single file compressed with bzip2.

Extensions
.bz2
MIME type
application/x-bzip2
Kind
Archives

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

terminal
$ cv convert report.sql report.bz2
$ cv convert report.sql report.bz2

Questions.What people ask about SQL to BZ2.

01OF 04

No. It is one file compressed as a single bzip2 stream. It does not bundle several files together.

Level 9, unless you set Compression level to another number from 1 to 9.

No. The content is the same at every level. The level changes how hard the compressor works and how small the file gets.

Convert the BZ2 file with BZ2 to SQL. It returns the script as text.

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