Compare with

Comparison of ObjectDB server vs ObjectDB embedded

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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test35.210074.110054.7100
Element Collection Test38.210057.810048.0100
Inheritance Test32.710072.810052.7100
Indexing Test49.910090.110070.0100
Graph (Binary Tree) Test10088.489.210094.694.2
Multithreading Test76.610099.410088.0100
All Tests55.498.180.610068.099.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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test15.710045.410030.5100
Element Collection Test19.910049.210034.6100
Inheritance Test13.210049.410031.3100
Indexing Test14.010059.510036.8100
Graph (Binary Tree) Test19.910024.710022.3100
Multithreading Test19.710060.210040.0100
All Tests17.110048.110032.6100

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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test38.810025.910032.4100
Element Collection Test39.510033.110036.3100
Inheritance Test34.810034.010034.4100
Indexing Test14.510053.310033.9100
Multithreading Test50.810052.110051.5100
All Tests35.710039.710037.7100

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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test18.310040.910029.6100
Element Collection Test21.110053.710037.4100
Inheritance Test19.910051.910035.9100
Indexing Test17.910052.110035.0100
Graph (Binary Tree) Test42.610024.110033.3100
Multithreading Test68.610068.710068.6100
All Tests31.410048.610040.0100

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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test20.210067.710044.0100
Element Collection Test22.910057.610040.2100
Inheritance Test23.110061.610042.3100
Indexing Test34.910055.910045.4100
Graph (Binary Tree) Test19.310027.910023.6100
Multithreading Test38.510050.510044.5100
All Tests26.510053.510040.0100

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 serverObjectDB embeddedObjectDB serverObjectDB embeddedObjectDB serverObjectDB embedded
Basic Person Test25.610050.810038.2100
Element Collection Test28.310050.310039.3100
Inheritance Test24.710053.910039.3100
Indexing Test26.210062.210044.2100
Graph (Binary Tree) Test45.497.141.510043.598.5
Multithreading Test50.810066.210058.5100
All Tests33.199.654.610043.999.8

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