Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
08ef2638
提交
08ef2638
authored
6月 24, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
dc5f9f44
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
46 行删除
+24
-46
advanced.html
h2/src/docsrc/html/advanced.html
+3
-1
features.html
h2/src/docsrc/html/features.html
+18
-28
mainWeb.html
h2/src/docsrc/html/mainWeb.html
+3
-17
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
08ef2638
...
...
@@ -178,12 +178,13 @@ This database supports the following transaction isolation levels:
<ul>
<li><b>
Read Committed
</b><br
/>
This is the default level.
Read locks are released immediately.
Read locks are released immediately
after executing the statement, but write locks are kept until the transaction commits
.
Higher concurrency is possible when using this level.
<br
/>
To enable, execute the SQL statement
<code>
SET LOCK_MODE 3
</code><br
/>
or append
<code>
;LOCK_MODE=3
</code>
to the database URL:
<code>
jdbc:h2:~/test;LOCK_MODE=3
</code>
</li><li>
<b>
Serializable
</b><br
/>
Both read locks and write locks are kept until the transaction commits.
To enable, execute the SQL statement
<code>
SET LOCK_MODE 1
</code><br
/>
or append
<code>
;LOCK_MODE=1
</code>
to the database URL:
<code>
jdbc:h2:~/test;LOCK_MODE=1
</code>
</li><li><b>
Read Uncommitted
</b><br
/>
...
...
@@ -225,6 +226,7 @@ to write to a table (update or delete a row), an exclusive lock is required. To
exclusive lock, other connection must not have any locks on the object. After the
connection commits, all locks are released.
This database keeps all locks in memory.
When releasing a lock, one of the waiting connections is picked at random.
</p>
<h3>
Lock Timeout
</h3>
...
...
h2/src/docsrc/html/features.html
浏览文件 @
08ef2638
...
...
@@ -194,19 +194,6 @@ encrypted using AES-128 and XTEA encryption algorithms
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
</tr><tr>
<td>
Transaction Isolation
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Cost Based Optimizer
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Explain Plan
</td>
<td
class=
"compareY"
>
Yes
</td>
...
...
@@ -225,7 +212,7 @@ encrypted using AES-128 and XTEA encryption algorithms
<td>
Encrypted Database
</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=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
</tr><tr>
...
...
@@ -253,7 +240,7 @@ encrypted using AES-128 and XTEA encryption algorithms
<td>
User-Defined Datatypes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
...
...
@@ -264,24 +251,24 @@ encrypted using AES-128 and XTEA encryption algorithms
<td
class=
"compareN"
>
Many
</td>
<td
class=
"compareN"
>
Many
</td>
</tr><tr>
<td>
Table
Level Locking
</td>
<td
class=
"compareY"
>
Yes
</td>
<td>
Row
Level Locking
</td>
<td
class=
"compareY"
>
Yes
*9
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes *9
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Row Level Locking
</td>
<td
class=
"compareY"
>
Yes *9
</td>
<td>
Multi Version Concurrency
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Multi Version Concurrency
</td>
<td>
Multi-Threaded Statement Processing
</td>
<td
class=
"compareN"
>
No *11
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
...
...
@@ -295,7 +282,7 @@ encrypted using AES-128 and XTEA encryption algorithms
<td>
Updatable Result Sets
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes *7
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
...
...
@@ -323,7 +310,7 @@ encrypted using AES-128 and XTEA encryption algorithms
<td>
Information Schema
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No *8
</td>
<td
class=
"compare
N"
>
No *8
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
...
...
@@ -344,14 +331,14 @@ encrypted using AES-128 and XTEA encryption algorithms
<td>
Custom Aggregate Functions
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compare
N"
>
No
</td>
<td
class=
"compare
Y"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Footprint (jar/dll size)
</td>
<td>
~1 MB *5
</td>
<td>
~2 MB
</td>
<td>
~
700 K
B
</td>
<td>
~
1 M
B
</td>
<td>
~4 MB
</td>
<td>
~6 MB
</td>
</tr>
...
...
@@ -365,7 +352,10 @@ encrypted using AES-128 and XTEA encryption algorithms
*6 PostgreSQL supports functional indexes.
<br
/>
*7 Derby only supports updatable result sets if the query is not sorted.
<br
/>
*8 Derby and HSQLDB don't support standard compliant information schema tables.
<br
/>
*9 H2 supports row level locks when using multi version concurrency.
*9 When using MVCC (multi version concurrency).
<br
/>
*10 Derby and HSQLDB
<a
href=
"http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29"
>
don't hide hide data patterns well
</a>
.
<br
/>
*11 The MULTI_THREADED option is not enabled by default, and not yet supported when using MVCC.
</p>
<h3>
Derby and HSQLDB
</h3>
...
...
h2/src/docsrc/html/mainWeb.html
浏览文件 @
08ef2638
...
...
@@ -103,24 +103,10 @@ Welcome to H2, the Java SQL database. The main features of H2 are:
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
</tr><tr>
<td>
Transaction Isolation
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Cost Based Optimizer
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Encrypted Database
</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=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
</tr><tr>
...
...
@@ -141,14 +127,14 @@ Welcome to H2, the Java SQL database. The main features of H2 are:
<td>
Multi Version Concurrency
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Footprint (jar/dll size)
</td>
<td>
~1 MB
</td>
<td>
~2 MB
</td>
<td>
~
600 K
B
</td>
<td>
~
1 M
B
</td>
<td>
~4 MB
</td>
<td>
~6 MB
</td>
</tr>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论