提交 dd83468a authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5cfd9912
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Allocating space got slower and slower the larger the database. <ul><li>The cache memory usage calculation is more conservative.
</li><li>Allocating space got slower and slower the larger the database.
</li><li>ALTER TABLE ALTER COLUMN could throw the wrong exception in the last version </li><li>ALTER TABLE ALTER COLUMN could throw the wrong exception in the last version
(Table not found). (Table not found).
</li><li>Updatable result sets: the key columns can now be updated. </li><li>Updatable result sets: the key columns can now be updated.
......
...@@ -189,6 +189,11 @@ Flux</a><br /> ...@@ -189,6 +189,11 @@ Flux</a><br />
Java job scheduler, file transfer, workflow, and BPM. Java job scheduler, file transfer, workflow, and BPM.
</p> </p>
<p><a href="http://ggc.sourceforge.net">
GNU Gluco Control</a><br />
Helps you to manage your diabetes..
</p>
<p><a href="http://www.goldenstudios.or.id"> <p><a href="http://www.goldenstudios.or.id">
Golden T Studios</a><br /> Golden T Studios</a><br />
Fun-to-play games with a simple interface. Fun-to-play games with a simple interface.
......
...@@ -54,6 +54,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -54,6 +54,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file) </li><li>Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file)
</li><li>Clustering: recovery needs to becomes fully automatic. Global write lock feature. </li><li>Clustering: recovery needs to becomes fully automatic. Global write lock feature.
</li><li>Option for Java functions: [DETERMINISTIC] FOR ... </li><li>Option for Java functions: [DETERMINISTIC] FOR ...
</li><li>Improved fulltext search (supports LOBs).
</li><li>Support mixed clustering mode (one embedded, the other server mode) </li><li>Support mixed clustering mode (one embedded, the other server mode)
</li><li>Sequence: add features [NO] MINVALUE, MAXVALUE, CYCLE </li><li>Sequence: add features [NO] MINVALUE, MAXVALUE, CYCLE
</li><li>Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED) </li><li>Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
...@@ -163,7 +164,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -163,7 +164,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility) </li><li>Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
</li><li>Backup tool should work with other databases as well </li><li>Backup tool should work with other databases as well
</li><li>Console: -ifExists doesn't work for the console. Add a flag to disable other dbs </li><li>Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
</li><li>Improved fulltext search (supports LOBs, reader / tokenizer / filter). </li><li>Improved fulltext search (reader / tokenizer / filter).
</li><li>Performance: Update in-place </li><li>Performance: Update in-place
</li><li>Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess) </li><li>Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
</li><li>Java static code analysis: http://pmd.sourceforge.net/ </li><li>Java static code analysis: http://pmd.sourceforge.net/
......
...@@ -41,7 +41,6 @@ public class ValueDecimal extends Value { ...@@ -41,7 +41,6 @@ public class ValueDecimal extends Value {
private static final ValueDecimal ZERO = new ValueDecimal(DEC_ZERO); private static final ValueDecimal ZERO = new ValueDecimal(DEC_ZERO);
private static final ValueDecimal ONE = new ValueDecimal(DEC_ONE); private static final ValueDecimal ONE = new ValueDecimal(DEC_ONE);
// TODO doc: document differences for BigDecimal 1.5 <> 1.4
private final BigDecimal value; private final BigDecimal value;
private String valueString; private String valueString;
private int precision; private int precision;
......
...@@ -589,7 +589,7 @@ public class ValueLob extends Value { ...@@ -589,7 +589,7 @@ public class ValueLob extends Value {
if (precision > 4096) { if (precision > 4096) {
// TODO: should calculate the hash code when saving, and store // TODO: should calculate the hash code when saving, and store
// it in the data file // it in the data file
return (int) (precision ^ (precision >> 32)); return (int) (precision ^ (precision >>> 32));
} }
try { try {
hash = ByteUtils.getByteArrayHash(getBytes()); hash = ByteUtils.getByteArrayHash(getBytes());
...@@ -640,7 +640,6 @@ public class ValueLob extends Value { ...@@ -640,7 +640,6 @@ public class ValueLob extends Value {
public void set(PreparedStatement prep, int parameterIndex) throws SQLException { public void set(PreparedStatement prep, int parameterIndex) throws SQLException {
long p = getPrecision(); long p = getPrecision();
// TODO test if setBinaryStream with -1 works for other databases a well
if (p > Integer.MAX_VALUE || p <= 0) { if (p > Integer.MAX_VALUE || p <= 0) {
p = -1; p = -1;
} }
......
...@@ -283,10 +283,34 @@ java org.h2.test.TestAll timer ...@@ -283,10 +283,34 @@ java org.h2.test.TestAll timer
/* /*
remove emergencyReserver?
test.sql
good:
select documents.*, 'this is a test' as snippet
from documents, document_text
where
document_text.id in (select substring(search.query, locate('=',
search.query) + 1) from ftl_search('+nelson +"drip pan"', 500, 0)
search)
and documents.id = document_text.doc_id
and source_id in (3, 2, 4, 1)
limit 500
bad:
select documents.*, 'this is a test' as snippet
from document_text, documents
where
document_text.id in (select substring(search.query, locate('=',
search.query) + 1) from ftl_search('+nelson +"drip pan"', 500, 0)
search)
and documents.id = document_text.doc_id
and source_id in (3, 2, 4, 1)
limit 500
split files (1 GB max size) split files (1 GB max size)
allocating space gets slower and slower the larger the database.
test trace_level_file=3 performance (when throwing exceptions)
study SQLite file format study SQLite file format
multithreaded kernel multithreaded kernel
...@@ -296,8 +320,6 @@ remove old TODO ...@@ -296,8 +320,6 @@ remove old TODO
online backup may not work for very large files online backup may not work for very large files
(document problem with jdk 1.4; document to use jar -xf) (document problem with jdk 1.4; document to use jar -xf)
select last_value from conf.report_id_seq
test web site with firefox 3, internet explorer, opera, safari, google chrome test web site with firefox 3, internet explorer, opera, safari, google chrome
test with 1.0 test with 1.0
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论