Compare with

Comparison of EclipseLink with MySQL 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
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test3.635.21.574.12.654.7
Element Collection Test1.538.20.6957.81.148.0
Inheritance Test3.532.71.472.82.452.7
Indexing Test5.349.92.590.13.970.0
Graph (Binary Tree) Test1.71001.389.21.594.6
Multithreading Test7.276.62.499.44.888.0
All Tests3.855.41.680.62.768.0

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

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

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test0.4315.715.545.48.030.5
Element Collection Test0.1619.91.449.20.7834.6
Inheritance Test0.3913.217.649.49.031.3
Indexing Test0.4314.016.659.58.536.8
Graph (Binary Tree) Test0.5319.90.7624.70.6522.3
Multithreading Test0.1919.711.060.25.640.0
All Tests0.3517.110.548.15.432.6

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

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

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test1.538.80.4425.90.9532.4
Element Collection Test1.439.50.4333.10.9236.3
Inheritance Test1.134.80.6134.00.8634.4
Indexing Test0.2614.50.5253.30.3933.9
Multithreading Test1.950.80.7252.11.351.5
All Tests1.235.70.5439.70.8837.7

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

A huge performance gap has been detected when using database indexes with large retrieval size. Comparing the normalized speed of EclipseLink with MySQL database server (0.52) to the normalized speed of ObjectDB database server (53.3) reveals that in that case, ObjectDB server is 102 times faster than EclipseLink with MySQL server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test0.3918.31.840.91.129.6
Element Collection Test0.2321.11.453.70.8337.4
Inheritance Test0.4219.92.651.91.535.9
Indexing Test0.4617.93.152.11.835.0
Graph (Binary Tree) Test0.6742.60.4124.10.5433.3
Multithreading Test0.4868.62.668.71.568.6
All Tests0.4431.42.048.61.240.0

The results above show that in general ObjectDB server is much more efficient than EclipseLink with MySQL server in updating JPA entity objects in the database. Comparing the normalized speed of EclipseLink with MySQL 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 EclipseLink with MySQL server.

A huge performance gap has been detected when using multithreading with small transaction size. Comparing the normalized speed of EclipseLink with MySQL database server (0.48) to the normalized speed of ObjectDB database server (68.6) reveals that in that case, ObjectDB server is 143 times faster than EclipseLink with MySQL server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test0.3520.21.767.71.044.0
Element Collection Test0.1122.90.5157.60.3140.2
Inheritance Test0.2923.11.661.60.9442.3
Indexing Test0.4634.91.955.91.245.4
Graph (Binary Tree) Test0.5419.30.4927.90.5123.6
Multithreading Test0.3138.53.650.51.944.5
All Tests0.3426.51.653.50.9840.0

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

A huge performance gap has been detected when using JPA element collections with small transaction size. Comparing the normalized speed of EclipseLink with MySQL database server (0.11) to the normalized speed of ObjectDB database server (22.9) reveals that in that case, ObjectDB server is 208 times faster than EclipseLink with MySQL server.

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

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 EclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB serverEclipseLink
MySQL server
ObjectDB server
Basic Person Test1.325.64.250.82.738.2
Element Collection Test0.6928.30.8950.30.7939.3
Inheritance Test1.124.74.853.92.939.3
Indexing Test1.426.24.962.23.244.2
Graph (Binary Tree) Test0.8545.40.7341.50.7943.5
Multithreading Test2.050.84.066.23.058.5
All Tests1.233.13.354.62.343.9

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

A huge performance gap has been detected when using graphs of objects with large transaction/retrieval size. Comparing the normalized speed of EclipseLink with MySQL database server (0.73) to the normalized speed of ObjectDB database server (41.5) reveals that in that case, ObjectDB server is 56.8 times faster than EclipseLink with MySQL server.

Other Head to Head DBMS/JPA Comparisons