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 per second (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 | 5,013 | 14,540 | 8,658 | 2,408 | 4,194 | 3,914 | 2,483 | 4,771 | |||
EclipseLink | 6,674 | 16,101 | 31,279 | 1,628 | 5,628 | 4,522 | 2,746 | 7,625 | |||
Hibernate | 6,978 | 16,256 | 23,827 | 1,835 | 5,530 | 5,412 | 2,950 | 6,157 | |||
OpenJPA | 5,336 | 10,539 | 12,498 | 4,956 | 3,933 | 2,856 | 8,685 | ||||
ObjectDB | 181,407 | 134,499 |
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 | 74.1 |
3. | EclipseLink with HSQLDB embedded | 17.2 |
4. | Hibernate with HSQLDB embedded | 13.1 |
5. | Hibernate with H2 embedded | 9.0 |
6. | EclipseLink with H2 embedded | 8.9 |
7. | DataNucleus with H2 embedded | 8.0 |
8. | OpenJPA with HSQLDB embedded | 6.9 |
9. | OpenJPA with H2 embedded | 5.8 |
10. | OpenJPA with PostgreSQL server | 4.8 |
11. | DataNucleus with HSQLDB embedded | 4.8 |
12. | EclipseLink with PostgreSQL server | 4.2 |
13. | Hibernate with Derby embedded | 3.8 |
14. | EclipseLink with Derby embedded | 3.7 |
15. | Hibernate with PostgreSQL server | 3.4 |
16. | EclipseLink with Derby server | 3.1 |
17. | Hibernate with Derby server | 3.0 |
The Least Efficient (the Slowest):
18. | Hibernate with H2 server | 3.0 |
19. | OpenJPA with Derby embedded | 2.9 |
20. | DataNucleus with Derby embedded | 2.8 |
21. | OpenJPA with Derby server | 2.7 |
22. | DataNucleus with PostgreSQL server | 2.6 |
23. | EclipseLink with H2 server | 2.5 |
24. | DataNucleus with Derby server | 2.3 |
25. | OpenJPA with H2 server | 2.2 |
26. | DataNucleus with H2 server | 2.2 |
27. | Hibernate with MySQL server | 1.6 |
28. | OpenJPA with MySQL server | 1.6 |
29. | EclipseLink with MySQL server | 1.5 |
30. | DataNucleus with MySQL server | 1.4 |
31. | DataNucleus with DB4O embedded | 1.3 |
32. | Hibernate with SQLite embedded | 1.0 |
33. | EclipseLink with SQLite embedded | 0.90 |
The results above are in use in calculating the following average results
- All Tests - All Operations - All Batch Size Modes
- All Tests - All Operations - Many Entities (5000)
- All Tests - Persistence Operations - All Batch Size Modes
- All Tests - Persistence Operations - Many Entities (5000)
- Basic Person Test - All Operations - All Batch Size Modes
- Basic Person Test - All Operations - Many Entities (5000)
- Basic Person Test - Persistence Operations - All Batch Size Modes