【Java】H2 Database Engine【GCJ】 (218レス)
1-

101: 2009/04/19(日)03:23 ID:??? AAS
トランザクションが終わらないのが問題なのかどうか判明するまで時間がかかる

まぁ、デバッガで接続してるときはトランザクション開いたままだから
タイムアウト気にするけどね。
普通は、大きなトランザクションを作らないようにするのが問題少ないって。
102
(1): 2009/04/21(火)21:36 ID:??? AAS
H2を利用して初めてWebアプリを開発してます。
H2の利用は初めてじゃありません。
で、いろいろWebで調べるとH2のJarファイルを、例えばTomcatだと
common/libの下に入れるのがセオリーっぽいのだけど、アプリケーションコンテキストの
WEB-INF/libの下に入れて開発されている方いらっしゃいますか?
また、WEB-INF/libの下に入れることによるデメリットをご存知の方、教えてもらえないだろうか…。
103
(1): 2009/04/22(水)22:02 ID:??? AAS
>102
Tomcatのデータソースを使うならばcommon/lib下で。
使わないならWEB-INF/libでもいいかと。JDBC直呼びの場合など。

参考までに、オープンソースのグループウェア「GROUP SESSION」は
WEB-INF/lib下にh2.jarを配置する構成でした。
104: 2009/04/22(水)22:59 ID:??? AAS
>>103
アドバイスありがとうございます。
とりあえず、WEB-INF/libの下に置いてのんびり開発してます。
なにか問題があったら報告します。

H2がもっと活気付くといいなぁ…。他力本願はよくないか^^;
105: 2009/04/27(月)02:53 ID:??? AAS
個人的にはリンク機能に注目してる
あんま検証してないけどね…
ACCESSみたいなフロントエンド作ろうかなぁ
106: 2009/05/04(月)01:11 ID:??? AAS
Version 1.1.112 (2009-05-01)
http://www.h2database.com/html/changelog_ja.html
107: 2009/05/22(金)21:55 ID:SASQ5DbM(1) AAS
>>95
  ∧ ∧   一人一個まで
 ( ´・ω・)
 ( ∪ ∪  ,.-、   ,.-、   ,.-、   ,.-、     ,.-、      ,.-、    ,.-、
 と__)__) (,,■)  (,,■)  (,,■)  (,,■)    (,,■)      (,,■)   (,,■)
       梅干  高菜 おかか こんぶ ごはんですよ わさび漬け 焼たらこ
          ,.-、   ,.-、     ,.-、      ,.-、   ,.-、   ,.-、    ,.-、
          (,,■)  (,,■)    (,,■)     (,,■)  (,,■)  (,,■)   (,,■)
          鶏飯 明太子 ちりめんじゃこ ゆかり  柴漬  塩辛 牛肉しぐれ
      ,.-、   ,.-、     ,.-、    ,.-、    ,.-、   ,.-、    ,.-、   ,.-、
省2
108: 2009/06/04(木)16:32 ID:??? AAS
1.1.114から、JRE 1.5 必須になったね。
JRE 1.4 で動かすなら Retrotranslator 使えってことらしい。
109
(2): 2009/07/02(木)12:31 ID:??? AAS
いつの間にか 1.1.115 が来てた。
“The new storage mechanism”って、今までのものと何が違うんだろ?
110
(1): 2009/07/05(日)00:13 ID:/zwYoFwe(1) AAS
Version 1.1.115 (2009-06-21)
http://www.h2database.com/html/changelog.html

>>109
なんか pageStore とか言うエンジンを作ってるっぽい
まだアルファっぽい

ページング出来るインメモリストレージエンジンみたいな感じ?
HSQLDB で言う CACHED に近いものかな?
111: 109 2009/07/08(水)14:33 ID:??? AAS
>>110
色々調べてたら、↓こんなのが引っかかった。

