Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2449cd70
提交
2449cd70
authored
1月 15, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Serialized access mode documentation.
上级
4661db7b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
27 行增加
和
2 行删除
+27
-2
advanced.html
h2/src/docsrc/html/advanced.html
+21
-0
faq.html
h2/src/docsrc/html/faq.html
+5
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
2449cd70
...
@@ -48,6 +48,8 @@ Advanced
...
@@ -48,6 +48,8 @@ Advanced
Using the Recover Tool
</a><br
/>
Using the Recover Tool
</a><br
/>
<a
href=
"#file_locking_protocols"
>
<a
href=
"#file_locking_protocols"
>
File Locking Protocols
</a><br
/>
File Locking Protocols
</a><br
/>
<a
href=
"#file_locking_serialized"
>
File Locking Method 'Serialized'
</a><br
/>
<a
href=
"#sql_injection"
>
<a
href=
"#sql_injection"
>
Protection against SQL Injection
</a><br
/>
Protection against SQL Injection
</a><br
/>
<a
href=
"#remote_access"
>
<a
href=
"#remote_access"
>
...
@@ -841,6 +843,25 @@ share, two processes (running on different computers) could still open the same
...
@@ -841,6 +843,25 @@ share, two processes (running on different computers) could still open the same
database files, if they do not have a direct TCP/IP connection.
database files, if they do not have a direct TCP/IP connection.
</p>
</p>
<h2
id=
"file_locking_serialized"
>
File Locking Method 'Serialized'
</h2>
<p>
This locking mode allows to open multiple connections to the same database.
The connections may be opened from multiple processes and from different computers.
When writing to the database, access is automatically synchronized internally. Write operations
are slower than when using the server mode, and concurrency is relatively poor.
The advantage of this mode is that there is no need to start a server.
</p>
<p>
To enable this feature, append
<code>
;FILE_LOCK=SERIALIZED
</code>
to the database URL.
</p>
<p>
This feature is relatively new. When using it for production, please ensure
your use case is well tested (if possible with automated test cases).
To simulate opening the same database from multiple computers within
a test case, also append
<code>
;OPEN_NEW=TRUE
</code>
to the database URL
(this feature is not needed in production).
</p>
<h2
id=
"sql_injection"
>
Protection against SQL Injection
</h2>
<h2
id=
"sql_injection"
>
Protection against SQL Injection
</h2>
<h3>
What is SQL Injection
</h3>
<h3>
What is SQL Injection
</h3>
<p>
<p>
...
...
h2/src/docsrc/html/faq.html
浏览文件 @
2449cd70
...
@@ -155,12 +155,16 @@ In addition to that, running out of memory should be avoided.
...
@@ -155,12 +155,16 @@ In addition to that, running out of memory should be avoided.
In older versions, OutOfMemory errors while using the database could corrupt a databases.
In older versions, OutOfMemory errors while using the database could corrupt a databases.
</p>
</p>
<p>
<p>
Areas that are not fully tested:
Some areas of this database are not fully tested.
When using one of those features for production, please ensure your use case
is well tested (if possible with automated test cases).
Those areas are:
</p>
</p>
<ul>
<ul>
<li>
Platforms other than Windows XP, Linux, Mac OS X, or JVMs other than Sun 1.5 or 1.6
<li>
Platforms other than Windows XP, Linux, Mac OS X, or JVMs other than Sun 1.5 or 1.6
</li><li>
The features
<code>
AUTO_SERVER
</code>
and
</li><li>
The features
<code>
AUTO_SERVER
</code>
and
<code>
AUTO_RECONNECT
</code>
<code>
AUTO_RECONNECT
</code>
</li><li>
The file locking method 'Serialized'
</li><li>
The MVCC (multi version concurrency) mode
</li><li>
The MVCC (multi version concurrency) mode
</li><li>
Cluster mode, 2-phase commit, savepoints
</li><li>
Cluster mode, 2-phase commit, savepoints
</li><li>
24/7 operation
</li><li>
24/7 operation
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
2449cd70
...
@@ -628,4 +628,4 @@ galapagos pacific pastebin mystic posting mysticpaste reject prof tick freeing
...
@@ -628,4 +628,4 @@ galapagos pacific pastebin mystic posting mysticpaste reject prof tick freeing
sweden abbreviated xmx trede googlecode gustav standing hashes
sweden abbreviated xmx trede googlecode gustav standing hashes
decompressed expansion ziv abbreviated augments omitted gain
decompressed expansion ziv abbreviated augments omitted gain
subtracted maxed logical lempel increases sibling impersonate proper remembers
subtracted maxed logical lempel increases sibling impersonate proper remembers
moon centric adeptia workflows generalized bpchar binaries incremental
moon centric adeptia workflows generalized bpchar binaries incremental
poor
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论