Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
70b9adab
提交
70b9adab
authored
7月 18, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
c8d7f50f
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
6 行删除
+11
-6
advanced.html
h2/src/docsrc/html/advanced.html
+3
-2
features.html
h2/src/docsrc/html/features.html
+2
-2
performance.html
h2/src/docsrc/html/performance.html
+5
-2
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
70b9adab
...
@@ -1065,8 +1065,9 @@ then the iteration count is not required at all.
...
@@ -1065,8 +1065,9 @@ then the iteration count is not required at all.
<p>
<p>
The database files can be encrypted using two different algorithms: AES-128 and
The database files can be encrypted using two different algorithms: AES-128 and
XTEA (using 32 rounds). The reasons for supporting XTEA is performance
XTEA (using 32 rounds). The reasons for supporting XTEA is performance
(XTEA is about twice as fast as AES) and to have an alternative algorithm if
(XTEA is a bit faster as AES in some environments) and to have an alternative algorithm if AES is suddenly broken.
AES is suddenly broken.
Please note that the XTEA implementation used in this database only uses 32 rounds
and not 64 rounds as recommended by its inventor (as of 2010, the best known attack is on 27 rounds).
</p><p>
</p><p>
When a user tries to connect to an encrypted database, the combination of
When a user tries to connect to an encrypted database, the combination of
<code>
file@
</code>
and the file password is hashed using SHA-256. This hash value is
<code>
file@
</code>
and the file password is hashed using SHA-256. This hash value is
...
...
h2/src/docsrc/html/features.html
浏览文件 @
70b9adab
...
@@ -316,8 +316,8 @@ encrypted using AES-128 and XTEA encryption algorithms
...
@@ -316,8 +316,8 @@ encrypted using AES-128 and XTEA encryption algorithms
</tr><tr>
</tr><tr>
<td>
Computed Columns
</td>
<td>
Computed Columns
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes *6
</td>
<td
class=
"compareY"
>
Yes *6
</td>
</tr><tr>
</tr><tr>
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
70b9adab
...
@@ -262,6 +262,8 @@ and for each step a new connection is opened and then closed.
...
@@ -262,6 +262,8 @@ and for each step a new connection is opened and then closed.
<p>
<p>
The PolePosition is an open source benchmark. The algorithms are all quite simple.
The PolePosition is an open source benchmark. The algorithms are all quite simple.
It was developed / sponsored by db4o.
It was developed / sponsored by db4o.
This test was not run for a longer time, so please be aware that the results below
are for older database versions (H2 version 1.1, HSQLDB 1.8, Java 1.4).
</p>
</p>
<table
border=
"1"
class=
"bar"
>
<table
border=
"1"
class=
"bar"
>
<tr><th>
Test Case
</th><th>
Unit
</th><th>
H2
</th><th>
HSQLDB
</th><th>
MySQL
</th></tr>
<tr><th>
Test Case
</th><th>
Unit
</th><th>
H2
</th><th>
HSQLDB
</th><th>
MySQL
</th></tr>
...
@@ -583,13 +585,14 @@ System.out.println(prof.getTop(3));
...
@@ -583,13 +585,14 @@ System.out.println(prof.getTop(3));
<p>
<p>
To speed up large imports, consider using the following options temporarily:
To speed up large imports, consider using the following options temporarily:
</p>
</p>
<ul><li><code>
SET CACHE_SIZE
</code>
(a large cache is faster)
<ul><li><code>
SET LOG 0
</code>
(disabling the transaction log)
</li><li><code>
SET CACHE_SIZE
</code>
(a large cache is faster)
</li><li><code>
SET LOCK_MODE 0
</code>
(disable locking)
</li><li><code>
SET LOCK_MODE 0
</code>
(disable locking)
</li><li><code>
SET UNDO_LOG 0
</code>
(disable the session undo log)
</li><li><code>
SET UNDO_LOG 0
</code>
(disable the session undo log)
</li></ul>
</li></ul>
<p>
<p>
These options can be set in the database URL:
These options can be set in the database URL:
<code>
jdbc:h2:~/test;CACHE_SIZE=65536;LOCK_MODE=0;UNDO_LOG=0
</code>
.
<code>
jdbc:h2:~/test;
LOG=0;
CACHE_SIZE=65536;LOCK_MODE=0;UNDO_LOG=0
</code>
.
Most of those options are not recommended for regular use, that means you need to reset them after use.
Most of those options are not recommended for regular use, that means you need to reset them after use.
</p>
</p>
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
70b9adab
...
@@ -507,6 +507,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -507,6 +507,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
The error "table not found" is sometimes caused by using the wrong database.
</li><li>
The error "table not found" is sometimes caused by using the wrong database.
Add "(this database is empty)" to the exception message if applicable.
Add "(this database is empty)" to the exception message if applicable.
</li><li>
PostgreSQL compatibility: support escape with double \\.
</li><li>
PostgreSQL compatibility: support escape with double \\.
</li><li>
Document the TCP server "management_db". Maybe include the IP address of the client.
</li></ul>
</li></ul>
<h2>
Not Planned
</h2>
<h2>
Not Planned
</h2>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论