When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details.
Comparison of JPA/Database speed - the averages (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 | 4.4 | 3.9 | 3.0 | 1.3 | 0.72 | 0.78 | 0.47 | 0.50 | |||
| EclipseLink | 5.4 | 11.4 | 8.6 | 0.65 | 1.4 | 2.1 | 0.89 | 0.40 | |||
| Hibernate | 2.8 | 4.4 | 6.3 | 0.69 | 1.1 | 1.0 | 0.84 | 0.35 | |||
| OpenJPA | 3.5 | 3.4 | 3.5 | 1.5 | 1.5 | 1.4 | 4.6 | ||||
| ObjectDB | 100 | 50.3 |
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 | 50.3 |
| 3. | EclipseLink with H2 embedded | 11.4 |
| 4. | EclipseLink with HSQLDB embedded | 8.6 |
| 5. | Hibernate with HSQLDB embedded | 6.3 |
| 6. | EclipseLink with Derby embedded | 5.4 |
| 7. | OpenJPA with PostgreSQL server | 4.6 |
| 8. | Hibernate with H2 embedded | 4.4 |
| 9. | DataNucleus with Derby embedded | 4.4 |
| 10. | DataNucleus with H2 embedded | 3.9 |
| 11. | OpenJPA with Derby embedded | 3.5 |
| 12. | OpenJPA with HSQLDB embedded | 3.5 |
| 13. | OpenJPA with H2 embedded | 3.4 |
| 14. | DataNucleus with HSQLDB embedded | 3.0 |
| 15. | Hibernate with Derby embedded | 2.8 |
| 16. | EclipseLink with H2 server | 2.1 |
| 17. | OpenJPA with Derby server | 1.5 |
The Least Efficient (the Slowest):
| 18. | OpenJPA with H2 server | 1.5 |
| 19. | OpenJPA with MySQL server | 1.4 |
| 20. | EclipseLink with Derby server | 1.4 |
| 21. | DataNucleus with DB4O embedded | 1.3 |
| 22. | Hibernate with Derby server | 1.1 |
| 23. | Hibernate with H2 server | 1.0 |
| 24. | EclipseLink with MySQL server | 0.89 |
| 25. | Hibernate with MySQL server | 0.84 |
| 26. | DataNucleus with H2 server | 0.78 |
| 27. | DataNucleus with Derby server | 0.72 |
| 28. | Hibernate with SQLite embedded | 0.69 |
| 29. | EclipseLink with SQLite embedded | 0.65 |
| 30. | DataNucleus with PostgreSQL server | 0.50 |
| 31. | DataNucleus with MySQL server | 0.47 |
| 32. | EclipseLink with PostgreSQL server | 0.40 |
| 33. | Hibernate with PostgreSQL server | 0.35 |
Total number of failed test runs (out of 5 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 5 concrete test results
- Element Collection Test - Persistence Operations - Many Entities (5000)
- Element Collection Test - Retrieval Operations - Many Entities (5000)
- Element Collection Test - Query Operations - Many Entities (5000)
- Element Collection Test - Update Operations - Many Entities (5000)
- Element Collection Test - Removal Operations - Many Entities (5000)