HSQLDB URL properties
程序员文章站
2022-05-24 17:52:08
...
With Spring boot and YAML, the datasource can be configured like following
spring:
datasource:
url: jdbc:hsqldb:file:data/tmpdb;shutdown=true;hsqldb.default_table_type=cached;hsqldb.log_data=true;hsqldb.log_size=2;hsqldb.defrag=2;hsqldb.cache_rows=2048;hsqldb.result_max_memory_rows=3000;runtime.gc_interval=4000
With log enabled, once the log file reaches the specified size 2M, a CHECKPOINT action will be performed automatically and save data. In turn then, the hsqldb.defrag setting will be examined to see if a defrag should be run as well. When hsqldb.defrag=2, the defrag will be run only when 2% of the data file is not used after it's triggerd by the CHECKPOINT action.
hsqldb.default_table_type=cached : Make sure tables are created with CREATE CACHED TABLE.
推荐阅读
-
DZ 3.2 URL 伪静态配置 教程 - shuijilove
-
php 去掉Url里的 indexphp
-
PHP为表单获取的URL 地址预设 http 字符串函数代码_PHP教程
-
php curl 多线程抓取数据会判断分别来自哪个url吗
-
php中使用parse_url对网址进行解析的实现代码parse_url详解
-
?Not Found The requested URL /www/index.php was not found on this server.解决办法
-
用js进行url编码后用php反解以及用php实现js的escape功能函数总
-
php 跳转函数 与获取当前页面的URL地址
-
PHP实现通过URL提取根域名_php技巧
-
php快速url重写实例代码