Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
0e440644
提交
0e440644
authored
8月 02, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improved docs
上级
7fa0c5b5
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
22 行增加
和
35 行删除
+22
-35
advanced.html
h2/src/docsrc/html/advanced.html
+21
-10
faq.html
h2/src/docsrc/html/faq.html
+1
-14
features.html
h2/src/docsrc/html/features.html
+0
-11
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
0e440644
...
...
@@ -62,8 +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=
"#limitations"
>
Limitations
</a><br
/>
<a
href=
"#limit
s_limit
ations"
>
Limit
s and Limit
ations
</a><br
/>
<a
href=
"#glossary_links"
>
Glossary and Links
</a><br
/>
...
...
@@ -1118,20 +1118,26 @@ 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=
"limitations"
></a>
<h2>
Limitations
</h2>
<br
/><a
name=
"limit
s_limit
ations"
></a>
<h2>
Limit
s and Limit
ations
</h2>
<p>
This database has the following known limitations:
</p>
<ul>
<li>
The maximum file size is currently 256 GB for the data, and 256 GB for the index.
This number is excluding BLOB and CLOB data: every CLOB or BLOB can be up to 256 GB as well.
<li>
Database file size limits (excluding BLOB and CLOB data):
With the default storage mechanism, the maximum file size is currently 256 GB for the data, and 256 GB for the index.
With the page store (experimental): 4 TB or higher.
</li><li>
BLOB and CLOB size limit: every CLOB or BLOB can be up to 256 GB.
</li><li>
The maximum file size for FAT or FAT32 file systems is 4 GB. That means when using FAT or FAT32,
the limit is 4 GB for the data. This is the limitation of the file system. The database does provide a
workaround for this problem, it is to use the file name prefix 'split:'. In that case files are split into
files of 1 GB by default. An example database URL is:
<code>
jdbc:h2:split:~/test
</code>
.
</li><li>
There is a limit on the complexity of SQL statements.
</li><li>
The maximum number of rows per table is 2'147'483'648.
</li><li>
Main memory requirements: The larger the database, the more main memory is required.
With the default storage mechanism, the minimum main memory required for a 12 GB database is around 240 MB.
With the page store (experimental), the minimum main memory required is much lower, around 1 MB for each 8 GB database file size.
</li><li>
Limit on the complexity of SQL statements.
Statements of the following form will result in a stack overflow exception:
<pre>
SELECT * FROM DUAL WHERE X = 1
...
...
@@ -1139,9 +1145,14 @@ OR X = 2 OR X = 2 OR X = 2 OR X = 2 OR X = 2
-- repeat previous line 500 times --
</pre>
</li><li>
There is no limit for the following entities, except the memory and storage capacity:
maximum identifier length, maximum number of tables, maximum number of columns,
maximum number of indexes, maximum number of parameters,
maximum number of triggers, and maximum number of other database objects.
maximum identifier length (table name, column name, and so on);
maximum number of tables, columns, indexes, triggers, and other database objects;
maximum statement length, number of parameters per statement, tables per statement, expressions
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;
maxium 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.
</li></ul>
...
...
h2/src/docsrc/html/faq.html
浏览文件 @
0e440644
...
...
@@ -117,20 +117,7 @@ Example: jdbc:h2:file:C:/data/test
<br
/><a
name=
"size_limit"
></a>
<h3>
What is the Size Limit (Maximum Size) of a Database?
</h3>
<p>
The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data:
every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
</p>
<p>
The maximum number of rows per table is 2'147'483'648.
</p>
<p>
The maximum file size for FAT or FAT32 file systems is usually 4 GB.
The database does provide a workaround for this problem, it is to use the file
name prefix 'split:'. See also Advanced / Limitations.
</p>
<p>
The larger the database, the more main memory is required. Currently the minimum main memory required for a 12 GB database
is around 240 MB.
See
<a
href=
"advanced.html#limits_limitations"
>
Limits and Limitations
</a>
.
</p>
<br
/><a
name=
"reliable"
></a>
...
...
h2/src/docsrc/html/features.html
浏览文件 @
0e440644
...
...
@@ -19,8 +19,6 @@ Features
<a
href=
"#feature_list"
>
Feature List
</a><br
/>
<a
href=
"#limitations"
>
Limitations
</a><br
/>
<a
href=
"#comparison"
>
Comparison to Other Database Engines
</a><br
/>
<a
href=
"#products_work_with"
>
...
...
@@ -154,15 +152,6 @@ Features
</li><li>
Well tested (high code coverage, randomized stress tests)
</li></ul>
<br
/><a
name=
"limitations"
></a>
<h2>
Limitations
</h2>
<p>
For the list of limitations, please have a look at the road map page at:
<a
href=
"http://www.h2database.com/html/roadmap.html"
>
http://www.h2database.com/html/roadmap.html
</a>
</p>
<br
/><a
name=
"comparison"
></a>
<h2>
Comparison to Other Database Engines
</h2>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论