Updated CHECKPOINT / DEFRAG syntax for HSQLDB 2.
Signed-off-by: Iwao AVE! <harawata@gmail.com>
This commit is contained in:
committed by
François-Xavier Thomas
parent
c0f3606091
commit
c79c02d449
@@ -4,6 +4,8 @@
|
|||||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
|
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
|
||||||
<changeSet id="setup-hsqldb-checkpoint-defrag" author="fxthomas">
|
<changeSet id="setup-hsqldb-checkpoint-defrag" author="fxthomas">
|
||||||
|
|
||||||
|
<validCheckSum>7:890e52428bbc2a792fea1e026a4b7610</validCheckSum>
|
||||||
|
|
||||||
<preConditions onFail="MARK_RAN">
|
<preConditions onFail="MARK_RAN">
|
||||||
<dbms type="hsqldb" />
|
<dbms type="hsqldb" />
|
||||||
</preConditions>
|
</preConditions>
|
||||||
@@ -13,12 +15,12 @@
|
|||||||
<comment>Defragment the database before enabling auto defrag, so that the biggest part of the work is done during migration.</comment>
|
<comment>Defragment the database before enabling auto defrag, so that the biggest part of the work is done during migration.</comment>
|
||||||
</sql>
|
</sql>
|
||||||
<sql>
|
<sql>
|
||||||
SET LOGSIZE 64;
|
SET FILES LOG SIZE 64;
|
||||||
<comment>Automatically run a CHECKPOINT when the log is above 64MB.</comment>
|
<comment>Automatically run a CHECKPOINT when the log is above 64MB. http://hsqldb.org/doc/guide/management-chapt.html#N150AB</comment>
|
||||||
</sql>
|
</sql>
|
||||||
<sql>
|
<sql>
|
||||||
SET CHECKPOINT DEFRAG 32;
|
SET FILES DEFRAG 50;
|
||||||
<comment>Automatically defragment on CHECKPOINT when the wasted space is above 32MB.</comment>
|
<comment>Sets the threshold in percentage for performing a DEFRAG during a checkpoint. http://hsqldb.org/doc/guide/management-chapt.html#N1506D</comment>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<rollback></rollback>
|
<rollback></rollback>
|
||||||
|
|||||||
Reference in New Issue
Block a user