Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a5505f83
提交
a5505f83
authored
8月 08, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
32e14584
全部展开
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
1498 行增加
和
1410 行删除
+1498
-1410
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
history.html
h2/src/docsrc/html/history.html
+3
-3
performance.html
h2/src/docsrc/html/performance.html
+20
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+495
-468
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+495
-468
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+478
-469
TestBtreeIndex.java
h2/src/test/org/h2/test/synth/TestBtreeIndex.java
+1
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
a5505f83
...
...
@@ -18,7 +18,11 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Issue 103: MVCC: the setting MAX_MEMORY_UNDO can currently not be supported when using
<ul><li>
New committer: Sam Van Oort has been contributing to H2 since quite some time
in many ways (on the mailing list, documentation, and in the form of patches).
He is now a committer.
</li><li>
JaQu: the order of the fields in the database no longer needs to match the order in the database.
</li><li>
Issue 103: MVCC: the setting MAX_MEMORY_UNDO can currently not be supported when using
multi-version concurrency, that means the complete undo log must fit in memory.
</li><li>
LIKE: the escape mechanism can now be disable using ESCAPE ''.
The default escape character can be changed using the system property h2.defaultEscape.
...
...
h2/src/docsrc/html/history.html
浏览文件 @
a5505f83
...
...
@@ -99,9 +99,7 @@ Many thanks for those who helped by finding and reporting bugs, gave valuable fe
spread the word and have translated this project. Also many thanks to the donors who contributed
via PayPal:
</p>
<ul>
<li>
Fyodor Kupolov, Denmark
</li><li><a
href=
"http://skycash.com"
>
SkyCash, Poland
</a>
<ul><li><a
href=
"http://skycash.com"
>
SkyCash, Poland
</a>
</li><li>
Donald Bleyl, USA
</li><li>
lumber-mill.co.jp, Japan
</li><li>
Frank Berger, Germany
...
...
@@ -119,6 +117,8 @@ via PayPal:
</li><li>
William Osmond, USA
</li><li>
Joachim Ansorg, Germany
</li><li>
Oliver Soerensen, Germany
</li><li>
Christos Vasilakis, Greece
</li><li>
Fyodor Kupolov, Denmark
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
a5505f83
...
...
@@ -25,7 +25,7 @@ Performance
<a
href=
"#database_profiling"
>
Database Profiling
</a><br
/>
<a
href=
"#database_performance_tuning"
>
Performance Tuning
</a><br
/>
Database
Performance Tuning
</a><br
/>
<a
href=
"#fast_import"
>
Fast Database Import
</a><br
/>
...
...
@@ -461,6 +461,25 @@ The SQL statement ANALYZE can be used to automatically estimate the selectivity
This command should be run from time to time to improve the query plans generated by the optimizer.
</p>
<h3>
In-Memory (Hash) Indexes
</h3>
<p>
Using in-memory indexes, specially in-memory hash indexes, can speed up
queries and data manipulation.
</p>
<p>
In-memory indexes are automatically used
for in-memory databases, but can also be created for persistent databases
using
<code>
CREATE MEMORY TABLE
</code>
. In many cases,
the rows itself will also be kept in-memory. Please note this may cause memory
problems for large tables.
</p>
<p>
In-memory hash indexes are backed by a hash table and are usually faster than
regular indexes. However, hash indexes only supports direct lookup (WHERE ID = ?)
but not range scan (WHERE ID
<
?). To use hash indexes, use HASH as in:
<code>
CREATE UNIQUE HASH INDEX
</code>
and
<code>
CREATE TABLE ...(ID INT PRIMARY KEY HASH,...)
</code>
.
</p>
<h3>
Optimization Examples
</h3>
<p>
See
<code>
src/test/org/h2/samples/optimizations.sql
</code>
for a few examples of queries
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
a5505f83
...
...
@@ -344,6 +344,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Support SCOPE_IDENTITY().
</li><li>
Support GRANT SELECT, UPDATE ON *.
</li><li>
Test Eclipse DTP.
</li><li>
Pure SQL triggers (example: update parent table if the child table is changed).
</li><li>
H2 Console: autocomplete: keep the previous setting
</li><li>
MySQL, MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes.
</li><li>
executeBatch: option to stop at the first failed statement.
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
a5505f83
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
a5505f83
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
a5505f83
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/test/org/h2/test/synth/TestBtreeIndex.java
浏览文件 @
a5505f83
...
...
@@ -70,6 +70,7 @@ public class TestBtreeIndex extends TestBase {
private
void
testOne
(
int
seed
)
throws
SQLException
{
org
.
h2
.
Driver
.
load
();
deleteDb
(
"index"
);
printTime
(
"testIndex "
+
seed
);
Random
random
=
new
Random
(
seed
);
int
distinct
,
prefixLength
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论