Compare with

Comparison of ObjectDB server vs DataNucleus with Derby 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
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test35.22.874.12.354.72.6
Element Collection Test38.20.7157.80.3548.00.53
Inheritance Test32.72.772.82.052.72.3
Indexing Test49.94.590.14.070.04.3
Graph (Binary Tree) Test1000.6289.20.5394.60.57
Multithreading Test76.64.999.43.488.04.1
All Tests55.42.780.62.168.02.4

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in persisting JPA entity objects to the database. Comparing the normalized speed of DataNucleus with Derby database server (2.4) to the normalized speed of ObjectDB database server (68.0) reveals that in these tests, ObjectDB server is 28.3 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using graphs of objects with large transaction size. Comparing the normalized speed of DataNucleus with Derby database server (0.53) to the normalized speed of ObjectDB database server (89.2) reveals that in that case, ObjectDB server is 168 times faster than DataNucleus with Derby server.

Speed comparison of JPA database retrieval operations (normalized score, higher is better)

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test15.70.5645.46.330.53.4
Element Collection Test19.90.3649.20.9334.60.64
Inheritance Test13.20.4549.46.831.33.6
Indexing Test14.00.5059.57.136.83.8
Graph (Binary Tree) Test19.90.2224.76.622.33.4
Multithreading Test19.71.260.210.040.05.6
All Tests17.10.5548.16.332.63.4

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in retrieving JPA entity objects from the database. Comparing the normalized speed of DataNucleus with Derby database server (3.4) to the normalized speed of ObjectDB database server (32.6) reveals that in these tests, ObjectDB server is 9.6 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using graphs of objects with small retrieval size. Comparing the normalized speed of DataNucleus with Derby database server (0.22) to the normalized speed of ObjectDB database server (19.9) reveals that in that case, ObjectDB server is 90.5 times faster than DataNucleus with Derby server.

Speed comparison of JPA database query operations (normalized score, higher is better)

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test38.837.725.93.632.420.7
Element Collection Test39.525.933.11.436.313.6
Inheritance Test34.86.534.01.834.44.2
Indexing Test14.50.03053.34.933.92.5
Multithreading Test50.8failed52.1failed51.5failed
All Tests35.717.539.72.937.710.2

DataNucleus with Derby server has failed in 2 tests (see exceptions).

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in executing the tested JPA queries. Comparing the normalized speed of DataNucleus with Derby database server (10.2) to the normalized speed of ObjectDB database server (37.7) reveals that in these tests, ObjectDB server is 3.7 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using database indexes with small retrieval size. Comparing the normalized speed of DataNucleus with Derby database server (0.030) to the normalized speed of ObjectDB database server (14.5) reveals that in that case, ObjectDB server is 483 times faster than DataNucleus with Derby server.

Speed comparison of JPA database update operations (normalized score, higher is better)

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test18.31.140.90.8529.60.99
Element Collection Test21.10.8153.70.6237.40.71
Inheritance Test19.91.251.91.335.91.2
Indexing Test17.91.252.11.535.01.3
Graph (Binary Tree) Test42.60.2924.10.4133.30.35
Multithreading Test68.6failed68.7failed68.6failed
All Tests31.40.9348.60.9240.00.92

DataNucleus with Derby server has failed in 2 tests (see exceptions).

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in updating JPA entity objects in the database. Comparing the normalized speed of DataNucleus with Derby database server (0.92) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 43.5 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using graphs of objects with small transaction size. Comparing the normalized speed of DataNucleus with Derby database server (0.29) to the normalized speed of ObjectDB database server (42.6) reveals that in that case, ObjectDB server is 147 times faster than DataNucleus with Derby server.

Speed comparison of JPA database removal operations (normalized score, higher is better)

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test20.21.367.71.344.01.3
Element Collection Test22.90.6157.60.3340.20.47
Inheritance Test23.11.061.61.342.31.2
Indexing Test34.92.355.91.945.42.1
Graph (Binary Tree) Test19.30.2627.90.4623.60.36
Multithreading Test38.5failed50.5failed44.5failed
All Tests26.51.153.51.140.01.1

DataNucleus with Derby server has failed in 2 tests (see exceptions).

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in deleting JPA entity objects from the database. Comparing the normalized speed of DataNucleus with Derby database server (1.1) to the normalized speed of ObjectDB database server (40.0) reveals that in these tests, ObjectDB server is 36.4 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with Derby database server (0.33) to the normalized speed of ObjectDB database server (57.6) reveals that in that case, ObjectDB server is 175 times faster than DataNucleus with Derby server.

Comparison of JPA/Database speed - the averages (normalized score, higher is better)

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
ObjectDB serverDataNucleus
Derby server
Basic Person Test25.68.750.82.938.25.8
Element Collection Test28.35.750.30.7239.33.2
Inheritance Test24.72.453.92.639.32.5
Indexing Test26.21.762.23.944.22.8
Graph (Binary Tree) Test45.40.3541.52.043.51.2
Multithreading Test50.83.066.26.758.54.9
All Tests33.13.854.62.843.93.3

The results above show that in general ObjectDB server is much more efficient than DataNucleus with Derby server in performing JPA database operations. Comparing the normalized speed of DataNucleus with Derby database server (3.3) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 13.3 times faster than DataNucleus with Derby server.

A huge performance gap has been detected when using graphs of objects with small transaction/retrieval size. Comparing the normalized speed of DataNucleus with Derby database server (0.35) to the normalized speed of ObjectDB database server (45.4) reveals that in that case, ObjectDB server is 130 times faster than DataNucleus with Derby server.

Other Head to Head DBMS/JPA Comparisons