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,061 | 8,126 | 8,621 | 1,569 | 3,710 | 3,480 | 2,392 | 4,541 | |||
EclipseLink | 6,448 | 16,223 | 22,007 | 1,526 | 5,392 | 3,907 | 2,635 | 9,193 | |||
Hibernate | 6,849 | 17,366 | 25,281 | 1,839 | 5,574 | 5,727 | 3,032 | 6,641 | |||
OpenJPA | 4,477 | 10,965 | 10,692 | 4,182 | 3,669 | 2,544 | 5,987 | ||||
ObjectDB | 185,702 | 135,211 |
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 | 72.8 |
3. | Hibernate with HSQLDB embedded | 13.6 |
4. | EclipseLink with HSQLDB embedded | 11.9 |
5. | Hibernate with H2 embedded | 9.4 |
6. | EclipseLink with H2 embedded | 8.7 |
7. | OpenJPA with H2 embedded | 5.9 |
8. | OpenJPA with HSQLDB embedded | 5.8 |
9. | EclipseLink with PostgreSQL server | 5.0 |
10. | DataNucleus with HSQLDB embedded | 4.6 |
11. | DataNucleus with H2 embedded | 4.4 |
12. | Hibernate with Derby embedded | 3.7 |
13. | Hibernate with PostgreSQL server | 3.6 |
14. | EclipseLink with Derby embedded | 3.5 |
15. | OpenJPA with PostgreSQL server | 3.2 |
16. | Hibernate with H2 server | 3.1 |
17. | Hibernate with Derby server | 3.0 |
The Least Efficient (the Slowest):
18. | EclipseLink with Derby server | 2.9 |
19. | DataNucleus with Derby embedded | 2.7 |
20. | DataNucleus with PostgreSQL server | 2.4 |
21. | OpenJPA with Derby embedded | 2.4 |
22. | OpenJPA with Derby server | 2.3 |
23. | EclipseLink with H2 server | 2.1 |
24. | DataNucleus with Derby server | 2.0 |
25. | OpenJPA with H2 server | 2.0 |
26. | DataNucleus with H2 server | 1.9 |
27. | Hibernate with MySQL server | 1.6 |
28. | EclipseLink with MySQL server | 1.4 |
29. | OpenJPA with MySQL server | 1.4 |
30. | DataNucleus with MySQL server | 1.3 |
31. | Hibernate with SQLite embedded | 0.99 |
32. | DataNucleus with DB4O embedded | 0.85 |
33. | EclipseLink with SQLite embedded | 0.82 |
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)
- Inheritance Test - All Operations - All Batch Size Modes
- Inheritance Test - All Operations - Many Entities (5000)
- Inheritance Test - Persistence Operations - All Batch Size Modes