You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Since H2-2.3.239 there is an enhanced <code>DirectRecover</code> tool which features:</p>
1058
+
<ul>
1059
+
<li>Direct output into SQL-script (using a pipe)</li>
1060
+
<li>Compression using ZIP, GZIP, KANZI (when in classpath) or BZip2 (when in classpath)</li>
1061
+
</ul>
1062
+
<p>Especially KANZI can be useful for very large databases on servers with many CPU cores as it yields in very small SQL script files. Its compression ratio beats BZip2 at a much faster speed.</p>
1063
+
<pre>
1064
+
# Database: testdb.mv.db (1.7GB)
1065
+
1066
+
# parallel compression using KANZI from https://github.com/flanglet/kanzi
# resulting SQL script files on a AMD Zen3 Ryzen5:
1076
+
# KANZI: testdb.h2.sql.knz (114.1 MB in 128 secs)
1077
+
# BZip2: testdb.h2.sql.bz2 (153.7 MB in 18 mins)
1078
+
# GZip: testdb.h2.sql.gz (207.4 MB in 74 secs)
1079
+
</pre>
1080
+
<p>Since H2-2.3.239 the <code>RunScript</code> tool can read the KANZI or BZip2 compressed script files directly when the libraries are added to the classpath:</p>
0 commit comments