最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

hsqldb - Hypersql (HSQL) startup time and heap memory uses - Stack Overflow

programmeradmin0浏览0评论

I am using HSQL with java, HSQL database file size is 3 GB then it need 10 GB heap memory and approx. 5-7 minute database boot time while creating datasource.

Need suggestions to bring down heap memory and startup time, our prod instance is approx 10GB and it requires 30-40 GB RAM and 10 minutes time.

I am using HSQL with java, HSQL database file size is 3 GB then it need 10 GB heap memory and approx. 5-7 minute database boot time while creating datasource.

Need suggestions to bring down heap memory and startup time, our prod instance is approx 10GB and it requires 30-40 GB RAM and 10 minutes time.

Share Improve this question asked Feb 5 at 19:44 ashuashu 1
Add a comment  | 

1 Answer 1

Reset to default 0

You are using MEMORY tables with all data read and loaded into heap memory at boot time. Your numbers are normal for this type of database.

You can change the type of your large tables to CACHED to reduce heap use. Please read the HSQLDB Guide http://hsqldb.org/doc/2.0/guide/management-chapt.html#mtc_table_types

发布评论

评论列表(0)

  1. 暂无评论