Compare with

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 EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test4.135.22.674.13.354.7
Element Collection Test0.9138.20.3857.80.6448.0
Inheritance Test3.832.72.472.83.152.7
Indexing Test6.049.96.490.16.270.0
Graph (Binary Tree) Test0.911000.7789.20.8494.6
Multithreading Test18.076.68.399.413.188.0
All Tests5.655.43.580.64.568.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 EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test1.715.77.645.44.630.5
Element Collection Test0.7319.90.6349.20.6834.6
Inheritance Test1.513.29.349.45.431.3
Indexing Test1.514.09.259.55.336.8
Graph (Binary Tree) Test2.619.912.324.77.422.3
Multithreading Test3.419.710.860.27.140.0
All Tests1.917.18.348.15.132.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 EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test49.138.84.725.926.932.4
Element Collection Test39.139.50.4833.119.836.3
Inheritance Test55.934.86.634.031.234.4
Indexing Test0.04814.56.453.33.233.9
Multithreading Testfailed50.8failed52.1failed51.5
All Tests36.035.74.539.720.337.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 EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test2.118.30.8440.91.529.6
Element Collection Test1.421.10.6453.71.037.4
Inheritance Test2.119.91.251.91.735.9
Indexing Test2.217.91.552.11.835.0
Graph (Binary Tree) Test0.6542.60.2024.10.4233.3
Multithreading Test0.4668.6failed68.70.4668.6
All Tests1.531.40.8748.61.240.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 EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test3.020.21.367.72.244.0
Element Collection Test1.022.90.3957.60.6940.2
Inheritance Test2.823.11.361.62.142.3
Indexing Test5.434.91.955.93.745.4
Graph (Binary Tree) Test0.3819.30.3727.90.3723.6
Multithreading Test13.838.5failed50.513.844.5
All Tests4.426.51.153.52.940.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 SizeFew EntitiesMany EntitiesAverage Score
 DataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB server
Basic Person Test12.025.63.450.87.738.2
Element Collection Test8.628.30.5050.34.639.3
Inheritance Test13.224.74.253.98.739.3
Indexing Test3.026.25.162.24.044.2
Graph (Binary Tree) Test1.145.43.441.52.343.5
Multithreading Test8.950.89.566.29.158.5
All Tests8.033.13.854.66.043.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