Compare with

Comparison of ObjectDB server vs DataNucleus with MySQL 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
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test35.22.674.11.454.72.0
Element Collection Test38.21.057.80.4848.00.76
Inheritance Test32.72.572.81.352.71.9
Indexing Test49.94.090.12.570.03.3
Graph (Binary Tree) Test1001.189.20.9994.61.1
Multithreading Test76.66.299.42.588.04.4
All Tests55.42.980.61.568.02.2

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

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

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test15.70.9645.49.330.55.1
Element Collection Test19.90.1849.20.7734.60.47
Inheritance Test13.20.5549.48.531.34.5
Indexing Test14.00.8259.59.736.85.3
Graph (Binary Tree) Test19.92.124.73.522.32.8
Multithreading Test19.70.2760.27.840.04.0
All Tests17.10.8148.16.632.63.7

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

A huge performance gap has been detected when using JPA element collections with small retrieval size. Comparing the normalized speed of DataNucleus with MySQL database server (0.18) to the normalized speed of ObjectDB database server (19.9) reveals that in that case, ObjectDB server is 111 times faster than DataNucleus with MySQL server.

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test38.87.225.92.232.44.7
Element Collection Test39.55.833.10.2736.33.1
Inheritance Test34.82.934.01.734.42.3
Indexing Test14.50.008453.32.533.91.2
Multithreading Test50.8failed52.1failed51.5failed
All Tests35.74.039.71.737.72.8

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

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

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

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test18.30.6140.91.129.60.88
Element Collection Test21.10.3153.70.4437.40.38
Inheritance Test19.90.5151.91.835.91.1
Indexing Test17.90.6852.12.235.01.5
Graph (Binary Tree) Test42.60.9124.10.4733.30.69
Multithreading Test68.60.6468.7failed68.60.64
All Tests31.40.6148.61.240.00.88

DataNucleus with MySQL server has failed in 1 tests (see exceptions).

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

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

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test20.20.7067.71.344.01.0
Element Collection Test22.90.1757.60.4040.20.29
Inheritance Test23.10.4161.61.342.30.87
Indexing Test34.91.755.91.945.41.8
Graph (Binary Tree) Test19.30.4927.90.4623.60.47
Multithreading Test38.5failed50.5failed44.5failed
All Tests26.50.6953.51.140.00.89

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

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

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

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

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
ObjectDB serverDataNucleus
MySQL server
Basic Person Test25.62.450.83.138.22.7
Element Collection Test28.31.550.30.4739.30.99
Inheritance Test24.71.453.92.939.32.1
Indexing Test26.21.462.23.844.22.6
Graph (Binary Tree) Test45.41.241.51.443.51.3
Multithreading Test50.82.466.25.158.53.5
All Tests33.11.754.62.643.92.1

The results above show that in general ObjectDB server is much more efficient than DataNucleus with MySQL server in performing JPA database operations. Comparing the normalized speed of DataNucleus with MySQL database server (2.1) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 20.9 times faster than DataNucleus with MySQL 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 MySQL database server (0.47) to the normalized speed of ObjectDB database server (50.3) reveals that in that case, ObjectDB server is 107 times faster than DataNucleus with MySQL server.

Other Head to Head DBMS/JPA Comparisons