You are not logged in.
Pages: 1
I've seen other solutions for on-the-fly sqlite compression.
As i seen mORMot supports encryption, maybe is easy to implement this in the code?
I know there is very fast compression/decompression libraries out there, lz4 for example.
Any ideas about this?. Sorry, if my question is dumb, i am just a coder doing little personal projects in Delphi/mORMot.
Thanks AB for such a great work!
Offline
There is no built-in compression yet at SQlite3 file level.
It is a good idea, but we didn't use it yet, since if we need small compressed files, we usually use the TSQLRestStorageInMemory class with binary persistence, at ORM level, which gives very good results.
For compressing, our SynLZ algorithm, or the newly introduced SynLizard unit could be used - since they usually outperforms LZ4 or Snappy, depending on the content.
Any input is welcome!
Offline
Excuse my ignorance, this need to be implemented at level source in sqlite? Or could be implemented in synopse?
Offline
You need to implement a VFS for SQlite3, in pascal, since compression is not part of SQlite3 open source version.
See https://www.hwaci.com/sw/sqlite/zipvfs.html - it costs $4000.
Offline
Yes, i've seen that. Ok, then it's much more complex than I thought.
Thanks!
Offline
Pages: 1