提交 8d64639e authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation

上级 f8664648
...@@ -18,7 +18,10 @@ Change Log ...@@ -18,7 +18,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Page store: opening a large database was slow if it was not closed before. <ul><li>New sorted insert optimization (see Performance / Database Performance Tuning).
</li><li>Issue 116: The files h2*-sources.jar and h2*-javadoc.jar are
now in the Maven repository.
</li><li>Page store: opening a large database was slow if it was not closed before.
</li><li>Page store: new write and read counters in the meta data table. Use </li><li>Page store: new write and read counters in the meta data table. Use
SELECT * FROM INFORMATION_SCHEMA.SETTINGS WHERE NAME IN( SELECT * FROM INFORMATION_SCHEMA.SETTINGS WHERE NAME IN(
'info.FILE_WRITE_TOTAL', 'info.FILE_WRITE', 'info.FILE_READ', 'info.FILE_WRITE_TOTAL', 'info.FILE_WRITE', 'info.FILE_READ',
......
...@@ -529,6 +529,20 @@ Each data type has different storage and performance characteristics: ...@@ -529,6 +529,20 @@ Each data type has different storage and performance characteristics:
to work with than <code>INTEGER</code> in most modes. to work with than <code>INTEGER</code> in most modes.
</li></ul> </li></ul>
<h3>Sorted Insert Optimization</h3>
<p>
To reduce disk space usage and speed up table creation, an
optimization for sorted inserts is available. When used, b-tree pages
are split at the insertion point. To use this optimization, add <code>SORTED</code>
before the <code>SELECT</code> statement:
</p>
<pre>
CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR) AS
SORTED SELECT X, SPACE(100) FROM SYSTEM_RANGE(1, 100);
INSERT INTO TEST
SORTED SELECT X, SPACE(100) FROM SYSTEM_RANGE(101, 200);
</pre>
<h2 id="fast_import">Fast Database Import</h2> <h2 id="fast_import">Fast Database Import</h2>
<p> <p>
To speed up large imports, consider using the following options temporarily: To speed up large imports, consider using the following options temporarily:
......
...@@ -43,7 +43,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -43,7 +43,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<h2>Priority 2</h2> <h2>Priority 2</h2>
<ul> <ul>
<li>Improve test code coverage <li>Improve test code coverage
</li><li>Issue 116: Maven: deploy / upload h2..-sources.jar and javadocs as well.
</li><li>Fulltext search: support streaming CLOB data. </li><li>Fulltext search: support streaming CLOB data.
</li><li>Enable warning for 'Local variable declaration hides another field or variable'. </li><li>Enable warning for 'Local variable declaration hides another field or variable'.
</li><li>Test multi-threaded in-memory db access </li><li>Test multi-threaded in-memory db access
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -297,10 +297,12 @@ java org.h2.test.TestAll timer ...@@ -297,10 +297,12 @@ java org.h2.test.TestAll timer
/* /*
check if sources.jar is not in installer and zip, but in h2web -sources.jar
check if sources.jar is not in installer and zip, but in maven
google app engine
documentation: rolling review at history.html documentation: rolling review at history.html
toArray?
mvcc merge problem mvcc merge problem
...@@ -311,12 +313,8 @@ optimization for X IN(..) and OR: ...@@ -311,12 +313,8 @@ optimization for X IN(..) and OR:
add more test cases, code coverage 100% add more test cases, code coverage 100%
document in optimizations.sql document in optimizations.sql
out of memory in tests: analyze heap dump
------------- -------------
integrate the short documentation, but where?
remove old TODO, move to roadmap remove old TODO, move to roadmap
kill a test: kill a test:
......
...@@ -617,4 +617,4 @@ scrambling distinguish official unofficial distinguishable overwrites lastval ...@@ -617,4 +617,4 @@ scrambling distinguish official unofficial distinguishable overwrites lastval
notranslate vince bonfanti alphabetically sysdummy sysibm activation notranslate vince bonfanti alphabetically sysdummy sysibm activation
deactivation concatenating reproducing black railroads railroad radius moz deactivation concatenating reproducing black railroads railroad radius moz
imageio argb bilinear rendering stroke interpolation flip diagrams draw imageio argb bilinear rendering stroke interpolation flip diagrams draw
delim overlap subselect bitwise delim overlap subselect bitwise dclassifier dgenerate
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论