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 | 3.8 | 12.5 | 11.7 | 0.71 | 2.4 | 3.2 | 2.2 | 4.5 | |||
EclipseLink | 4.3 | 18.8 | 19.8 | 0.64 | 3.4 | 4.9 | 2.7 | 8.2 | |||
Hibernate | 4.4 | 17.6 | 19.7 | 0.53 | 3.3 | 4.5 | 2.8 | 7.7 | |||
OpenJPA | 3.7 | 12.9 | 10.4 | 2.9 | 3.4 | 2.6 | 5.9 | ||||
ObjectDB | 99.0 | 68.0 |
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 | 99.0 |
2. | ObjectDB server | 68.0 |
3. | EclipseLink with HSQLDB embedded | 19.8 |
4. | Hibernate with HSQLDB embedded | 19.7 |
5. | EclipseLink with H2 embedded | 18.8 |
6. | Hibernate with H2 embedded | 17.6 |
7. | OpenJPA with H2 embedded | 12.9 |
8. | DataNucleus with H2 embedded | 12.5 |
9. | DataNucleus with HSQLDB embedded | 11.7 |
10. | OpenJPA with HSQLDB embedded | 10.4 |
11. | EclipseLink with PostgreSQL server | 8.2 |
12. | Hibernate with PostgreSQL server | 7.7 |
13. | OpenJPA with PostgreSQL server | 5.9 |
14. | EclipseLink with H2 server | 4.9 |
15. | DataNucleus with PostgreSQL server | 4.5 |
16. | Hibernate with H2 server | 4.5 |
17. | Hibernate with Derby embedded | 4.4 |
The Least Efficient (the Slowest):
18. | EclipseLink with Derby embedded | 4.3 |
19. | DataNucleus with Derby embedded | 3.8 |
20. | OpenJPA with Derby embedded | 3.7 |
21. | OpenJPA with H2 server | 3.4 |
22. | EclipseLink with Derby server | 3.4 |
23. | Hibernate with Derby server | 3.3 |
24. | DataNucleus with H2 server | 3.2 |
25. | OpenJPA with Derby server | 2.9 |
26. | Hibernate with MySQL server | 2.8 |
27. | EclipseLink with MySQL server | 2.7 |
28. | OpenJPA with MySQL server | 2.6 |
29. | DataNucleus with Derby server | 2.4 |
30. | DataNucleus with MySQL server | 2.2 |
31. | DataNucleus with DB4O embedded | 0.71 |
32. | EclipseLink with SQLite embedded | 0.64 |
33. | Hibernate with SQLite embedded | 0.53 |
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 - Persistence Operations - Few Entities (5/100)
- Basic Person Test - Persistence Operations - Many Entities (5000)
- Element Collection Test - Persistence Operations - Few Entities (5/100)
- Element Collection Test - Persistence Operations - Many Entities (5000)
- Inheritance Test - Persistence Operations - Few Entities (5/100)
- Inheritance Test - Persistence Operations - Many Entities (5000)
- Indexing Test - Persistence Operations - Few Entities (5/100)
- Indexing Test - Persistence Operations - Many Entities (5000)
- Graph (Binary Tree) Test - Persistence Operations - Few Entities (5/100)
- Graph (Binary Tree) Test - Persistence Operations - Many Entities (5000)
- Multithreading Test - Persistence Operations - Few Entities (5/100)
- Multithreading Test - Persistence Operations - Many Entities (5000)