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 | 10.9 | 12.2 | 7.6 | 0.91 | 3.4 | 4.4 | 3.7 | 5.1 | |||
EclipseLink | 28.2 | 28.5 | 24.3 | 0.0007 | 7.0 | 6.7 | 5.4 | 9.8 | |||
Hibernate | 11.6 | 10.9 | 15.7 | 1.4 | 5.3 | 4.2 | 5.2 | 7.0 | |||
OpenJPA | 11.7 | 12.8 | 14.4 | 4.4 | 4.2 | 6.7 | 9.4 | ||||
ObjectDB | 100 | 32.6 |
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. | ObjectDB server | 32.6 |
3. | EclipseLink with H2 embedded | 28.5 |
4. | EclipseLink with Derby embedded | 28.2 |
5. | EclipseLink with HSQLDB embedded | 24.3 |
6. | Hibernate with HSQLDB embedded | 15.7 |
7. | OpenJPA with HSQLDB embedded | 14.4 |
8. | OpenJPA with H2 embedded | 12.8 |
9. | DataNucleus with H2 embedded | 12.2 |
10. | OpenJPA with Derby embedded | 11.7 |
11. | Hibernate with Derby embedded | 11.6 |
12. | DataNucleus with Derby embedded | 10.9 |
13. | Hibernate with H2 embedded | 10.9 |
14. | EclipseLink with PostgreSQL server | 9.8 |
15. | OpenJPA with PostgreSQL server | 9.4 |
16. | DataNucleus with HSQLDB embedded | 7.6 |
17. | EclipseLink with Derby server | 7.0 |
The Least Efficient (the Slowest):
18. | Hibernate with PostgreSQL server | 7.0 |
19. | EclipseLink with H2 server | 6.7 |
20. | OpenJPA with MySQL server | 6.7 |
21. | EclipseLink with MySQL server | 5.4 |
22. | Hibernate with Derby server | 5.3 |
23. | Hibernate with MySQL server | 5.2 |
24. | DataNucleus with PostgreSQL server | 5.1 |
25. | OpenJPA with Derby server | 4.4 |
26. | DataNucleus with H2 server | 4.4 |
27. | OpenJPA with H2 server | 4.2 |
28. | Hibernate with H2 server | 4.2 |
29. | DataNucleus with MySQL server | 3.7 |
30. | DataNucleus with Derby server | 3.4 |
31. | Hibernate with SQLite embedded | 1.4 |
32. | DataNucleus with DB4O embedded | 0.91 |
33. | EclipseLink with SQLite embedded | 0.0007 |
Total number of failed test runs (out of 12 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 12 concrete test results
- Basic Person Test - Retrieval Operations - Few Entities (5/100)
- Basic Person Test - Retrieval Operations - Many Entities (5000)
- Element Collection Test - Retrieval Operations - Few Entities (5/100)
- Element Collection Test - Retrieval Operations - Many Entities (5000)
- Inheritance Test - Retrieval Operations - Few Entities (5/100)
- Inheritance Test - Retrieval Operations - Many Entities (5000)
- Indexing Test - Retrieval Operations - Few Entities (5/100)
- Indexing Test - Retrieval Operations - Many Entities (5000)
- Graph (Binary Tree) Test - Retrieval Operations - Few Entities (5/100)
- Graph (Binary Tree) Test - Retrieval Operations - Many Entities (5000)
- Multithreading Test - Retrieval Operations - Few Entities (5/100)
- Multithreading Test - Retrieval Operations - Many Entities (5000)