Compare with

Comparison of EclipseLink with PostgreSQL server vs DataNucleus with PostgreSQL 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
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test7.34.14.22.65.83.3
Element Collection Test3.10.911.90.382.50.64
Inheritance Test6.93.85.02.45.93.1
Indexing Test10.06.06.86.48.46.2
Graph (Binary Tree) Test3.50.913.30.773.40.84
Multithreading Test31.818.014.58.323.113.1
All Tests10.45.66.03.58.24.5

The results above show that in general EclipseLink with PostgreSQL server is more efficient than DataNucleus with PostgreSQL server in persisting JPA entity objects to the database.

A large performance gap has been detected when using JPA element collections with large transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.38) to the normalized speed of EclipseLink with PostgreSQL database server (1.9) reveals that in that case, EclipseLink with PostgreSQL server is 5.0 times faster than DataNucleus with PostgreSQL server.

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test6.81.717.27.612.04.6
Element Collection Test0.0260.730.0200.630.0230.68
Inheritance Test6.01.519.79.312.95.4
Indexing Test5.61.519.59.212.65.3
Graph (Binary Tree) Test0.472.60.6112.30.547.4
Multithreading Test13.53.427.810.820.67.1
All Tests5.41.914.18.39.85.1

The results above show that in general EclipseLink with PostgreSQL server is more efficient than DataNucleus with PostgreSQL server in retrieving JPA entity objects from the database.

A large performance gap has been detected when using simple basic entities with small retrieval size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (1.7) to the normalized speed of EclipseLink with PostgreSQL database server (6.8) reveals that in that case, EclipseLink with PostgreSQL server is 4.0 times faster than DataNucleus with PostgreSQL server.

On the other hand, EclipseLink with PostgreSQL server is slower, for instance, when using JPA element collections with large retrieval size. Comparing the normalized speed of EclipseLink with PostgreSQL database server (0.020) to the normalized speed of DataNucleus with PostgreSQL database server (0.63) reveals that in that case, EclipseLink with PostgreSQL server is 31.5 times slower than DataNucleus with PostgreSQL server.

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

Retrieval Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test55.549.17.84.731.626.9
Element Collection Test15.439.10.0280.487.719.8
Inheritance Test54.955.911.56.633.231.2
Indexing Test0.0770.04810.06.45.13.2
Multithreading Test55.3failed12.0failed33.7failed
All Tests36.236.08.34.522.320.3

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

The results above show that in general EclipseLink with PostgreSQL server is slightly more efficient than DataNucleus with PostgreSQL server in executing the tested JPA queries.

On the other hand, EclipseLink with PostgreSQL server is slower, for instance, when using JPA element collections with large retrieval size. Comparing the normalized speed of EclipseLink with PostgreSQL database server (0.028) to the normalized speed of DataNucleus with PostgreSQL database server (0.48) reveals that in that case, EclipseLink with PostgreSQL server is 17.1 times slower than DataNucleus with PostgreSQL server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test6.22.14.10.845.11.5
Element Collection Test0.0801.40.0280.640.0541.0
Inheritance Test6.42.16.11.26.21.7
Indexing Test6.52.27.01.56.81.8
Graph (Binary Tree) Test0.900.650.500.200.700.42
Multithreading Test36.00.469.1failed22.50.46
All Tests9.31.54.50.876.91.2

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

The results above show that in general EclipseLink with PostgreSQL server is much more efficient than DataNucleus with PostgreSQL server in updating JPA entity objects in the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (1.2) to the normalized speed of EclipseLink with PostgreSQL database server (6.9) reveals that in these tests, EclipseLink with PostgreSQL server is 5.8 times faster than DataNucleus with PostgreSQL server.

A huge performance gap has been detected when using multithreading with small transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (0.46) to the normalized speed of EclipseLink with PostgreSQL database server (36.0) reveals that in that case, EclipseLink with PostgreSQL server is 78.3 times faster than DataNucleus with PostgreSQL server.

On the other hand, EclipseLink with PostgreSQL server is slower, for instance, when using JPA element collections with large transaction size. Comparing the normalized speed of EclipseLink with PostgreSQL database server (0.028) to the normalized speed of DataNucleus with PostgreSQL database server (0.64) reveals that in that case, EclipseLink with PostgreSQL server is 22.9 times slower than DataNucleus with PostgreSQL server.

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

Transaction Size =>Few EntitiesMany EntitiesAverage Score
 EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test5.73.05.71.35.72.2
Element Collection Test0.0251.0stopped0.390.0120.69
Inheritance Test5.52.85.41.35.42.1
Indexing Test10.45.410.01.910.23.7
Graph (Binary Tree) Test0.0160.380.0130.370.0150.37
Multithreading Test26.313.816.8failed21.613.8
All Tests8.04.46.31.17.22.9

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

The results above show that in general EclipseLink with PostgreSQL server is more efficient than DataNucleus with PostgreSQL server in deleting JPA entity objects from the database. Comparing the normalized speed of DataNucleus with PostgreSQL database server (2.9) to the normalized speed of EclipseLink with PostgreSQL database server (7.2) reveals that in these tests, EclipseLink with PostgreSQL server is 2.5 times faster than DataNucleus with PostgreSQL server.

A large performance gap has been detected when using database indexes with large transaction size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (1.9) to the normalized speed of EclipseLink with PostgreSQL database server (10.0) reveals that in that case, EclipseLink with PostgreSQL server is 5.3 times faster than DataNucleus with PostgreSQL server.

On the other hand, EclipseLink with PostgreSQL server is slower, for instance, when using JPA element collections with small transaction size. Comparing the normalized speed of EclipseLink with PostgreSQL database server (0.025) to the normalized speed of DataNucleus with PostgreSQL database server (1.0) reveals that in that case, EclipseLink with PostgreSQL server is 40.0 times slower than DataNucleus with PostgreSQL server.

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

Transaction/Retrieval SizeFew EntitiesMany EntitiesAverage Score
 EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
EclipseLink
PostgreSQL server
DataNucleus
PostgreSQL server
Basic Person Test16.312.07.83.412.17.7
Element Collection Test3.78.60.400.502.14.6
Inheritance Test15.913.29.54.212.78.7
Indexing Test6.53.010.75.18.64.0
Graph (Binary Tree) Test1.21.11.13.41.22.3
Multithreading Test32.68.916.09.524.39.1
All Tests13.18.07.83.810.56.0

The results above show that in general EclipseLink with PostgreSQL server is more efficient than DataNucleus with PostgreSQL server in performing JPA database operations.

A large performance gap has been detected when using multithreading with small transaction/retrieval size. Comparing the normalized speed of DataNucleus with PostgreSQL database server (8.9) to the normalized speed of EclipseLink with PostgreSQL database server (32.6) reveals that in that case, EclipseLink with PostgreSQL server is 3.7 times faster than DataNucleus with PostgreSQL server.

On the other hand, EclipseLink with PostgreSQL server is slower, for instance, when using graphs of objects with large transaction/retrieval size. Comparing the normalized speed of EclipseLink with PostgreSQL database server (1.1) to the normalized speed of DataNucleus with PostgreSQL database server (3.4) reveals that in that case, EclipseLink with PostgreSQL server is 3.1 times slower than DataNucleus with PostgreSQL server.

Other Head to Head DBMS/JPA Comparisons