Comparison of ObjectDB server vs DataNucleus 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 server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 35.2 | 19.2 | 74.1 | 8.0 | 54.7 | 13.6 |
Element Collection Test | 38.2 | 6.6 | 57.8 | 2.8 | 48.0 | 4.7 |
Inheritance Test | 32.7 | 15.6 | 72.8 | 4.4 | 52.7 | 10.0 |
Indexing Test | 49.9 | 24.4 | 90.1 | 11.8 | 70.0 | 18.1 |
Graph (Binary Tree) Test | 100 | 9.2 | 89.2 | 6.2 | 94.6 | 7.7 |
Multithreading Test | 76.6 | 34.9 | 99.4 | 7.1 | 88.0 | 21.0 |
All Tests | 55.4 | 18.3 | 80.6 | 6.7 | 68.0 | 12.5 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 embedded in persisting JPA entity objects to the database. Comparing the normalized speed of DataNucleus with H2 embedded database (12.5) to the normalized speed of ObjectDB database server (68.0) reveals that in these tests, ObjectDB server is 5.4 times faster than DataNucleus with H2 embedded.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with H2 embedded database (2.8) to the normalized speed of ObjectDB database server (57.8) reveals that in that case, ObjectDB server is 20.6 times faster than DataNucleus with H2 embedded.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 15.7 | 13.2 | 45.4 | 13.5 | 30.5 | 13.3 |
Element Collection Test | 19.9 | 6.4 | 49.2 | 8.9 | 34.6 | 7.7 |
Inheritance Test | 13.2 | 12.2 | 49.4 | 12.7 | 31.3 | 12.4 |
Indexing Test | 14.0 | 8.1 | 59.5 | 16.5 | 36.8 | 12.3 |
Graph (Binary Tree) Test | 19.9 | 10.6 | 24.7 | 20.9 | 22.3 | 15.8 |
Multithreading Test | 19.7 | 13.3 | 60.2 | 9.9 | 40.0 | 11.6 |
All Tests | 17.1 | 10.6 | 48.1 | 13.7 | 32.6 | 12.2 |
The results above show that in general ObjectDB server is more efficient than DataNucleus with H2 embedded in retrieving JPA entity objects from the database. Comparing the normalized speed of DataNucleus with H2 embedded database (12.2) to the normalized speed of ObjectDB database server (32.6) reveals that in these tests, ObjectDB server is 2.7 times faster than DataNucleus with H2 embedded.
A large performance gap has been detected when using multithreading with large retrieval size. Comparing the normalized speed of DataNucleus with H2 embedded database (9.9) to the normalized speed of ObjectDB database server (60.2) reveals that in that case, ObjectDB server is 6.1 times faster than DataNucleus with H2 embedded.
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 38.8 | 4.7 | 25.9 | 1.4 | 32.4 | 3.1 |
Element Collection Test | 39.5 | 5.0 | 33.1 | 2.4 | 36.3 | 3.7 |
Inheritance Test | 34.8 | 3.8 | 34.0 | 1.6 | 34.4 | 2.7 |
Indexing Test | 14.5 | 0.0041 | 53.3 | 1.8 | 33.9 | 0.91 |
Multithreading Test | 50.8 | 1.2 | 52.1 | 0.79 | 51.5 | 1.0 |
All Tests | 35.7 | 3.0 | 39.7 | 1.6 | 37.7 | 2.3 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 embedded in executing the tested JPA queries. Comparing the normalized speed of DataNucleus with H2 embedded database (2.3) to the normalized speed of ObjectDB database server (37.7) reveals that in these tests, ObjectDB server is 16.4 times faster than DataNucleus with H2 embedded.
A huge performance gap has been detected when using database indexes with small retrieval size. Comparing the normalized speed of DataNucleus with H2 embedded database (0.0041) to the normalized speed of ObjectDB database server (14.5) reveals that in that case, ObjectDB server is 3,537 times faster than DataNucleus with H2 embedded.
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 18.3 | 10.0 | 40.9 | 3.9 | 29.6 | 6.9 |
Element Collection Test | 21.1 | 7.6 | 53.7 | 3.9 | 37.4 | 5.8 |
Inheritance Test | 19.9 | 9.4 | 51.9 | 4.4 | 35.9 | 6.9 |
Indexing Test | 17.9 | 10.6 | 52.1 | 5.9 | 35.0 | 8.2 |
Graph (Binary Tree) Test | 42.6 | 5.9 | 24.1 | 3.7 | 33.3 | 4.8 |
Multithreading Test | 68.6 | failed | 68.7 | failed | 68.6 | failed |
All Tests | 31.4 | 8.7 | 48.6 | 4.4 | 40.0 | 6.5 |
DataNucleus with H2 embedded has failed in 2 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 embedded in updating JPA entity objects in the database. Comparing the normalized speed of DataNucleus with H2 embedded database (6.5) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 6.2 times faster than DataNucleus with H2 embedded.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with H2 embedded database (3.9) to the normalized speed of ObjectDB database server (53.7) reveals that in that case, ObjectDB server is 13.8 times faster than DataNucleus with H2 embedded.
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 20.2 | 4.2 | 67.7 | 1.3 | 44.0 | 2.8 |
Element Collection Test | 22.9 | 4.9 | 57.6 | 1.6 | 40.2 | 3.2 |
Inheritance Test | 23.1 | 4.0 | 61.6 | 1.3 | 42.3 | 2.7 |
Indexing Test | 34.9 | 7.5 | 55.9 | 1.9 | 45.4 | 4.7 |
Graph (Binary Tree) Test | 19.3 | 5.6 | 27.9 | 4.1 | 23.6 | 4.8 |
Multithreading Test | 38.5 | failed | 50.5 | failed | 44.5 | failed |
All Tests | 26.5 | 5.2 | 53.5 | 2.0 | 40.0 | 3.6 |
DataNucleus with H2 embedded has failed in 2 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 embedded in deleting JPA entity objects from the database. Comparing the normalized speed of DataNucleus with H2 embedded database (3.6) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 11.1 times faster than DataNucleus with H2 embedded.
A huge performance gap has been detected when using simple basic entities with large transaction size. Comparing the normalized speed of DataNucleus with H2 embedded database (1.3) to the normalized speed of ObjectDB database server (67.7) reveals that in that case, ObjectDB server is 52.1 times faster than DataNucleus 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 server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded | ObjectDB server | DataNucleus H2 embedded |
Basic Person Test | 25.6 | 10.3 | 50.8 | 5.6 | 38.2 | 7.9 |
Element Collection Test | 28.3 | 6.1 | 50.3 | 3.9 | 39.3 | 5.0 |
Inheritance Test | 24.7 | 9.0 | 53.9 | 4.9 | 39.3 | 6.9 |
Indexing Test | 26.2 | 10.1 | 62.2 | 7.6 | 44.2 | 8.9 |
Graph (Binary Tree) Test | 45.4 | 7.8 | 41.5 | 8.7 | 43.5 | 8.3 |
Multithreading Test | 50.8 | 16.5 | 66.2 | 5.9 | 58.5 | 11.2 |
All Tests | 33.1 | 9.6 | 54.6 | 6.0 | 43.9 | 7.8 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 embedded in performing JPA database operations. Comparing the normalized speed of DataNucleus with H2 embedded database (7.8) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 5.6 times faster than DataNucleus with H2 embedded.
A huge performance gap has been detected when using JPA element collections with large transaction/retrieval size. Comparing the normalized speed of DataNucleus with H2 embedded database (3.9) to the normalized speed of ObjectDB database server (50.3) reveals that in that case, ObjectDB server is 12.9 times faster than DataNucleus with H2 embedded.
Other Head to Head DBMS/JPA Comparisons
ObjectDB server 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 embedded
DataNucleus with H2 embedded against:
- Oracle Database 11g
- IBM DB2 10
- Microsoft SQL Server 2008
- DataNucleus with Derby 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 embedded
- ObjectDB server