When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
  | Derby embedded | H2 embedded | HSQLDB embedded | SQLite embedded | DB4O embedded | ObjectDB embedded | Derby server | H2 server | MySQL server | PostgreSQL server | ObjectDB server |
---|---|---|---|---|---|---|---|---|---|---|---|
DataNucleus | 8.7 | 10.6 | 6.0 | 0.0041 | 0.55 | 2.5 | 0.81 | 1.9 | |||
EclipseLink | 14.3 | 25.9 | 19.3 | 0.0007 | 4.1 | 5.2 | 0.35 | 5.4 | |||
Hibernate | 10.1 | 10.1 | 15.5 | 1.3 | 3.4 | 2.8 | 1.3 | 4.5 | |||
OpenJPA | 8.8 | 8.6 | 11.1 | 0.51 | 2.2 | 1.0 | 4.7 | ||||
ObjectDB | 100 | 17.1 |
Performance comparison chart - The Y-Axis represents normalized score in logarithmic scale - higher is better:
Performance comparison chart - The Y-Axis represents normalized score in linear scale - higher is better:
Best and Worst JPA/Database Performer in this comparison
The Most Efficient (the Fastest):
1. | ObjectDB embedded | 100 |
2. | EclipseLink with H2 embedded | 25.9 |
3. | EclipseLink with HSQLDB embedded | 19.3 |
4. | ObjectDB server | 17.1 |
5. | Hibernate with HSQLDB embedded | 15.5 |
6. | EclipseLink with Derby embedded | 14.3 |
7. | OpenJPA with HSQLDB embedded | 11.1 |
8. | DataNucleus with H2 embedded | 10.6 |
9. | Hibernate with H2 embedded | 10.1 |
10. | Hibernate with Derby embedded | 10.1 |
11. | OpenJPA with Derby embedded | 8.8 |
12. | DataNucleus with Derby embedded | 8.7 |
13. | OpenJPA with H2 embedded | 8.6 |
14. | DataNucleus with HSQLDB embedded | 6.0 |
15. | EclipseLink with PostgreSQL server | 5.4 |
16. | EclipseLink with H2 server | 5.2 |
17. | OpenJPA with PostgreSQL server | 4.7 |
The Least Efficient (the Slowest):
18. | Hibernate with PostgreSQL server | 4.5 |
19. | EclipseLink with Derby server | 4.1 |
20. | Hibernate with Derby server | 3.4 |
21. | Hibernate with H2 server | 2.8 |
22. | DataNucleus with H2 server | 2.5 |
23. | OpenJPA with H2 server | 2.2 |
24. | DataNucleus with PostgreSQL server | 1.9 |
25. | Hibernate with SQLite embedded | 1.3 |
26. | Hibernate with MySQL server | 1.3 |
27. | OpenJPA with MySQL server | 1.0 |
28. | DataNucleus with MySQL server | 0.81 |
29. | DataNucleus with Derby server | 0.55 |
30. | OpenJPA with Derby server | 0.51 |
31. | EclipseLink with MySQL server | 0.35 |
32. | DataNucleus with DB4O embedded | 0.0041 |
33. | EclipseLink with SQLite embedded | 0.0007 |
Total number of failed test runs (out of 6 tests in total) in this page results
Notes: Failed test runs are not included in any average score calculation. Click on failure numbers to see exception stack traces.
The results above are averages of the following 6 concrete test results
- Basic Person Test - Retrieval Operations - Few Entities (5/100)
- Element Collection Test - Retrieval Operations - Few Entities (5/100)
- Inheritance Test - Retrieval Operations - Few Entities (5/100)
- Indexing Test - Retrieval Operations - Few Entities (5/100)
- Graph (Binary Tree) Test - Retrieval Operations - Few Entities (5/100)
- Multithreading Test - Retrieval Operations - Few Entities (5/100)