Hi, This feature is a bit hidden (right now; once we find it's really useful it will be better documented). See http://h2database.com/javadoc/org/h2/engine/DbSettings.html#COMPRESS
> Are there levels of compression that can be specified on the URL or simply true/false? Internally, yes, but you can't currently configure that. Currently, the fast compression algorithm is used; in the future, the slow (better) algorithm might be added as an option. Regards, Thomas On Tue, Jun 24, 2014 at 5:52 PM, Kenton Garner <[email protected]> wrote: > Quick question... I cannot find the ";compress=true" URL option in the > documentation. > Are there levels of compression that can be specified on the URL or simply > true/false? > > > On Tuesday, June 24, 2014 2:09:20 AM UTC-4, Thomas Mueller wrote: > >> Hi, >> >> Did you try with the latest version of H2 (1.4.x)? Please note you will >> need to compact the database using "shutdown defrag" after you finished. >> And apppend ";compress=true" to the database URL, as Noel wrote. >> >> Regards, >> Thomas >> >> >> >> On Saturday, June 21, 2014, Noel Grandin <[email protected]> wrote: >> >>> If you're worried about disk space, turn compression on by using >>> COMPRESS=TRUE in your database URL. >>> It will cost a little bit of CPU, but not much, and most of us >>> normally have lots of spare CPU power. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "H2 Database" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/h2-database. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
