Compare with

Comparison of ObjectDB embedded 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
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10035.210074.110054.7
Element Collection Test10038.210057.810048.0
Inheritance Test10032.710072.810052.7
Indexing Test10049.910090.110070.0
Graph (Binary Tree) Test88.410010089.294.294.6
Multithreading Test10076.610099.410088.0
All Tests98.155.410080.699.068.0

The results above show that in general ObjectDB embedded is more efficient than ObjectDB server in persisting JPA entity objects to the database.

A large performance gap has been detected when using class inheritance in the object model with small transaction size. Comparing the normalized speed of ObjectDB database server (32.7) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 3.1 times faster than ObjectDB server.

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10015.710045.410030.5
Element Collection Test10019.910049.210034.6
Inheritance Test10013.210049.410031.3
Indexing Test10014.010059.510036.8
Graph (Binary Tree) Test10019.910024.710022.3
Multithreading Test10019.710060.210040.0
All Tests10017.110048.110032.6

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

A large performance gap has been detected when using class inheritance in the object model with small retrieval size. Comparing the normalized speed of ObjectDB database server (13.2) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 7.6 times faster than ObjectDB server.

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10038.810025.910032.4
Element Collection Test10039.510033.110036.3
Inheritance Test10034.810034.010034.4
Indexing Test10014.510053.310033.9
Multithreading Test10050.810052.110051.5
All Tests10035.710039.710037.7

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

A large performance gap has been detected when using database indexes with small retrieval size. Comparing the normalized speed of ObjectDB database server (14.5) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 6.9 times faster than ObjectDB server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10018.310040.910029.6
Element Collection Test10021.110053.710037.4
Inheritance Test10019.910051.910035.9
Indexing Test10017.910052.110035.0
Graph (Binary Tree) Test10042.610024.110033.3
Multithreading Test10068.610068.710068.6
All Tests10031.410048.610040.0

The results above show that in general ObjectDB embedded is more efficient than ObjectDB server in updating JPA entity objects in the database. Comparing the normalized speed of ObjectDB database server (40.0) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 2.5 times faster than ObjectDB server.

A large performance gap has been detected when using database indexes with small transaction size. Comparing the normalized speed of ObjectDB database server (17.9) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 5.6 times faster than ObjectDB server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10020.210067.710044.0
Element Collection Test10022.910057.610040.2
Inheritance Test10023.110061.610042.3
Indexing Test10034.910055.910045.4
Graph (Binary Tree) Test10019.310027.910023.6
Multithreading Test10038.510050.510044.5
All Tests10026.510053.510040.0

The results above show that in general ObjectDB embedded is more efficient than ObjectDB server in deleting JPA entity objects from the database. Comparing the normalized speed of ObjectDB database server (40.0) to the normalized speed of ObjectDB embedded database (100) reveals that in these tests, ObjectDB embedded is 2.5 times faster than ObjectDB server.

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

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

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 ObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB server
Basic Person Test10025.610050.810038.2
Element Collection Test10028.310050.310039.3
Inheritance Test10024.710053.910039.3
Indexing Test10026.210062.210044.2
Graph (Binary Tree) Test97.145.410041.598.543.5
Multithreading Test10050.810066.210058.5
All Tests99.633.110054.699.843.9

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

A large performance gap has been detected when using class inheritance in the object model with small transaction/retrieval size. Comparing the normalized speed of ObjectDB database server (24.7) to the normalized speed of ObjectDB embedded database (100) reveals that in that case, ObjectDB embedded is 4.0 times faster than ObjectDB server.

Other Head to Head DBMS/JPA Comparisons