Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
180480ee
提交
180480ee
authored
8月 04, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
e64ccfd2
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
4322 行增加
和
4110 行删除
+4322
-4110
advanced.html
h2/src/docsrc/html/advanced.html
+27
-3
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
features.html
h2/src/docsrc/html/features.html
+1
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+3
-0
tutorial.html
h2/src/docsrc/html/tutorial.html
+5
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+1444
-1372
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+1444
-1372
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+1378
-1354
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+14
-6
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
180480ee
...
...
@@ -62,6 +62,8 @@ Advanced Topics
Settings Read from System Properties
</a><br
/>
<a
href=
"#server_bind_address"
>
Setting the Server Bind Address
</a><br
/>
<a
href=
"#file_system"
>
Pluggable File System
</a><br
/>
<a
href=
"#limits_limitations"
>
Limits and Limitations
</a><br
/>
<a
href=
"#glossary_links"
>
...
...
@@ -1118,6 +1120,28 @@ This setting is used for both regular server sockets and for SSL server sockets.
IPv4 and IPv6 address formats are supported.
</p>
<br
/><a
name=
"file_system"
></a>
<h2>
Pluggable File System
</h2>
<p>
This database supports a pluggable file system API. The file system implementation
is selected using a file name prefix. The following file systems are included:
</p>
<ul><li><b>
zip:
</b>
read-only zip-file based file system. Format: zip:/zipFileName!/fileName.
</li><li><b>
nio:
</b>
file system that uses FileChannel instead of RandomAccessFile (faster in some operating systems).
</li><li><b>
nioMapped:
</b>
file system that uses memory mapped files (faster in some operating systems).
</li><li><b>
split:
</b>
file system that splits files in 1 GB files (stackable with other file systems).
</li><li><b>
memFS:
</b>
in-memory file system (experimental; used for testing).
</li><li><b>
memLZF:
</b>
compressing in-memory file system (experimental; used for testing).
</li></ul>
<p>
As an example, to use the the
<b>
nio
</b>
file system, use the following database URL:
<code>
jdbc:h2:nio:~/test
</code>
.
</p>
<p>
To register a new file system, extend the classes org.h2.store.fs.FileSystem and FileObject,
and call the method FileSystem.register before using it.
</p>
<br
/><a
name=
"limits_limitations"
></a>
<h2>
Limits and Limitations
</h2>
<p>
...
...
@@ -1151,7 +1175,7 @@ OR X = 2 OR X = 2 OR X = 2 OR X = 2 OR X = 2
in order by, group by, having, and so on;
maximum rows per query;
maximum columns per table, columns per index, indexes per table, lob columns per table, and so on;
maxi
um row length, index row length, select row length;
maxi
mum row length, index row length, select row length;
maximum length of a varchar column, decimal column, literal in a statement.
</li><li>
For limitations on data types, see the documentation of the respective Java data type
or the data type documentation of this database.
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
180480ee
...
...
@@ -18,7 +18,11 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Support for Java 6 DatabaseMetaData.getTables, getColumns, getProcedures, and getProcedureColumns.
<ul><li>
Views using functions were not re-evaluated when necessary.
</li><li>
Improved MySQL compatibility for SHOW COLUMNS.
</li><li>
Improved PostgreSQL compatibility for timestamp literals with timezone.
</li><li>
Sergi Vladykin translated the error messages to Russian. Thanks a lot!
</li><li>
Support for Java 6 DatabaseMetaData.getTables, getColumns, getProcedures, and getProcedureColumns.
</li><li>
Issue 101: Rollback of a large transaction could fail.
</li><li>
Various bugfixes and improvements in the page store mechanism (still experimental).
</li><li>
The functions LENGTH, OCTET_LENGTH, and BIT_LENGTH now return BIGINT.
...
...
h2/src/docsrc/html/features.html
浏览文件 @
180480ee
...
...
@@ -348,7 +348,7 @@ Features
<td>
Footprint (jar/dll size)
</td>
<td>
~1 MB *5
</td>
<td>
~2 MB
</td>
<td>
~
6
00 KB
</td>
<td>
~
7
00 KB
</td>
<td>
~4 MB
</td>
<td>
~6 MB
</td>
</tr>
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
180480ee
...
...
@@ -435,6 +435,9 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
PostgreSQL compatibility: when in PG mode, treat BYTEA data like PG.
</li><li>
Support standard MERGE statement: http://en.wikipedia.org/wiki/Merge_%28SQL%29
</li><li>
MySQL compatibility: REPLACE http://dev.mysql.com/doc/refman/6.0/en/replace.html
</li><li>
Support =ANY(array) as in PostgreSQL.
</li><li>
IBM DB2 compatibility: support PREVIOUS VALUE FOR sequence.
</li><li>
MySQL compatibility: alter table add index i(c), add constraint c foreign key(c) references t(c);
</li></ul>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/html/tutorial.html
浏览文件 @
180480ee
...
...
@@ -619,6 +619,11 @@ BACKUP TO 'backup.zip'
The Backup tool (org.h2.tools.Backup) can not be used to create a online backup;
the database must not be in use while running this program.
</p>
<p>
Creating a backup while the database is running is not supported, except
if the file systems support creating snapshots. The problem is that it can't
be guaranteed that the data is copied in the right order.
</p>
<br
/><a
name=
"command_line_tools"
></a>
<h2>
Command Line Tools
</h2>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
180480ee
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
180480ee
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
180480ee
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
180480ee
...
...
@@ -295,8 +295,16 @@ java org.h2.test.TestAll timer
/*
PostgreSQL compatibility: 2001-02-03 08:20:31+01 (:minutes optional)
MySQL compatibility for "show columns from test"
LIKE: Use no default escape character, except for PostgreSQL and MySQL compatibility
See DatabaseMetaData.getSearchStringEscape
PostgreSQL: select no escape character by writing ESCAPE ''
drop table test;
create table test(id int);
insert into test values(1);
select * from test where '\' like '\' escape '';
select * from test where '\' like '\';
page store: TestBtreeIndex
better document that ddl statements commit
"This command commits an open transaction."
...
...
@@ -347,10 +355,10 @@ kill -9 `jps -l | grep "org.h2.test.TestAll" | cut -d " " -f 1`
test
.
runTests
();
TestPerformance
.
main
(
new
String
[]{
"-init"
,
"-db"
,
"1"
});
System
.
setProperty
(
SysProperties
.
H2_PAGE_STORE
,
"false"
);
test
.
pageStore
=
false
;
test
.
runTests
();
TestPerformance
.
main
(
new
String
[]{
"-init"
,
"-db"
,
"1"
});
//
System.setProperty(SysProperties.H2_PAGE_STORE, "false");
//
test.pageStore = false;
//
test.runTests();
//
TestPerformance.main(new String[]{ "-init", "-db", "1"});
}
System
.
out
.
println
(
TestBase
.
formatTime
(
System
.
currentTimeMillis
()
-
time
)
+
" total"
);
}
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
180480ee
...
...
@@ -596,4 +596,4 @@ ordsys ordplugins mgmt dmsys exfsys mdsys sysman informtn textarray tmzone cdo
emf decompile streamed setmaxlengthinplacelob setcompresslob compressing
compressible subclass ints seeks kilobytes capitalized sqlj psm sigmod acm
shrinking bsdiff toward markets hispanic rad dinamica treat contributing
fraction
\ No newline at end of file
fraction splits uni stackable snapshots
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论