提交 b58833b3 authored 作者: christian.peter.io's avatar christian.peter.io

Documentation

上级 8b3fa4dd
...@@ -1587,7 +1587,7 @@ The trigger can be used to veto a change by throwing a <code>SQLException</code> ...@@ -1587,7 +1587,7 @@ The trigger can be used to veto a change by throwing a <code>SQLException</code>
<h2 id="compacting">Compacting a Database</h2> <h2 id="compacting">Compacting a Database</h2>
<p> <p>
Empty space in the database file re-used automatically. When closing the database, Empty space in the database file re-used automatically. When closing the database,
the database is automatically compacted for up to 1 second by default. To compact more, the database is automatically compacted for up to 200 milliseconds by default. To compact more,
use the SQL statement SHUTDOWN COMPACT. However re-creating the database may further use the SQL statement SHUTDOWN COMPACT. However re-creating the database may further
reduce the database size because this will re-build the indexes. reduce the database size because this will re-build the indexes.
Here is a sample function to do this: Here is a sample function to do this:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论