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 persistence 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 | 2.8 | 6.7 | 5.9 | 1.4 | 2.1 | 2.3 | 1.5 | 3.5 | |||
EclipseLink | 3.2 | 10.9 | 13.9 | 1.2 | 2.9 | 2.9 | 1.6 | 6.0 | |||
Hibernate | 3.3 | 12.5 | 13.7 | 0.93 | 2.8 | 3.4 | 1.8 | 5.3 | |||
OpenJPA | 2.7 | 7.9 | 6.9 | 2.5 | 2.4 | 1.5 | 4.5 | ||||
ObjectDB | 100 | 80.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 | 80.6 |
3. | EclipseLink with HSQLDB embedded | 13.9 |
4. | Hibernate with HSQLDB embedded | 13.7 |
5. | Hibernate with H2 embedded | 12.5 |
6. | EclipseLink with H2 embedded | 10.9 |
7. | OpenJPA with H2 embedded | 7.9 |
8. | OpenJPA with HSQLDB embedded | 6.9 |
9. | DataNucleus with H2 embedded | 6.7 |
10. | EclipseLink with PostgreSQL server | 6.0 |
11. | DataNucleus with HSQLDB embedded | 5.9 |
12. | Hibernate with PostgreSQL server | 5.3 |
13. | OpenJPA with PostgreSQL server | 4.5 |
14. | DataNucleus with PostgreSQL server | 3.5 |
15. | Hibernate with H2 server | 3.4 |
16. | Hibernate with Derby embedded | 3.3 |
17. | EclipseLink with Derby embedded | 3.2 |
The Least Efficient (the Slowest):
18. | EclipseLink with H2 server | 2.9 |
19. | EclipseLink with Derby server | 2.9 |
20. | Hibernate with Derby server | 2.8 |
21. | DataNucleus with Derby embedded | 2.8 |
22. | OpenJPA with Derby embedded | 2.7 |
23. | OpenJPA with Derby server | 2.5 |
24. | OpenJPA with H2 server | 2.4 |
25. | DataNucleus with H2 server | 2.3 |
26. | DataNucleus with Derby server | 2.1 |
27. | Hibernate with MySQL server | 1.8 |
28. | EclipseLink with MySQL server | 1.6 |
29. | OpenJPA with MySQL server | 1.5 |
30. | DataNucleus with MySQL server | 1.5 |
31. | DataNucleus with DB4O embedded | 1.4 |
32. | EclipseLink with SQLite embedded | 1.2 |
33. | Hibernate with SQLite embedded | 0.93 |
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 - Persistence Operations - Many Entities (5000)
- Element Collection Test - Persistence Operations - Many Entities (5000)
- Inheritance Test - Persistence Operations - Many Entities (5000)
- Indexing Test - Persistence Operations - Many Entities (5000)
- Graph (Binary Tree) Test - Persistence Operations - Many Entities (5000)
- Multithreading Test - Persistence Operations - Many Entities (5000)