Run a first defrag before enabling auto defrag on HSQLDB

master
François-Xavier Thomas 6 years ago
parent cff97ea9be
commit d6ba6de7e1
  1. 4
      airsonic-main/src/main/resources/liquibase/10.2/setup-hsqldb-checkpoint-defrag.xml

@ -8,6 +8,10 @@
<dbms type="hsqldb" /> <dbms type="hsqldb" />
</preConditions> </preConditions>
<sql>
CHECKPOINT DEFRAG;
<comment>Defragment the database before enabling auto defrag, so that the biggest part of the work is done during migration.</comment>
</sql>
<sql> <sql>
SET LOGSIZE 64; SET LOGSIZE 64;
<comment>Automatically run a CHECKPOINT when the log is above 64MB.</comment> <comment>Automatically run a CHECKPOINT when the log is above 64MB.</comment>

Loading…
Cancel
Save