Comparison of ObjectDB server vs OpenJPA with Derby 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 | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 35.2 | 4.8 | 74.1 | 2.9 | 54.7 | 3.9 |
Element Collection Test | 38.2 | 2.8 | 57.8 | 1.9 | 48.0 | 2.4 |
Inheritance Test | 32.7 | 4.1 | 72.8 | 2.4 | 52.7 | 3.3 |
Indexing Test | 49.9 | 6.1 | 90.1 | 4.1 | 70.0 | 5.1 |
Graph (Binary Tree) Test | 100 | 1.5 | 89.2 | 1.4 | 94.6 | 1.4 |
Multithreading Test | 76.6 | 8.7 | 99.4 | 3.3 | 88.0 | 6.0 |
All Tests | 55.4 | 4.7 | 80.6 | 2.7 | 68.0 | 3.7 |
The results above show that in general ObjectDB server is much more efficient than OpenJPA with Derby embedded in persisting JPA entity objects to the database. Comparing the normalized speed of OpenJPA with Derby embedded database (3.7) to the normalized speed of ObjectDB database server (68.0) reveals that in these tests, ObjectDB server is 18.4 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using graphs of objects with small transaction size. Comparing the normalized speed of OpenJPA with Derby embedded database (1.5) to the normalized speed of ObjectDB database server (100) reveals that in that case, ObjectDB server is 66.7 times faster than OpenJPA with Derby embedded.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 15.7 | 14.8 | 45.4 | 22.6 | 30.5 | 18.7 |
Element Collection Test | 19.9 | 0.0031 | 49.2 | 2.3 | 34.6 | 1.2 |
Inheritance Test | 13.2 | 0.015 | 49.4 | 7.0 | 31.3 | 3.5 |
Indexing Test | 14.0 | 11.7 | 59.5 | 26.5 | 36.8 | 19.1 |
Graph (Binary Tree) Test | 19.9 | 0.93 | 24.7 | 1.2 | 22.3 | 1.1 |
Multithreading Test | 19.7 | 25.2 | 60.2 | 28.6 | 40.0 | 26.9 |
All Tests | 17.1 | 8.8 | 48.1 | 14.7 | 32.6 | 11.7 |
The results above show that in general ObjectDB server is more efficient than OpenJPA with Derby embedded in retrieving JPA entity objects from the database. Comparing the normalized speed of OpenJPA with Derby embedded database (11.7) to the normalized speed of ObjectDB database server (32.6) reveals that in these tests, ObjectDB server is 2.8 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using JPA element collections with small retrieval size. Comparing the normalized speed of OpenJPA with Derby embedded database (0.0031) to the normalized speed of ObjectDB database server (19.9) reveals that in that case, ObjectDB server is 6,419 times faster than OpenJPA with Derby embedded.
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 38.8 | 49.7 | 25.9 | 9.9 | 32.4 | 29.8 |
Element Collection Test | 39.5 | 2.7 | 33.1 | 9.6 | 36.3 | 6.1 |
Inheritance Test | 34.8 | 2.3 | 34.0 | 1.3 | 34.4 | 1.8 |
Indexing Test | 14.5 | 7.0 | 53.3 | 17.1 | 33.9 | 12.1 |
Multithreading Test | 50.8 | 40.9 | 52.1 | 11.7 | 51.5 | 26.3 |
All Tests | 35.7 | 20.5 | 39.7 | 9.9 | 37.7 | 15.2 |
The results above show that in general ObjectDB server is more efficient than OpenJPA with Derby embedded in executing the tested JPA queries. Comparing the normalized speed of OpenJPA with Derby embedded database (15.2) to the normalized speed of ObjectDB database server (37.7) reveals that in these tests, ObjectDB server is 2.5 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using class inheritance in the object model with large retrieval size. Comparing the normalized speed of OpenJPA with Derby embedded database (1.3) to the normalized speed of ObjectDB database server (34.0) reveals that in that case, ObjectDB server is 26.2 times faster than OpenJPA with Derby embedded.
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 18.3 | 5.6 | 40.9 | 5.2 | 29.6 | 5.4 |
Element Collection Test | 21.1 | 0.0090 | 53.7 | 2.2 | 37.4 | 1.1 |
Inheritance Test | 19.9 | 0.045 | 51.9 | 4.6 | 35.9 | 2.3 |
Indexing Test | 17.9 | 6.1 | 52.1 | 8.7 | 35.0 | 7.4 |
Graph (Binary Tree) Test | 42.6 | 1.6 | 24.1 | 0.91 | 33.3 | 1.3 |
Multithreading Test | 68.6 | 18.3 | 68.7 | 4.5 | 68.6 | 11.4 |
All Tests | 31.4 | 5.3 | 48.6 | 4.4 | 40.0 | 4.8 |
The results above show that in general ObjectDB server is much more efficient than OpenJPA with Derby embedded in updating JPA entity objects in the database. Comparing the normalized speed of OpenJPA with Derby embedded database (4.8) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 8.3 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using JPA element collections with small transaction size. Comparing the normalized speed of OpenJPA with Derby embedded database (0.0090) to the normalized speed of ObjectDB database server (21.1) reveals that in that case, ObjectDB server is 2,344 times faster than OpenJPA with Derby embedded.
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 20.2 | 4.2 | 67.7 | 4.5 | 44.0 | 4.3 |
Element Collection Test | 22.9 | 0.0071 | 57.6 | 1.6 | 40.2 | 0.80 |
Inheritance Test | 23.1 | 0.035 | 61.6 | 3.0 | 42.3 | 1.5 |
Indexing Test | 34.9 | 5.3 | 55.9 | 3.6 | 45.4 | 4.4 |
Graph (Binary Tree) Test | 19.3 | 0.80 | 27.9 | 0.93 | 23.6 | 0.86 |
Multithreading Test | 38.5 | 5.7 | 50.5 | 6.2 | 44.5 | 6.0 |
All Tests | 26.5 | 2.7 | 53.5 | 3.3 | 40.0 | 3.0 |
The results above show that in general ObjectDB server is much more efficient than OpenJPA with Derby embedded in deleting JPA entity objects from the database. Comparing the normalized speed of OpenJPA with Derby embedded database (3.0) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 13.3 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using JPA element collections with small transaction size. Comparing the normalized speed of OpenJPA with Derby embedded database (0.0071) to the normalized speed of ObjectDB database server (22.9) reveals that in that case, ObjectDB server is 3,225 times faster than OpenJPA with Derby embedded.
Comparison of JPA/Database speed - the averages (normalized score, higher is better)
Transaction/Retrieval Size | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded | ObjectDB server | OpenJPA Derby embedded |
Basic Person Test | 25.6 | 15.8 | 50.8 | 9.0 | 38.2 | 12.4 |
Element Collection Test | 28.3 | 1.1 | 50.3 | 3.5 | 39.3 | 2.3 |
Inheritance Test | 24.7 | 1.3 | 53.9 | 3.7 | 39.3 | 2.5 |
Indexing Test | 26.2 | 7.2 | 62.2 | 12.0 | 44.2 | 9.6 |
Graph (Binary Tree) Test | 45.4 | 1.2 | 41.5 | 1.1 | 43.5 | 1.2 |
Multithreading Test | 50.8 | 19.8 | 66.2 | 10.9 | 58.5 | 15.3 |
All Tests | 33.1 | 8.0 | 54.6 | 6.9 | 43.9 | 7.4 |
The results above show that in general ObjectDB server is much more efficient than OpenJPA with Derby embedded in performing JPA database operations. Comparing the normalized speed of OpenJPA with Derby embedded database (7.4) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 5.9 times faster than OpenJPA with Derby embedded.
A huge performance gap has been detected when using graphs of objects with small transaction/retrieval size. Comparing the normalized speed of OpenJPA with Derby embedded database (1.2) to the normalized speed of ObjectDB database server (45.4) reveals that in that case, ObjectDB server is 37.8 times faster than OpenJPA with Derby 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
OpenJPA with Derby 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 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