Why is my H2 database 7x larger on disk than it should be?

前端 未结 2 545
轮回少年
轮回少年 2021-01-29 07:26

I have an H2 database that has ballooned to several Gigabytes in size, causing all sorts of operational problems. The database size didn\'t seem right. So I took one little slic

2条回答
  •  失恋的感觉
    2021-01-29 08:17

    There's always indices, etc. to be taken into account.

    Can you try:

    CALL DISK_SPACE_USED('my_table');

    Also, I would also recommend running SHUTDOWN DEFRAG and calculating the size again.

提交回复
热议问题