
Also, SQLite query processing leads to each row being handled as a single BLOB, further lowering the file size limit.Ĭompare that with ZIP (2 32 for "classic ZIP", 2 64 for ZIP64) or GNU tar (unlimited), and you may have yet another reason to take the traditional route instead. Since Im inserting large files into the DB Im wondering whether Sqlite can do compression on the data BLOB by.

In particular, each file's data is stored as a BLOB, which has a default maximum size of 1 billion bytes. to General Discussion of SQLite Database. Since an sqlar is basically an SQLite DB, it inherits all the limits of this file format. A rescue disk, for instance, may not have an archiving sqlite3, and you really don't want to build sqlite from scratch during disaster recovery.Īside from the availability of an archive-capable sqlite3, you also need to consider the issue of file sizes. So, if you want to use the sqlar format in earnest, carefully consider all the circumstances and environments in which you'll be doing so. Contrast all that with "it just works everywhere" gzip/ tar/etc. The platforms on which you plan to sqlar may have similar gotchas. Those are just two examples that I have personal experience with.
#COMPRESS SQLITE DATABASE INSTALL#
I had to brew install -build-from-source sqlite3 to fix that.

precompiled binary) sqlite v3.26 that somehow manages to not support archiving.
