Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
68d7ff3f
提交
68d7ff3f
authored
9月 03, 2013
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Formatting, javadocs.
上级
b3e01df0
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
683 行增加
和
587 行删除
+683
-587
help.csv
h2/src/docsrc/help/help.csv
+3
-3
changelog.html
h2/src/docsrc/html/changelog.html
+4
-4
mvstore.html
h2/src/docsrc/html/mvstore.html
+4
-6
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+231
-189
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+231
-189
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+204
-190
SortOrder.java
h2/src/main/org/h2/result/SortOrder.java
+6
-6
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
68d7ff3f
...
@@ -1474,9 +1474,9 @@ SET RETENTION_TIME int
...
@@ -1474,9 +1474,9 @@ SET RETENTION_TIME int
This property is only used when using the MVStore storage engine.
This property is only used when using the MVStore storage engine.
How long to retain old, persisted data, in milliseconds.
How long to retain old, persisted data, in milliseconds.
The default is 45000 (45 seconds), 0 means overwrite data as early as possible.
The default is 45000 (45 seconds), 0 means overwrite data as early as possible.
It is assumed that a file system and hard disk will flush all write buffers within this time.
It is assumed that a file system and hard disk will flush all write buffers within this time.
Using a lower value might be dangerous, unless the file system and hard disk flush the buffers earlier.
Using a lower value might be dangerous, unless the file system and hard disk flush the buffers earlier.
To manually flush the buffers, use CHECKPOINT SYNC,
To manually flush the buffers, use CHECKPOINT SYNC,
however please note that according to various tests this does not always work as expected
however please note that according to various tests this does not always work as expected
depending on the operating system and hardware.
depending on the operating system and hardware.
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
68d7ff3f
...
@@ -22,14 +22,14 @@ Change Log
...
@@ -22,14 +22,14 @@ Change Log
replacement string was invalid.
replacement string was invalid.
</li><li>
A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every
</li><li>
A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every
MAX_LOG_SIZE, so that the transaction log doesn't grow as large.
MAX_LOG_SIZE, so that the transaction log doesn't grow as large.
</li><li>
MVStore table engine: new setting "retention_time" to configure the
</li><li>
MVStore table engine: new setting "retention_time" to configure the
time to retain old data. The default is 45 seconds.
time to retain old data. The default is 45 seconds.
</li><li>
The method TableEngine.createTable() now returns a Table object.
</li><li>
The method TableEngine.createTable() now returns a Table object.
</li><li>
For read-only databases, for the trace level "debug",
</li><li>
For read-only databases, for the trace level "debug",
the trace info is written to the temp directory.
the trace info is written to the temp directory.
</li><li>
Closing the file lock will now wait until the background thread is stopped.
</li><li>
Closing the file lock will now wait until the background thread is stopped.
</li><li>
In version 1.3.172, a performance regression was introduced when
</li><li>
In version 1.3.172, a performance regression was introduced when
fixing the issue 389 (when there is a multi-column primary key,
fixing the issue 389 (when there is a multi-column primary key,
H2 does not seem to always pick the right index). This was related to
H2 does not seem to always pick the right index). This was related to
boosting an index that matches the "order by" column list
boosting an index that matches the "order by" column list
(the wrong index was used in some cases).
(the wrong index was used in some cases).
...
@@ -50,8 +50,8 @@ Change Log
...
@@ -50,8 +50,8 @@ Change Log
</li><li>
Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue
</li><li>
Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue
sessions are creating large transactions.
sessions are creating large transactions.
</li><li>
Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
</li><li>
Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
</li><li>
When the H2 parser fails to parse a SQL statement, throw a more specific exception that
</li><li>
The BNF tool and the autocomplete feature are exported in OSGi,
contains extra information to make
it possible for smart editors to do autocomplete. Patch from Nicolas Fortin.
which makes
it possible for smart editors to do autocomplete. Patch from Nicolas Fortin.
</li><li>
Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
</li><li>
Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
</li><li>
Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown.
</li><li>
Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown.
Now they are cleared out at every commit.
Now they are cleared out at every commit.
...
...
h2/src/docsrc/html/mvstore.html
浏览文件 @
68d7ff3f
...
@@ -450,13 +450,11 @@ This is work in progress. To try it out, append
...
@@ -450,13 +450,11 @@ This is work in progress. To try it out, append
<code>
;MV_STORE=TRUE
</code>
<code>
;MV_STORE=TRUE
</code>
to the database URL. In general, functionality and performance should be
to the database URL. In general, functionality and performance should be
similar than the current default storage engine (the page store).
similar than the current default storage engine (the page store).
There are a few features that have not been implemented yet or are not complete:
There are a few features that have not been implemented yet or are not complete,
for example there is still a file named
<code>
.h2.db
</code>
,
and the
<code>
.lock.db
</code>
file is still used to lock a database
(long term, the plan is to no longer use those files).
</p>
</p>
<ul><li>
There is still a file
<code>
.h2.db
</code>
,
and the
<code>
.lock.db
</code>
file is still used to lock a database
(long term, the plan is to no longer use those files).
</li><li>
The database file(s) sometimes do not shrink as expected.
</li></ul>
<h2
id=
"differences"
>
Similar Projects and Differences to Other Storage Engines
</h2>
<h2
id=
"differences"
>
Similar Projects and Differences to Other Storage Engines
</h2>
<p>
<p>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
68d7ff3f
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
68d7ff3f
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
68d7ff3f
差异被折叠。
点击展开。
h2/src/main/org/h2/result/SortOrder.java
浏览文件 @
68d7ff3f
...
@@ -56,17 +56,17 @@ public class SortOrder implements Comparator<Value[]> {
...
@@ -56,17 +56,17 @@ public class SortOrder implements Comparator<Value[]> {
private
static
final
int
DEFAULT_NULL_SORT
=
SysProperties
.
SORT_NULLS_HIGH
?
1
:
-
1
;
private
static
final
int
DEFAULT_NULL_SORT
=
SysProperties
.
SORT_NULLS_HIGH
?
1
:
-
1
;
private
final
Database
database
;
private
final
Database
database
;
/**
/**
* The column indexes of the order by expressions within the query.
* The column indexes of the order by expressions within the query.
*/
*/
private
final
int
[]
queryColumnIndexes
;
private
final
int
[]
queryColumnIndexes
;
/**
/**
* The sort type bit mask (DESCENDING, NULLS_FIRST, NULLS_LAST).
* The sort type bit mask (DESCENDING, NULLS_FIRST, NULLS_LAST).
*/
*/
private
final
int
[]
sortTypes
;
private
final
int
[]
sortTypes
;
/**
/**
* The order list.
* The order list.
*/
*/
...
@@ -213,17 +213,17 @@ public class SortOrder implements Comparator<Value[]> {
...
@@ -213,17 +213,17 @@ public class SortOrder implements Comparator<Value[]> {
* 0} as the first order by expression (the column "id") is the second
* 0} as the first order by expression (the column "id") is the second
* column of the query, and the second order by expression ("name") is the
* column of the query, and the second order by expression ("name") is the
* first column of the query.
* first column of the query.
*
*
* @return the list
* @return the list
*/
*/
public
int
[]
getQueryColumnIndexes
()
{
public
int
[]
getQueryColumnIndexes
()
{
return
queryColumnIndexes
;
return
queryColumnIndexes
;
}
}
/**
/**
* Get the column for the given table filter, if the sort column is for this
* Get the column for the given table filter, if the sort column is for this
* filter.
* filter.
*
*
* @param index the column index (0, 1,..)
* @param index the column index (0, 1,..)
* @param filter the table filter
* @param filter the table filter
* @return the column, or null
* @return the column, or null
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论