diff --git a/airsonic-main/src/main/resources/liquibase/10.2/setup-hsqldb-checkpoint-defrag.xml b/airsonic-main/src/main/resources/liquibase/10.2/setup-hsqldb-checkpoint-defrag.xml index 7f42743b..a028b8ce 100644 --- a/airsonic-main/src/main/resources/liquibase/10.2/setup-hsqldb-checkpoint-defrag.xml +++ b/airsonic-main/src/main/resources/liquibase/10.2/setup-hsqldb-checkpoint-defrag.xml @@ -4,6 +4,8 @@ xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd"> + 7:890e52428bbc2a792fea1e026a4b7610 + @@ -13,12 +15,12 @@ Defragment the database before enabling auto defrag, so that the biggest part of the work is done during migration. - SET LOGSIZE 64; - Automatically run a CHECKPOINT when the log is above 64MB. + SET FILES LOG SIZE 64; + Automatically run a CHECKPOINT when the log is above 64MB. http://hsqldb.org/doc/guide/management-chapt.html#N150AB - SET CHECKPOINT DEFRAG 32; - Automatically defragment on CHECKPOINT when the wasted space is above 32MB. + SET FILES DEFRAG 50; + Sets the threshold in percentage for performing a DEFRAG during a checkpoint. http://hsqldb.org/doc/guide/management-chapt.html#N1506D