Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
c7038f81
提交
c7038f81
authored
5月 10, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
d00707ae
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1843 行增加
和
1734 行删除
+1843
-1734
changelog.html
h2/src/docsrc/html/changelog.html
+9
-1
download.html
h2/src/docsrc/html/download.html
+1
-1
features.html
h2/src/docsrc/html/features.html
+8
-4
performance.html
h2/src/docsrc/html/performance.html
+6
-0
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+611
-572
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+611
-572
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+585
-572
cheatSheet.html
h2/src/installer/cheatSheet.html
+10
-10
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
c7038f81
...
@@ -18,7 +18,15 @@ Change Log
...
@@ -18,7 +18,15 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
<ul><li>
H2 Console: command line settings are now longer stored in the properties file.
They are now only used for the current process, except if they are explicitly saved.
</li><li>
Cache: support for a second level soft-references cache.
To enable it, append ;CACHE_TYPE=SOFT_LRU (or SOFT_TQ) to the database URL, or
set the system property h2.cacheTypeDefault to "SOFT_LRU" / "SOFT_TQ".
Enabling the second level cache reduces performance for
small databases, but speeds up large databases. It makes sense to use it
if the available memory size is unknown. Thanks a lot to Jan Kotek!
</li><li>
</li></ul>
</li></ul>
<h2>
Version 1.1.112 (2009-05-01)
</h2>
<h2>
Version 1.1.112 (2009-05-01)
</h2>
...
...
h2/src/docsrc/html/download.html
浏览文件 @
c7038f81
...
@@ -38,7 +38,7 @@ Downloads
...
@@ -38,7 +38,7 @@ Downloads
<p>
<p>
<a
href=
"http://repo2.maven.org/maven2/com/h2database/h2/${version}/h2-${version}.jar"
>
Maven.org
</a><br
/>
<a
href=
"http://repo2.maven.org/maven2/com/h2database/h2/${version}/h2-${version}.jar"
>
Maven.org
</a><br
/>
<a
href=
"http://hsql.sourceforge.net/m2-repo/com/h2database/h2/${version}/h2-${version}.jar"
>
Sourceforge.net
</a><br
/>
<a
href=
"http://hsql.sourceforge.net/m2-repo/com/h2database/h2/${version}/h2-${version}.jar"
>
Sourceforge.net
</a><br
/>
<a
href=
"http://www.h2database.com/automated/h2-latest.jar"
"
>
Latest Automated Build (not released)
</a>
<a
href=
"http://www.h2database.com/automated/h2-latest.jar"
>
Latest Automated Build (not released)
</a>
</p>
</p>
<h3>
Subversion Source Repository
</h3>
<h3>
Subversion Source Repository
</h3>
...
...
h2/src/docsrc/html/features.html
浏览文件 @
c7038f81
...
@@ -1661,13 +1661,17 @@ CACHE_SIZE. This setting can be set in the database connection URL
...
@@ -1661,13 +1661,17 @@ CACHE_SIZE. This setting can be set in the database connection URL
SET CACHE_SIZE size.
SET CACHE_SIZE size.
</p><p>
</p><p>
This database supports two cache page replacement algorithms: LRU (the default) and
This database supports two cache page replacement algorithms: LRU (the default) and
2
Q. For LRU, the pages that were least frequently used are removed from the
T
Q. For LRU, the pages that were least frequently used are removed from the
cache if it becomes full. The
2Q
algorithm is a bit more complicated: basically two
cache if it becomes full. The
TQ (Two Queue, also called 2Q)
algorithm is a bit more complicated: basically two
queues are used.
The 2Q algorithm
is more resistant to table scans, however the overhead
queues are used.
It
is more resistant to table scans, however the overhead
is a bit higher compared to the LRU. To use the cache algorithm
2
Q, use a database URL
is a bit higher compared to the LRU. To use the cache algorithm
T
Q, use a database URL
of the form jdbc:h2:~/test;CACHE_TYPE=TQ. The cache algorithm cannot be changed
of the form jdbc:h2:~/test;CACHE_TYPE=TQ. The cache algorithm cannot be changed
once the database is open.
once the database is open.
</p><p>
</p><p>
Also supported is a second level soft reference cache. Rows in this cache are only garbage collected
on low memory. By default the second level cache is disabled. To enable it,
use the prefix SOFT_. Example: jdbc:h2:~/test;CACHE_TYPE=SOFT_LRU .
</p><p>
To get information about page reads and writes, and the current caching algorithm in use,
To get information about page reads and writes, and the current caching algorithm in use,
call SELECT * FROM INFORMATION_SCHEMA.SETTINGS. The number of pages read / written
call SELECT * FROM INFORMATION_SCHEMA.SETTINGS. The number of pages read / written
is listed for the data and index file.
is listed for the data and index file.
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
c7038f81
...
@@ -451,4 +451,10 @@ See <code>src/test/org/h2/samples/optimizations.sql</code> for a few examples of
...
@@ -451,4 +451,10 @@ See <code>src/test/org/h2/samples/optimizations.sql</code> for a few examples of
that benefit from special optimizations built into the database.
that benefit from special optimizations built into the database.
</p>
</p>
<h3>
Cache Size and Type
</h3>
<p>
By default the cache size of H2 is quite small. Consider using a larger cache size, or enable
the second level soft reference cache. See also
<a
href=
"features.html#cache_settings"
>
Cache Settings
</a>
.
</p>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/html/roadmap.html
浏览文件 @
c7038f81
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
c7038f81
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
c7038f81
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
c7038f81
差异被折叠。
点击展开。
h2/src/installer/cheatSheet.html
浏览文件 @
c7038f81
...
@@ -114,7 +114,7 @@ li {
...
@@ -114,7 +114,7 @@ li {
<b>
Settings
</b><br
/>
<b>
Settings
</b><br
/>
<code>
jdbc:h2:..;MODE=MySQL
</code>
compatibility (or HSQLDB,...)
<br
/>
<code>
jdbc:h2:..;MODE=MySQL
</code>
compatibility (or HSQLDB,...)
<br
/>
<code>
jdbc:h2:..;TRACE_LEVEL_FILE=3
</code>
log to .trace.db
<br
/>
<code>
jdbc:h2:..;TRACE_LEVEL_FILE=3
</code>
log to .trace.db
<br
/>
<p>
<
/
p>
<h2>
Documentation
</h2>
<h2>
Documentation
</h2>
Reference:
Reference:
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
c7038f81
...
@@ -588,4 +588,4 @@ animate scaladoc models disadvantages vladykin sergi trims requesting
...
@@ -588,4 +588,4 @@ animate scaladoc models disadvantages vladykin sergi trims requesting
handing bonita placed euros embeds reliability singular unregister quotas
handing bonita placed euros embeds reliability singular unregister quotas
overall httpdocs tigris eclemma separates underscore yajsw she her truncating
overall httpdocs tigris eclemma separates underscore yajsw she her truncating
relocating smtps smtp osde joist catching guesses delimiters shortlist sheet
relocating smtps smtp osde joist catching guesses delimiters shortlist sheet
rowspan cheat
rowspan cheat partitioning datepart
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论