Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Embedded SQL DB for write performance?

Has anybody done any benchmarking/evaluation of the popular open-source embedded SQL DBs for performance, particularly write performance? I've some 1:1 comparisons for sqlite, Firebird Embedded, Derby and HSQLDB (others I am missing?) but no across the board comparisons... Also, I'd be interested in the overall developer experience for any of these (for a Java app).

like image 810
Max Maximus Avatar asked Feb 11 '09 23:02

Max Maximus


2 Answers

Check out the comparison on the H2 Site.

I'm using it for my Eclipse plugin and I'm very happy with it. Extremely fast for embedded use, very easy to use (one single JAR), great community support, highly recommended.

like image 150
zvikico Avatar answered Sep 28 '22 18:09

zvikico


This benchmark from db4o might be helpful. It includes, JavaDB (Built on top of Derby), HSQLDB, SqlLite.

It seems HSQLDB out-performs its counterparts, especially when writing is concerned. H2, as a successor of HSQLDB, is faster than HSQLDB in both read and write with optimizing, clustering, transaction isolation features.

like image 34
Adeel Ansari Avatar answered Sep 28 '22 19:09

Adeel Ansari