Comparison of ObjectDB server vs DataNucleus with H2 server
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 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 35.2 | 3.4 | 74.1 | 2.2 | 54.7 | 2.8 |
Element Collection Test | 38.2 | 1.2 | 57.8 | 0.64 | 48.0 | 0.92 |
Inheritance Test | 32.7 | 3.0 | 72.8 | 1.9 | 52.7 | 2.4 |
Indexing Test | 49.9 | 5.3 | 90.1 | 3.5 | 70.0 | 4.4 |
Graph (Binary Tree) Test | 100 | 2.1 | 89.2 | 1.3 | 94.6 | 1.7 |
Multithreading Test | 76.6 | 10.0 | 99.4 | 4.3 | 88.0 | 7.2 |
All Tests | 55.4 | 4.2 | 80.6 | 2.3 | 68.0 | 3.2 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in persisting JPA entity objects to the database. Comparing the normalized speed of DataNucleus with H2 database server (3.2) to the normalized speed of ObjectDB database server (68.0) reveals that in these tests, ObjectDB server is 21.2 times faster than DataNucleus with H2 server.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with H2 database server (0.64) to the normalized speed of ObjectDB database server (57.8) reveals that in that case, ObjectDB server is 90.3 times faster than DataNucleus with H2 server.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 15.7 | 2.5 | 45.4 | 5.2 | 30.5 | 3.9 |
Element Collection Test | 19.9 | 0.56 | 49.2 | 1.1 | 34.6 | 0.82 |
Inheritance Test | 13.2 | 2.2 | 49.4 | 6.1 | 31.3 | 4.2 |
Indexing Test | 14.0 | 2.1 | 59.5 | 7.7 | 36.8 | 4.9 |
Graph (Binary Tree) Test | 19.9 | 5.7 | 24.7 | 8.9 | 22.3 | 7.3 |
Multithreading Test | 19.7 | 2.3 | 60.2 | 8.7 | 40.0 | 5.5 |
All Tests | 17.1 | 2.5 | 48.1 | 6.3 | 32.6 | 4.4 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in retrieving JPA entity objects from the database. Comparing the normalized speed of DataNucleus with H2 database server (4.4) to the normalized speed of ObjectDB database server (32.6) reveals that in these tests, ObjectDB server is 7.4 times faster than DataNucleus with H2 server.
A huge performance gap has been detected when using JPA element collections with large retrieval size. Comparing the normalized speed of DataNucleus with H2 database server (1.1) to the normalized speed of ObjectDB database server (49.2) reveals that in that case, ObjectDB server is 44.7 times faster than DataNucleus with H2 server.
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 38.8 | 4.1 | 25.9 | 1.3 | 32.4 | 2.7 |
Element Collection Test | 39.5 | 4.0 | 33.1 | 0.49 | 36.3 | 2.3 |
Inheritance Test | 34.8 | 2.9 | 34.0 | 1.5 | 34.4 | 2.2 |
Indexing Test | 14.5 | 0.0036 | 53.3 | 1.5 | 33.9 | 0.75 |
Multithreading Test | 50.8 | 1.3 | 52.1 | failed | 51.5 | 1.3 |
All Tests | 35.7 | 2.5 | 39.7 | 1.2 | 37.7 | 1.9 |
DataNucleus with H2 server has failed in 1 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in executing the tested JPA queries. Comparing the normalized speed of DataNucleus with H2 database server (1.9) to the normalized speed of ObjectDB database server (37.7) reveals that in these tests, ObjectDB server is 19.8 times faster than DataNucleus with H2 server.
A huge performance gap has been detected when using database indexes with small retrieval size. Comparing the normalized speed of DataNucleus with H2 database server (0.0036) to the normalized speed of ObjectDB database server (14.5) reveals that in that case, ObjectDB server is 4,028 times faster than DataNucleus with H2 server.
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 18.3 | 2.5 | 40.9 | 1.4 | 29.6 | 1.9 |
Element Collection Test | 21.1 | 2.0 | 53.7 | 1.0 | 37.4 | 1.5 |
Inheritance Test | 19.9 | 2.4 | 51.9 | 2.3 | 35.9 | 2.3 |
Indexing Test | 17.9 | 2.7 | 52.1 | 3.0 | 35.0 | 2.9 |
Graph (Binary Tree) Test | 42.6 | 1.8 | 24.1 | 0.60 | 33.3 | 1.2 |
Multithreading Test | 68.6 | failed | 68.7 | failed | 68.6 | failed |
All Tests | 31.4 | 2.3 | 48.6 | 1.7 | 40.0 | 2.0 |
DataNucleus with H2 server has failed in 2 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in updating JPA entity objects in the database. Comparing the normalized speed of DataNucleus with H2 database server (2.0) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 20.0 times faster than DataNucleus with H2 server.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with H2 database server (1.0) to the normalized speed of ObjectDB database server (53.7) reveals that in that case, ObjectDB server is 53.7 times faster than DataNucleus with H2 server.
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 20.2 | 3.4 | 67.7 | 1.3 | 44.0 | 2.3 |
Element Collection Test | 22.9 | 1.5 | 57.6 | 0.68 | 40.2 | 1.1 |
Inheritance Test | 23.1 | 2.7 | 61.6 | 1.3 | 42.3 | 2.0 |
Indexing Test | 34.9 | 5.7 | 55.9 | 1.9 | 45.4 | 3.8 |
Graph (Binary Tree) Test | 19.3 | 1.5 | 27.9 | 1.2 | 23.6 | 1.3 |
Multithreading Test | 38.5 | failed | 50.5 | 5.1 | 44.5 | 5.1 |
All Tests | 26.5 | 3.0 | 53.5 | 1.9 | 40.0 | 2.4 |
DataNucleus with H2 server has failed in 1 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in deleting JPA entity objects from the database. Comparing the normalized speed of DataNucleus with H2 database server (2.4) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 16.7 times faster than DataNucleus with H2 server.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with H2 database server (0.68) to the normalized speed of ObjectDB database server (57.6) reveals that in that case, ObjectDB server is 84.7 times faster than DataNucleus with H2 server.
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 server | ObjectDB server | DataNucleus H2 server | ObjectDB server | DataNucleus H2 server |
Basic Person Test | 25.6 | 3.2 | 50.8 | 2.3 | 38.2 | 2.7 |
Element Collection Test | 28.3 | 1.9 | 50.3 | 0.78 | 39.3 | 1.3 |
Inheritance Test | 24.7 | 2.6 | 53.9 | 2.6 | 39.3 | 2.6 |
Indexing Test | 26.2 | 3.2 | 62.2 | 3.5 | 44.2 | 3.3 |
Graph (Binary Tree) Test | 45.4 | 2.8 | 41.5 | 3.0 | 43.5 | 2.9 |
Multithreading Test | 50.8 | 4.5 | 66.2 | 6.0 | 58.5 | 5.3 |
All Tests | 33.1 | 2.9 | 54.6 | 2.8 | 43.9 | 2.9 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with H2 server in performing JPA database operations. Comparing the normalized speed of DataNucleus with H2 database server (2.9) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 15.1 times faster than DataNucleus with H2 server.
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 database server (0.78) to the normalized speed of ObjectDB database server (50.3) reveals that in that case, ObjectDB server is 64.5 times faster than DataNucleus with H2 server.
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 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 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