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 retrieval 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 | 13.1 | 13.7 | 9.2 | 1.8 | 6.3 | 6.3 | 6.6 | 8.3 | |||
| EclipseLink | 42.1 | 31.1 | 29.3 | failed | 10.0 | 8.3 | 10.5 | 14.1 | |||
| Hibernate | 13.1 | 11.6 | 16.0 | 1.5 | 7.2 | 5.6 | 9.0 | 9.4 | |||
| OpenJPA | 14.7 | 17.1 | 17.6 | 8.4 | 6.1 | 12.4 | 14.1 | ||||
| ObjectDB | 100 | 48.1 |
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 | 48.1 |
| 3. | EclipseLink with Derby embedded | 42.1 |
| 4. | EclipseLink with H2 embedded | 31.1 |
| 5. | EclipseLink with HSQLDB embedded | 29.3 |
| 6. | OpenJPA with HSQLDB embedded | 17.6 |
| 7. | OpenJPA with H2 embedded | 17.1 |
| 8. | Hibernate with HSQLDB embedded | 16.0 |
| 9. | OpenJPA with Derby embedded | 14.7 |
| 10. | OpenJPA with PostgreSQL server | 14.1 |
| 11. | EclipseLink with PostgreSQL server | 14.1 |
| 12. | DataNucleus with H2 embedded | 13.7 |
| 13. | DataNucleus with Derby embedded | 13.1 |
| 14. | Hibernate with Derby embedded | 13.1 |
| 15. | OpenJPA with MySQL server | 12.4 |
| 16. | Hibernate with H2 embedded | 11.6 |
| 17. | EclipseLink with MySQL server | 10.5 |
The Least Efficient (the Slowest):
| 18. | EclipseLink with Derby server | 10.0 |
| 19. | Hibernate with PostgreSQL server | 9.4 |
| 20. | DataNucleus with HSQLDB embedded | 9.2 |
| 21. | Hibernate with MySQL server | 9.0 |
| 22. | OpenJPA with Derby server | 8.4 |
| 23. | DataNucleus with PostgreSQL server | 8.3 |
| 24. | EclipseLink with H2 server | 8.3 |
| 25. | Hibernate with Derby server | 7.2 |
| 26. | DataNucleus with MySQL server | 6.6 |
| 27. | DataNucleus with Derby server | 6.3 |
| 28. | DataNucleus with H2 server | 6.3 |
| 29. | OpenJPA with H2 server | 6.1 |
| 30. | Hibernate with H2 server | 5.6 |
| 31. | DataNucleus with DB4O embedded | 1.8 |
| 32. | Hibernate with SQLite embedded | 1.5 |
| 33. | EclipseLink with SQLite embedded | 0.0000 |
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 - Retrieval Operations - Many Entities (5000)
- Element Collection Test - Retrieval Operations - Many Entities (5000)
- Inheritance Test - Retrieval Operations - Many Entities (5000)
- Indexing Test - Retrieval Operations - Many Entities (5000)
- Graph (Binary Tree) Test - Retrieval Operations - Many Entities (5000)
- Multithreading Test - Retrieval Operations - Many Entities (5000)