Compare with

Comparison of ObjectDB server vs DataNucleus with PostgreSQL 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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test35.24.174.12.654.73.3
Element Collection Test38.20.9157.80.3848.00.64
Inheritance Test32.73.872.82.452.73.1
Indexing Test49.96.090.16.470.06.2
Graph (Binary Tree) Test1000.9189.20.7794.60.84
Multithreading Test76.618.099.48.388.013.1
All Tests55.45.680.63.568.04.5

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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test15.71.745.47.630.54.6
Element Collection Test19.90.7349.20.6334.60.68
Inheritance Test13.21.549.49.331.35.4
Indexing Test14.01.559.59.236.85.3
Graph (Binary Tree) Test19.92.624.712.322.37.4
Multithreading Test19.73.460.210.840.07.1
All Tests17.11.948.18.332.65.1

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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test38.849.125.94.732.426.9
Element Collection Test39.539.133.10.4836.319.8
Inheritance Test34.855.934.06.634.431.2
Indexing Test14.50.04853.36.433.93.2
Multithreading Test50.8failed52.1failed51.5failed
All Tests35.736.039.74.537.720.3

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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test18.32.140.90.8429.61.5
Element Collection Test21.11.453.70.6437.41.0
Inheritance Test19.92.151.91.235.91.7
Indexing Test17.92.252.11.535.01.8
Graph (Binary Tree) Test42.60.6524.10.2033.30.42
Multithreading Test68.60.4668.7failed68.60.46
All Tests31.41.548.60.8740.01.2

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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test20.23.067.71.344.02.2
Element Collection Test22.91.057.60.3940.20.69
Inheritance Test23.12.861.61.342.32.1
Indexing Test34.95.455.91.945.43.7
Graph (Binary Tree) Test19.30.3827.90.3723.60.37
Multithreading Test38.513.850.5failed44.513.8
All Tests26.54.453.51.140.02.9

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
 ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
ObjectDB serverDataNucleus
PostgreSQL server
Basic Person Test25.612.050.83.438.27.7
Element Collection Test28.38.650.30.5039.34.6
Inheritance Test24.713.253.94.239.38.7
Indexing Test26.23.062.25.144.24.0
Graph (Binary Tree) Test45.41.141.53.443.52.3
Multithreading Test50.88.966.29.558.59.1
All Tests33.18.054.63.843.96.0

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