Comparison of DataNucleus with PostgreSQL server vs ObjectDB 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 | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 4.1 | 35.2 | 2.6 | 74.1 | 3.3 | 54.7 |
Element Collection Test | 0.91 | 38.2 | 0.38 | 57.8 | 0.64 | 48.0 |
Inheritance Test | 3.8 | 32.7 | 2.4 | 72.8 | 3.1 | 52.7 |
Indexing Test | 6.0 | 49.9 | 6.4 | 90.1 | 6.2 | 70.0 |
Graph (Binary Tree) Test | 0.91 | 100 | 0.77 | 89.2 | 0.84 | 94.6 |
Multithreading Test | 18.0 | 76.6 | 8.3 | 99.4 | 13.1 | 88.0 |
All Tests | 5.6 | 55.4 | 3.5 | 80.6 | 4.5 | 68.0 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with PostgreSQL server in persisting JPA entity objects to the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (4.5) to the normalized speed of ObjectDB database server (68.0) reveals that in these tests, ObjectDB server is 15.1 times faster than DataNucleus with PostgreSQL server.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.38) to the normalized speed of ObjectDB database server (57.8) reveals that in that case, ObjectDB server is 152 times faster than DataNucleus with PostgreSQL server.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 1.7 | 15.7 | 7.6 | 45.4 | 4.6 | 30.5 |
Element Collection Test | 0.73 | 19.9 | 0.63 | 49.2 | 0.68 | 34.6 |
Inheritance Test | 1.5 | 13.2 | 9.3 | 49.4 | 5.4 | 31.3 |
Indexing Test | 1.5 | 14.0 | 9.2 | 59.5 | 5.3 | 36.8 |
Graph (Binary Tree) Test | 2.6 | 19.9 | 12.3 | 24.7 | 7.4 | 22.3 |
Multithreading Test | 3.4 | 19.7 | 10.8 | 60.2 | 7.1 | 40.0 |
All Tests | 1.9 | 17.1 | 8.3 | 48.1 | 5.1 | 32.6 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with PostgreSQL server in retrieving JPA entity objects from the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (5.1) to the normalized speed of ObjectDB database server (32.6) reveals that in these tests, ObjectDB server is 6.4 times faster than DataNucleus with PostgreSQL server.
A huge performance gap has been detected when using JPA element collections with large retrieval size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.63) to the normalized speed of ObjectDB database server (49.2) reveals that in that case, ObjectDB server is 78.1 times faster than DataNucleus with PostgreSQL server.
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 49.1 | 38.8 | 4.7 | 25.9 | 26.9 | 32.4 |
Element Collection Test | 39.1 | 39.5 | 0.48 | 33.1 | 19.8 | 36.3 |
Inheritance Test | 55.9 | 34.8 | 6.6 | 34.0 | 31.2 | 34.4 |
Indexing Test | 0.048 | 14.5 | 6.4 | 53.3 | 3.2 | 33.9 |
Multithreading Test | failed | 50.8 | failed | 52.1 | failed | 51.5 |
All Tests | 36.0 | 35.7 | 4.5 | 39.7 | 20.3 | 37.7 |
DataNucleus with PostgreSQL server has failed in 2 tests (see exceptions).
The results above show that in general ObjectDB server is more efficient than DataNucleus with PostgreSQL server in executing the tested JPA queries.
A huge performance gap has been detected when using database indexes with small retrieval size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.048) to the normalized speed of ObjectDB database server (14.5) reveals that in that case, ObjectDB server is 302 times faster than DataNucleus with PostgreSQL server.
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 2.1 | 18.3 | 0.84 | 40.9 | 1.5 | 29.6 |
Element Collection Test | 1.4 | 21.1 | 0.64 | 53.7 | 1.0 | 37.4 |
Inheritance Test | 2.1 | 19.9 | 1.2 | 51.9 | 1.7 | 35.9 |
Indexing Test | 2.2 | 17.9 | 1.5 | 52.1 | 1.8 | 35.0 |
Graph (Binary Tree) Test | 0.65 | 42.6 | 0.20 | 24.1 | 0.42 | 33.3 |
Multithreading Test | 0.46 | 68.6 | failed | 68.7 | 0.46 | 68.6 |
All Tests | 1.5 | 31.4 | 0.87 | 48.6 | 1.2 | 40.0 |
DataNucleus with PostgreSQL server has failed in 1 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with PostgreSQL server in updating JPA entity objects in the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (1.2) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 33.3 times faster than DataNucleus with PostgreSQL server.
A huge performance gap has been detected when using multithreading with small transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.46) to the normalized speed of ObjectDB database server (68.6) reveals that in that case, ObjectDB server is 149 times faster than DataNucleus with PostgreSQL server.
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 3.0 | 20.2 | 1.3 | 67.7 | 2.2 | 44.0 |
Element Collection Test | 1.0 | 22.9 | 0.39 | 57.6 | 0.69 | 40.2 |
Inheritance Test | 2.8 | 23.1 | 1.3 | 61.6 | 2.1 | 42.3 |
Indexing Test | 5.4 | 34.9 | 1.9 | 55.9 | 3.7 | 45.4 |
Graph (Binary Tree) Test | 0.38 | 19.3 | 0.37 | 27.9 | 0.37 | 23.6 |
Multithreading Test | 13.8 | 38.5 | failed | 50.5 | 13.8 | 44.5 |
All Tests | 4.4 | 26.5 | 1.1 | 53.5 | 2.9 | 40.0 |
DataNucleus with PostgreSQL server has failed in 1 tests (see exceptions).
The results above show that in general ObjectDB server is much more efficient than DataNucleus with PostgreSQL server in deleting JPA entity objects from the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (2.9) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 13.8 times faster than DataNucleus with PostgreSQL server.
A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.39) to the normalized speed of ObjectDB database server (57.6) reveals that in that case, ObjectDB server is 148 times faster than DataNucleus with PostgreSQL server.
Comparison of JPA/Database speed - the averages (normalized score, higher is better)
Transaction/Retrieval Size | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server | DataNucleus PostgreSQL server | ObjectDB server |
Basic Person Test | 12.0 | 25.6 | 3.4 | 50.8 | 7.7 | 38.2 |
Element Collection Test | 8.6 | 28.3 | 0.50 | 50.3 | 4.6 | 39.3 |
Inheritance Test | 13.2 | 24.7 | 4.2 | 53.9 | 8.7 | 39.3 |
Indexing Test | 3.0 | 26.2 | 5.1 | 62.2 | 4.0 | 44.2 |
Graph (Binary Tree) Test | 1.1 | 45.4 | 3.4 | 41.5 | 2.3 | 43.5 |
Multithreading Test | 8.9 | 50.8 | 9.5 | 66.2 | 9.1 | 58.5 |
All Tests | 8.0 | 33.1 | 3.8 | 54.6 | 6.0 | 43.9 |
The results above show that in general ObjectDB server is much more efficient than DataNucleus with PostgreSQL server in performing JPA database operations. Comparing the normalized speed of DataNucleus with PostgreSQL database server (6.0) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 7.3 times faster than DataNucleus with PostgreSQL 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 PostgreSQL database server (0.50) to the normalized speed of ObjectDB database server (50.3) reveals that in that case, ObjectDB server is 101 times faster than DataNucleus with PostgreSQL server.
Other Head to Head DBMS/JPA Comparisons
DataNucleus with PostgreSQL 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
- 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
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