Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
4485dc9f
提交
4485dc9f
authored
3月 01, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
245c5de4
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
features.html
h2/src/docsrc/html/features.html
+4
-3
performance.html
h2/src/docsrc/html/performance.html
+2
-2
没有找到文件。
h2/src/docsrc/html/features.html
浏览文件 @
4485dc9f
...
...
@@ -604,9 +604,10 @@ In this case, the database URL must include a name. Example: <code>jdbc:h2:mem:d
Accessing the same database using this URL only works within the same virtual machine and
class loader environment.
</p><p>
In-memory can be accessed remotely
(or from multiple processes in the same machine) using TCP/IP or SSL/TLS.
An example database URL is:
<code>
jdbc:h2:tcp://localhost/mem:db1
</code>
.
To access an in-memory database from another process or from another computer,
you need to start a TCP server in the same process as the in-memory database was created.
The other processes then need to access the database over TCP/IP or SSL/TLS,
using a database URL such as:
<code>
jdbc:h2:tcp://localhost/mem:db1
</code>
.
</p><p>
By default, closing the last connection to a database closes the database.
For an in-memory database, this means the content is lost.
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
4485dc9f
...
...
@@ -668,8 +668,8 @@ So this index contains the following data:
<p>
When the database uses an index to query the data, it searches the index for the given data,
and (if required) reads the remaining columns in the main data table (retrieved using the row id).
An index on city, name, and first name allows to quickly search for rows when the city, name, and first name are known.
If only the city and name, or only the city is known, then th
e index is also used
.
An index on city, name, and first name
(multi-column index)
allows to quickly search for rows when the city, name, and first name are known.
If only the city and name, or only the city is known, then th
is index is also used (so creating an additional index on just the city is not needed)
.
This index is also used when reading all rows, sorted by the indexed columns.
However, if only the first name is known, then this index is not used:
</p>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论