「Re: Java 1.5, but still support Java 1.4 using Retrotranslator, Retroweaver, or using -target jsr14」
http://www.mail-archive.com/h2-database@googlegroups.com/msg01773.html
>> The performance on Flash (NAND) file systems is also fairly poor
>> mostly because of the large number of small write operations executed
>> by H2.

> This should be solved in the new storage mechanism ('page store').

SSDに最適化したストレージ機構を別途作るってことっぽいね。
ファイルへの書き込みを細切れに行わず、ある程度まとまった単位で行うことで、
省1
112: 2009/07/23(木)09:50 ID:??? AAS
1.1.116来てるね。

Page Store については
> still experimental, and the file format will change, but it is quite stable now.
らしい。
113: 2009/10/19(月)09:26 ID:0c2k2osu(1) AAS
Version 1.2.121 age
114: 2009/11/16(月)02:33 ID:gLSep6AL(1/2) AAS
Version 1.2.122 (2009-10-28)

* The native fulltext search now supports streaming CLOB data.
* If the database URL ends with ;PAGE_STORE=TRUE and a database in the old format exists,
it is automatically converted to the new page store format if possible. A backup of the database is created first.
Automatic conversion is not supported if the database was not closed normally (if it contains uncommitted transactions).
* Dropping the current user is now allowed if another admin user exists.
* Values of type BINARY or BLOB could not be converted to the data type OTHER.
* SHUTDOWN COMPACT now fully compacts the database.
* New system properties h2.maxCompactCount and h2.maxCompactTime to allow changing the default behavior (at most 2 seconds compacting when closing the database).
* New sorted insert optimization (see Performance / Database Performance Tuning).
省10
115: 2009/11/16(月)02:35 ID:gLSep6AL(2/2) AAS
Version 1.2.123 (2009-11-08)

* Page store: new databases can not be opened with older versions.
* Page store: updating large rows (rows with more than 2000 bytes of data) could corrupt the database.
* Page store: inserting very large rows failed with ArrayIndexOutOfBoundsException.
* When using multi-threaded kernel mode,
setting disabling locking (LOCK_MODE=0) will now throw an exception.
At this time this combination will result in corruption when multiple threads try to update the same table.
* The fulltext search methods and fields are now protected instead of private, to make the classes more easily extensible.
* The Lucene fulltext search now also returns the score.
* New function SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger.
省4
116: 2009/11/18(水)23:34 ID:bJWt2MSL(1) AAS
Recursive Queryに対応してほしい。
117: 2009/11/21(土)06:22 ID:q6pvm/q4(1) AAS
Version 1.2.124 (2009-11-20)

* Clustering: there is now a way to detect which cluster instances are running.
* ConvertTraceFile: the SQL statement statistics are better formatted (newline are removed).
* The file lock thread is now stopped when the database is closed.
* Issue 140: the Script tool now supports writing to a stream.
* Issue 138: the trace output of Statement.execute(String, int) and executeUpdate was incorrect.
* Page store: new databases can not be opened with older versions.
* Page store: multi-column indexes didn't work if the cache was very small.
* Page store: opening a database could theoretically result in an endless loop.
* Page store: adding large indexed columns could get very slow.
省20
118: 2009/12/09(水)23:10 ID:OerOAmFx(1) AAS
Version 1.2.125 (2009-12-06)

* Lucene fulltext search:
the Lucene field names now match the table column names,
except if the column names start with _ (in which case another _ is prepended).
Unfortunately this change means existing fulltext indexes need to be re-built.
* The shell tool now has a very simple statement history.
* The zip file system implementation now supports the '~' home directory prefix.
Example database URL: jdbc:h2:zip:~/test.zip!/test
* Right outer joins on tables that were already 'inner joined' was processed incorrectly.
* Temporary files from LOB objects were not deleted early enough when using the server mode.
省34
119: 2009/12/11(金)00:32 ID:??? AAS
よーがんばっとるみたいだね。
120: 2009/12/19(土)15:58 ID:kF2PnjXl(1) AAS
Version 1.2.126 (2009-12-18)
http://www.h2database.com/html/changelog.html
1-
あと 98 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.792s*