Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a72b616e
提交
a72b616e
authored
7月 17, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
6e06034e
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
25 行删除
+26
-25
faq.html
h2/src/docsrc/html/faq.html
+0
-5
features.html
h2/src/docsrc/html/features.html
+4
-12
performance.html
h2/src/docsrc/html/performance.html
+0
-6
Csv.java
h2/src/main/org/h2/tools/Csv.java
+22
-2
没有找到文件。
h2/src/docsrc/html/faq.html
浏览文件 @
a72b616e
...
...
@@ -236,11 +236,6 @@ This will list the top stack traces. Then either analyze this yourself, or
post those stack traces in the Google Group.
</p>
<p>
To find out what the problem is, open the database in embedded mode using the H2 Console.
This will print progress information. If you have many lines with 'Creating index' it is an indication that the
database was not closed the last time.
</p>
<p>
Other possible reasons are: the database is very big (many GB), or contains linked tables
that are slow to open.
</p>
...
...
h2/src/docsrc/html/features.html
浏览文件 @
a72b616e
...
...
@@ -202,9 +202,9 @@ encrypted using AES-128 and XTEA encryption algorithms
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
</tr><tr>
<td>
Clustering
</td>
<td>
Built-in Clustering / Replication
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareN"
>
No
</td>
<td
class=
"compareY"
>
Yes
</td>
<td
class=
"compareY"
>
Yes
</td>
...
...
@@ -351,21 +351,13 @@ encrypted using AES-128 and XTEA encryption algorithms
*5 The default H2 jar file contains debug information, jar files for other databases do not.
<br
/>
*6 PostgreSQL supports functional indexes.
<br
/>
*7 Derby only supports updatable result sets if the query is not sorted.
<br
/>
*8 Derby
and HSQLDB do
n't support standard compliant information schema tables.
<br
/>
*8 Derby
does
n't support standard compliant information schema tables.
<br
/>
*9 When using MVCC (multi version concurrency).
<br
/>
*10 Derby and HSQLDB
<a
href=
"http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29"
>
don't hide hide data patterns well
</a>
.
<br
/>
*11 The MULTI_THREADED option is not enabled by default, and not yet supported when using MVCC.
</p>
<h3>
Derby and HSQLDB
</h3>
<p>
After an unexpected process termination (for example power failure), H2 can usually
recover safely and automatically without any user interaction. For Derby and HSQLDB,
some manual steps are required ('Another instance of Derby may have already booted the database' /
'The database is already in use by another process').
</p>
<h3>
DaffodilDb and One$Db
</h3>
<p>
It looks like the development of this database has stopped. The last release was February 2006.
...
...
@@ -373,7 +365,7 @@ It looks like the development of this database has stopped. The last release was
<h3>
McKoi
</h3>
<p>
It looks like the development of this database has stopped. The last release was August 2004
It looks like the development of this database has stopped. The last release was August 2004
.
</p>
<h2
id=
"products_work_with"
>
H2 in Use
</h2>
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
a72b616e
...
...
@@ -93,7 +93,6 @@ For most operations, the performance of H2 is about the same as for HSQLDB.
One situation where H2 is slow is large result sets, because they are buffered to
disk if more than a certain number of records are returned.
The advantage of buffering is: there is no limit on the result set size.
The database open/close time is fixed.
</p>
<h4>
HSQLDB
</h4>
...
...
@@ -101,11 +100,6 @@ The database open/close time is fixed.
Version 2.0.0 was used for the test.
Cached tables are used in this test (
<code>
hsqldb.default_table_type=cached
</code>
),
and the write delay is 1 second (
<code>
SET WRITE_DELAY 1
</code>
).
Older versions of HSQLDB (pre 2.0) where very slow in the last test (BenchC: Transactions).
</p>
<p>
A disadvantage of HSQLDB is the slow startup / shutdown time (currently not listed) when using bigger databases.
The reason is, a backup of the whole data is made whenever the database is opened or closed.
</p>
<h4>
Derby
</h4>
...
...
h2/src/main/org/h2/tools/Csv.java
浏览文件 @
a72b616e
...
...
@@ -680,8 +680,28 @@ public class Csv implements SimpleRowSource {
}
/**
* Set the escape character (used to escape the field delimiter). The
* default is " (a double quote). The value 0 means no escape character is used.
* Set the escape character. The escape character is used to escape the
* field delimiter. This is needed if the data contains the field delimiter.
* The default escape character is " (a double quote), which is the same as
* the field delimiter. If the field delimiter and the escape character are
* both " (double quote), and the data contains a double quote, then an
* additional double quote is added. Example:
* <pre>
* Data: He said "Hello".
* Escape character: "
* Field delimiter: "
* CSV file: "He said ""Hello""."
* </pre>
* If the field delimiter is a double quote and the escape character is a backslash,
* then escaping is done similar to Java (however, only the field delimiter is escaped).
* Example:
* <pre>
* Data: He said "Hello".
* Escape character: \
* Field delimiter: "
* CSV file: "He said \"Hello\"."
* </pre>
* The value 0 means no escape character is used.
*
* @param escapeCharacter the escape character
*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论