Compare with

Comparison of EclipseLink with Derby 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
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test3.835.23.174.13.454.7
Element Collection Test2.238.21.557.81.848.0
Inheritance Test3.932.72.972.83.452.7
Indexing Test5.249.94.390.14.770.0
Graph (Binary Tree) Test1.91001.789.21.894.6
Multithreading Test6.176.63.999.45.088.0
All Tests3.855.42.980.63.468.0

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

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

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test6.415.711.345.48.830.5
Element Collection Test1.819.92.449.22.134.6
Inheritance Test3.713.212.949.48.331.3
Indexing Test3.614.012.859.58.236.8
Graph (Binary Tree) Test0.6119.90.7324.70.6722.3
Multithreading Test8.519.719.860.214.140.0
All Tests4.117.110.048.17.032.6

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

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

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test45.838.85.325.925.632.4
Element Collection Test35.239.50.9933.118.136.3
Inheritance Test23.134.85.934.014.534.4
Indexing Test2.514.512.253.37.433.9
Multithreading Test34.350.87.752.121.051.5
All Tests28.235.76.439.717.337.7

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

A huge performance gap has been detected when using JPA element collections with large retrieval size. Comparing the normalized speed of EclipseLink with Derby database server (0.99) to the normalized speed of ObjectDB database server (33.1) reveals that in that case, ObjectDB server is 33.4 times faster than EclipseLink with Derby server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test3.918.34.440.94.129.6
Element Collection Test1.721.11.653.71.637.4
Inheritance Test4.619.96.151.95.335.9
Indexing Test4.517.97.652.16.135.0
Graph (Binary Tree) Test0.7042.60.4224.10.5633.3
Multithreading Test7.368.64.868.76.068.6
All Tests3.831.44.248.64.040.0

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

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

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test2.820.23.967.73.344.0
Element Collection Test1.222.90.5557.60.8740.2
Inheritance Test3.323.13.761.63.542.3
Indexing Test4.934.93.555.94.245.4
Graph (Binary Tree) Test0.5119.30.5027.90.5123.6
Multithreading Test4.838.55.750.55.344.5
All Tests2.926.53.053.53.040.0

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

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

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

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 EclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB serverEclipseLink
Derby server
ObjectDB server
Basic Person Test12.525.65.650.89.138.2
Element Collection Test8.428.31.450.34.939.3
Inheritance Test7.724.76.353.97.039.3
Indexing Test4.126.28.162.26.144.2
Graph (Binary Tree) Test0.9345.40.8341.50.8843.5
Multithreading Test12.250.88.466.210.358.5
All Tests7.933.15.254.66.643.9

The results above show that in general ObjectDB server is much more efficient than EclipseLink with Derby server in performing JPA database operations. Comparing the normalized speed of EclipseLink with Derby database server (6.6) to the normalized speed of ObjectDB database server (43.9) reveals that in these tests, ObjectDB server is 6.7 times faster than EclipseLink with Derby 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 Derby database server (0.83) to the normalized speed of ObjectDB database server (41.5) reveals that in that case, ObjectDB server is 50.0 times faster than EclipseLink with Derby server.

Other Head to Head DBMS/JPA Comparisons