HSQLDB and .lobs file size

那年仲夏 提交于 2019-12-05 09:34:08

This is normal.

All the deleted lob spaces are recorded. After a CHECKPOINT, the spaces are reused if you insert new lobs.

In a production database there are recurring cycles of insert and delete. In the log run, the .lobs file size will not exceed the actual size of the lobs in the database by a very large amount.

Update:

The reason for .lobs file to grow until a checkpoint is to allow data recovery in case there is a system crash.

HSQLDB version 2.3.0 and later versions truncate the .lobs file at CHECKPOINT if there is empty space at the end of the file after deleting the lobs.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!