Comparison of ObjectDB embedded vs EclipseLink with H2 embedded
Each of the following tables focuses on a specific database operation, where the last table presents average results comparison.
Speed comparison of JPA database persistence operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 25.1 | 100 | 8.9 | 100 | 17.0 |
Element Collection Test | 100 | 20.4 | 100 | 8.0 | 100 | 14.2 |
Inheritance Test | 100 | 28.7 | 100 | 8.7 | 100 | 18.7 |
Indexing Test | 100 | 37.6 | 100 | 14.0 | 100 | 25.8 |
Graph (Binary Tree) Test | 88.4 | 17.7 | 100 | 14.7 | 94.2 | 16.2 |
Multithreading Test | 100 | 30.3 | 100 | 11.4 | 100 | 20.8 |
All Tests | 98.1 | 26.6 | 100 | 10.9 | 99.0 | 18.8 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in persisting JPA entity objects to the database. Comparing the normalized speed of EclipseLink with H2 embedded database (18.8) to the normalized speed of ObjectDB embedded database (99.0) reveals that in these tests, ObjectDB embedded is 5.3 times faster than EclipseLink with H2 embedded.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of EclipseLink with H2 embedded database (8.0) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 12.5 times faster than EclipseLink with H2 embedded.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 30.4 | 100 | 29.1 | 100 | 29.7 |
Element Collection Test | 100 | 19.6 | 100 | 27.6 | 100 | 23.6 |
Inheritance Test | 100 | 33.8 | 100 | 39.8 | 100 | 36.8 |
Indexing Test | 100 | 22.2 | 100 | 41.3 | 100 | 31.8 |
Graph (Binary Tree) Test | 100 | 16.0 | 100 | 20.0 | 100 | 18.0 |
Multithreading Test | 100 | 33.7 | 100 | 29.0 | 100 | 31.4 |
All Tests | 100 | 25.9 | 100 | 31.1 | 100 | 28.5 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in retrieving JPA entity objects from the database. Comparing the normalized speed of EclipseLink with H2 embedded database (28.5) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 3.5 times faster than EclipseLink with H2 embedded.
A large performance gap has been detected when using graphs of objects with small retrieval size. Comparing the normalized speed of EclipseLink with H2 embedded database (16.0) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 6.2 times faster than EclipseLink with H2 embedded.
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 4.4 | 100 | 1.4 | 100 | 2.9 |
Element Collection Test | 100 | 4.1 | 100 | 2.4 | 100 | 3.2 |
Inheritance Test | 100 | 3.4 | 100 | 2.0 | 100 | 2.7 |
Indexing Test | 100 | 13.0 | 100 | 22.8 | 100 | 17.9 |
Multithreading Test | 100 | 1.0 | 100 | 0.67 | 100 | 0.85 |
All Tests | 100 | 5.2 | 100 | 5.9 | 100 | 5.5 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in executing the tested JPA queries. Comparing the normalized speed of EclipseLink with H2 embedded database (5.5) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 18.2 times faster than EclipseLink with H2 embedded.
A huge performance gap has been detected when using multithreading with large retrieval size. Comparing the normalized speed of EclipseLink with H2 embedded database (0.67) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 149 times faster than EclipseLink with H2 embedded.
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 16.6 | 100 | 7.6 | 100 | 12.1 |
Element Collection Test | 100 | 15.3 | 100 | 10.5 | 100 | 12.9 |
Inheritance Test | 100 | 15.7 | 100 | 9.8 | 100 | 12.7 |
Indexing Test | 100 | 12.1 | 100 | 9.9 | 100 | 11.0 |
Graph (Binary Tree) Test | 100 | 13.7 | 100 | 7.0 | 100 | 10.3 |
Multithreading Test | 100 | 20.9 | 100 | 4.2 | 100 | 12.6 |
All Tests | 100 | 15.7 | 100 | 8.2 | 100 | 12.0 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in updating JPA entity objects in the database. Comparing the normalized speed of EclipseLink with H2 embedded database (12.0) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 8.3 times faster than EclipseLink with H2 embedded.
A huge performance gap has been detected when using multithreading with large transaction size. Comparing the normalized speed of EclipseLink with H2 embedded database (4.2) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 23.8 times faster than EclipseLink with H2 embedded.
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 35.1 | 100 | 19.6 | 100 | 27.4 |
Element Collection Test | 100 | 19.3 | 100 | 8.5 | 100 | 13.9 |
Inheritance Test | 100 | 36.0 | 100 | 14.0 | 100 | 25.0 |
Indexing Test | 100 | 42.5 | 100 | 19.2 | 100 | 30.9 |
Graph (Binary Tree) Test | 100 | 12.2 | 100 | 14.4 | 100 | 13.3 |
Multithreading Test | 100 | 54.4 | 100 | 25.8 | 100 | 40.1 |
All Tests | 100 | 33.3 | 100 | 16.9 | 100 | 25.1 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in deleting JPA entity objects from the database. Comparing the normalized speed of EclipseLink with H2 embedded database (25.1) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 4.0 times faster than EclipseLink with H2 embedded.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of EclipseLink with H2 embedded database (8.5) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 11.8 times faster than EclipseLink with H2 embedded.
Comparison of database storage efficiency (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 36.2 | 100 | 39.2 | 100 | 37.7 |
Element Collection Test | 100 | 33.3 | 100 | 34.9 | 100 | 34.1 |
Inheritance Test | 100 | 35.4 | 100 | 36.2 | 100 | 35.8 |
Indexing Test | 100 | 39.8 | 100 | 43.7 | 100 | 41.7 |
Graph (Binary Tree) Test | 100 | 41.0 | 100 | 28.4 | 100 | 34.7 |
Multithreading Test | 91.1 | 48.7 | 22.0 | 12.4 | 56.6 | 30.6 |
All Tests | 98.5 | 39.1 | 87.0 | 32.5 | 92.8 | 35.8 |
The results above show that in general ObjectDB embedded is more efficient than EclipseLink with H2 embedded in using disk space. Comparing the normalized score of EclipseLink with H2 embedded database (35.8) to the normalized score of ObjectDB embedded database (92.8) reveals that in these tests, ObjectDB embedded is 2.6 times more efficient than EclipseLink with H2 embedded.
A large gap has been detected when using graphs of objects with large transaction size. Comparing the normalized score of EclipseLink with H2 embedded database (28.4) to the normalized score of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 3.5 times more efficient than EclipseLink with H2 embedded.
Comparison of JPA/Database speed - the averages (normalized score, higher is better)
Transaction/Retrieval Size | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded | ObjectDB embedded | EclipseLink H2 embedded |
Basic Person Test | 100 | 22.3 | 100 | 13.3 | 100 | 17.8 |
Element Collection Test | 100 | 15.7 | 100 | 11.4 | 100 | 13.6 |
Inheritance Test | 100 | 23.5 | 100 | 14.9 | 100 | 19.2 |
Indexing Test | 100 | 25.5 | 100 | 21.5 | 100 | 23.5 |
Graph (Binary Tree) Test | 97.1 | 14.9 | 100 | 14.0 | 98.5 | 14.5 |
Multithreading Test | 100 | 28.1 | 100 | 14.2 | 100 | 21.1 |
All Tests | 99.6 | 21.9 | 100 | 14.9 | 99.8 | 18.4 |
The results above show that in general ObjectDB embedded is much more efficient than EclipseLink with H2 embedded in performing JPA database operations. Comparing the normalized speed of EclipseLink with H2 embedded database (18.4) to the normalized speed of ObjectDB embedded database (99.8) reveals that in these tests, ObjectDB embedded is 5.4 times faster than EclipseLink with H2 embedded.
A large performance gap has been detected when using JPA element collections with large transaction/retrieval size. Comparing the normalized speed of EclipseLink with H2 embedded database (11.4) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 8.8 times faster than EclipseLink with H2 embedded.
Other Head to Head DBMS/JPA Comparisons
ObjectDB embedded against:
- Oracle Database 11g
- IBM DB2 10
- Microsoft SQL Server 2008
- DataNucleus with Derby embedded
- DataNucleus with H2 embedded
- DataNucleus with HSQLDB embedded
- DataNucleus with DB4O embedded
- DataNucleus with Derby server
- DataNucleus with H2 server
- DataNucleus with MySQL server
- DataNucleus with PostgreSQL server
- EclipseLink with Derby embedded
- EclipseLink with H2 embedded
- EclipseLink with HSQLDB embedded
- EclipseLink with SQLite embedded
- EclipseLink with Derby server
- EclipseLink with H2 server
- EclipseLink with MySQL server
- EclipseLink with PostgreSQL server
- Hibernate with Derby embedded
- Hibernate with H2 embedded
- Hibernate with HSQLDB embedded
- Hibernate with SQLite embedded
- Hibernate with Derby server
- Hibernate with H2 server
- Hibernate with MySQL server
- Hibernate with PostgreSQL server
- OpenJPA with Derby embedded
- OpenJPA with H2 embedded
- OpenJPA with HSQLDB embedded
- OpenJPA with Derby server
- OpenJPA with H2 server
- OpenJPA with MySQL server
- OpenJPA with PostgreSQL server
- ObjectDB server
EclipseLink with H2 embedded against:
- Oracle Database 11g
- IBM DB2 10
- Microsoft SQL Server 2008
- DataNucleus with Derby embedded
- DataNucleus with H2 embedded
- DataNucleus with HSQLDB embedded
- DataNucleus with DB4O embedded
- DataNucleus with Derby server
- DataNucleus with H2 server
- DataNucleus with MySQL server
- DataNucleus with PostgreSQL server
- EclipseLink with Derby embedded
- EclipseLink with HSQLDB embedded
- EclipseLink with SQLite embedded
- EclipseLink with Derby server
- EclipseLink with H2 server
- EclipseLink with MySQL server
- EclipseLink with PostgreSQL server
- Hibernate with Derby embedded
- Hibernate with H2 embedded
- Hibernate with HSQLDB embedded
- Hibernate with SQLite embedded
- Hibernate with Derby server
- Hibernate with H2 server
- Hibernate with MySQL server
- Hibernate with PostgreSQL server
- OpenJPA with Derby embedded
- OpenJPA with H2 embedded
- OpenJPA with HSQLDB embedded
- OpenJPA with Derby server
- OpenJPA with H2 server
- OpenJPA with MySQL server
- OpenJPA with PostgreSQL server
- ObjectDB embedded
- ObjectDB server