提交 029f597d authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 ed04a08d
...@@ -847,6 +847,12 @@ against a database that was created with a user name that is not in the script. ...@@ -847,6 +847,12 @@ against a database that was created with a user name that is not in the script.
<p> <p>
The <code>Recover</code> tool creates a SQL script from database file. It also processes the transaction log. The <code>Recover</code> tool creates a SQL script from database file. It also processes the transaction log.
</p> </p>
<p>
To verify the database is always recoverable, append <code>;RECOVER_TEST=64</code>
to the database URL in your test environment. This will simulate an application crash after each 64 writes to the database file.
A log file named <code>databaseName.h2.db.log</code> is created that lists the operations.
The recovery is tested using an in-memory file system, that means it may require a larger heap setting.
</p>
<h2 id="file_locking_protocols">File Locking Protocols</h2> <h2 id="file_locking_protocols">File Locking Protocols</h2>
<p> <p>
......
...@@ -28,6 +28,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -28,6 +28,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
Document time literals: between minus 2 million and 2 million hours with nanosecond resolution. Document time literals: between minus 2 million and 2 million hours with nanosecond resolution.
</li><li>Remove the old connection pool logic (system property "h2.fastConnectionPool"). </li><li>Remove the old connection pool logic (system property "h2.fastConnectionPool").
</li><li>Enable "h2.modifyOnWrite". </li><li>Enable "h2.modifyOnWrite".
</li><li>Enable Mode.supportOffsetFetch by default, so that "select 1 fetch first 1 row only" works.
</li></ul> </li></ul>
<h2>Priority 1</h2> <h2>Priority 1</h2>
...@@ -226,6 +227,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -226,6 +227,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Support ENUM data type (see MySQL, PostgreSQL, MS SQL Server, maybe others). </li><li>Support ENUM data type (see MySQL, PostgreSQL, MS SQL Server, maybe others).
</li><li>Remember the user defined data type (domain) of a column. </li><li>Remember the user defined data type (domain) of a column.
</li><li>MVCC: support multi-threaded kernel with multi-version concurrency. </li><li>MVCC: support multi-threaded kernel with multi-version concurrency.
</li><li>Auto-server: add option to define the port range or list.
</li><li>Support Jackcess (MS Access databases) </li><li>Support Jackcess (MS Access databases)
</li><li>Built-in methods to write large objects (BLOB and CLOB): FILE_WRITE('test.txt', 'Hello World') </li><li>Built-in methods to write large objects (BLOB and CLOB): FILE_WRITE('test.txt', 'Hello World')
</li><li>Improve time to open large databases (see mail 'init time for distributed setup') </li><li>Improve time to open large databases (see mail 'init time for distributed setup')
...@@ -289,7 +291,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -289,7 +291,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>H2 Console should support JaQu directly. </li><li>H2 Console should support JaQu directly.
</li><li>Better document FTL_SEARCH, FTL_SEARCH_DATA. </li><li>Better document FTL_SEARCH, FTL_SEARCH_DATA.
</li><li>Sequences: CURRVAL should be session specific. Compatibility with PostgreSQL. </li><li>Sequences: CURRVAL should be session specific. Compatibility with PostgreSQL.
</li><li>Auto-server: add option to define the IP address range or list.
</li><li>Index creation using deterministic functions. </li><li>Index creation using deterministic functions.
</li><li>ANALYZE: for unique indexes that allow null, count the number of null. </li><li>ANALYZE: for unique indexes that allow null, count the number of null.
</li><li>MySQL compatibility: multi-table delete: DELETE .. FROM .. [,...] USING - See http://dev.mysql.com/doc/refman/5.0/en/delete.html </li><li>MySQL compatibility: multi-table delete: DELETE .. FROM .. [,...] USING - See http://dev.mysql.com/doc/refman/5.0/en/delete.html
......
...@@ -481,6 +481,7 @@ H2 currently supports three server: a web server (for the H2 Console), ...@@ -481,6 +481,7 @@ H2 currently supports three server: a web server (for the H2 Console),
a TCP server (for client/server connections) and an PG server (for PostgreSQL clients). a TCP server (for client/server connections) and an PG server (for PostgreSQL clients).
Please note that only the web server supports browser connections. Please note that only the web server supports browser connections.
The servers can be started in different ways, one is using the <code>Server</code> tool. The servers can be started in different ways, one is using the <code>Server</code> tool.
Starting the server doesn't open a database - databases are opened as soon as a client connects.
</p> </p>
<h3>Starting the Server Tool from Command Line</h3> <h3>Starting the Server Tool from Command Line</h3>
......
...@@ -54,8 +54,9 @@ Important corruption problems were fixed in version 1.2.135 and version 1.2.140 ...@@ -54,8 +54,9 @@ Important corruption problems were fixed in version 1.2.135 and version 1.2.140
I am very interested in analyzing and solving this problem. Corruption problems have top priority for me. I have a few questions: I am very interested in analyzing and solving this problem. Corruption problems have top priority for me. I have a few questions:
- Did the system ever run out of disk space?
- Could you send the full stack trace of the exception including message text? - Could you send the full stack trace of the exception including message text?
- Did you use SHUTDOWN DEFRAG? - Did you use SHUTDOWN DEFRAG or the database setting DEFRAG_ALWAYS with H2 version 1.3.159 or older?
- What is your database URL? - What is your database URL?
- How many connections does your application use concurrently? - How many connections does your application use concurrently?
- Do you use temporary tables? - Do you use temporary tables?
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论