提交 70b9adab authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 c8d7f50f
...@@ -1065,8 +1065,9 @@ then the iteration count is not required at all. ...@@ -1065,8 +1065,9 @@ then the iteration count is not required at all.
<p> <p>
The database files can be encrypted using two different algorithms: AES-128 and The database files can be encrypted using two different algorithms: AES-128 and
XTEA (using 32 rounds). The reasons for supporting XTEA is performance XTEA (using 32 rounds). The reasons for supporting XTEA is performance
(XTEA is about twice as fast as AES) and to have an alternative algorithm if (XTEA is a bit faster as AES in some environments) and to have an alternative algorithm if AES is suddenly broken.
AES is suddenly broken. Please note that the XTEA implementation used in this database only uses 32 rounds
and not 64 rounds as recommended by its inventor (as of 2010, the best known attack is on 27 rounds).
</p><p> </p><p>
When a user tries to connect to an encrypted database, the combination of When a user tries to connect to an encrypted database, the combination of
<code>file@</code> and the file password is hashed using SHA-256. This hash value is <code>file@</code> and the file password is hashed using SHA-256. This hash value is
......
...@@ -316,8 +316,8 @@ encrypted using AES-128 and XTEA encryption algorithms ...@@ -316,8 +316,8 @@ encrypted using AES-128 and XTEA encryption algorithms
</tr><tr> </tr><tr>
<td>Computed Columns</td> <td>Computed Columns</td>
<td class="compareY">Yes</td> <td class="compareY">Yes</td>
<td class="compareN">No</td> <td class="compareY">Yes</td>
<td class="compareN">No</td> <td class="compareY">Yes</td>
<td class="compareN">No</td> <td class="compareN">No</td>
<td class="compareY">Yes *6</td> <td class="compareY">Yes *6</td>
</tr><tr> </tr><tr>
......
...@@ -262,6 +262,8 @@ and for each step a new connection is opened and then closed. ...@@ -262,6 +262,8 @@ and for each step a new connection is opened and then closed.
<p> <p>
The PolePosition is an open source benchmark. The algorithms are all quite simple. The PolePosition is an open source benchmark. The algorithms are all quite simple.
It was developed / sponsored by db4o. It was developed / sponsored by db4o.
This test was not run for a longer time, so please be aware that the results below
are for older database versions (H2 version 1.1, HSQLDB 1.8, Java 1.4).
</p> </p>
<table border="1" class="bar"> <table border="1" class="bar">
<tr><th>Test Case</th><th>Unit</th><th>H2</th><th>HSQLDB</th><th>MySQL</th></tr> <tr><th>Test Case</th><th>Unit</th><th>H2</th><th>HSQLDB</th><th>MySQL</th></tr>
...@@ -583,13 +585,14 @@ System.out.println(prof.getTop(3)); ...@@ -583,13 +585,14 @@ System.out.println(prof.getTop(3));
<p> <p>
To speed up large imports, consider using the following options temporarily: To speed up large imports, consider using the following options temporarily:
</p> </p>
<ul><li><code>SET CACHE_SIZE</code> (a large cache is faster) <ul><li><code>SET LOG 0</code> (disabling the transaction log)
</li><li><code>SET CACHE_SIZE</code> (a large cache is faster)
</li><li><code>SET LOCK_MODE 0</code> (disable locking) </li><li><code>SET LOCK_MODE 0</code> (disable locking)
</li><li><code>SET UNDO_LOG 0</code> (disable the session undo log) </li><li><code>SET UNDO_LOG 0</code> (disable the session undo log)
</li></ul> </li></ul>
<p> <p>
These options can be set in the database URL: These options can be set in the database URL:
<code>jdbc:h2:~/test;CACHE_SIZE=65536;LOCK_MODE=0;UNDO_LOG=0</code>. <code>jdbc:h2:~/test;LOG=0;CACHE_SIZE=65536;LOCK_MODE=0;UNDO_LOG=0</code>.
Most of those options are not recommended for regular use, that means you need to reset them after use. Most of those options are not recommended for regular use, that means you need to reset them after use.
</p> </p>
......
...@@ -507,6 +507,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -507,6 +507,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>The error "table not found" is sometimes caused by using the wrong database. </li><li>The error "table not found" is sometimes caused by using the wrong database.
Add "(this database is empty)" to the exception message if applicable. Add "(this database is empty)" to the exception message if applicable.
</li><li>PostgreSQL compatibility: support escape with double \\. </li><li>PostgreSQL compatibility: support escape with double \\.
</li><li>Document the TCP server "management_db". Maybe include the IP address of the client.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论