Comparison of EclipseLink with SQLite embedded vs DataNucleus with DB4O embedded
Each of the following tables focuses on a specific database operation, where the last table presents average results comparison.
Speed comparison of JPA database persistence operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | 0.074 | 0.059 | 0.90 | 1.3 | 0.49 | 0.69 |
Element Collection Test | 0.061 | 0.045 | 0.65 | 1.0 | 0.36 | 0.52 |
Inheritance Test | 0.083 | 0.051 | 0.82 | 0.85 | 0.45 | 0.45 |
Indexing Test | 0.11 | 0.080 | 1.6 | 2.3 | 0.87 | 1.2 |
Graph (Binary Tree) Test | 0.24 | failed | 0.91 | failed | 0.57 | failed |
Multithreading Test | 0.10 | failed | 2.1 | failed | 1.1 | failed |
All Tests | 0.11 | 0.059 | 1.2 | 1.4 | 0.64 | 0.71 |
DataNucleus with DB4O embedded has failed in 4 tests (see exceptions).
The results above show that in general DataNucleus with DB4O embedded is slightly more efficient than EclipseLink with SQLite embedded in persisting JPA entity objects to the database.
Speed comparison of JPA database retrieval operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | failed | 0.0047 | failed | 1.8 | failed | 0.90 |
Element Collection Test | 0.0007 | 0.0038 | failed | 1.5 | 0.0007 | 0.77 |
Inheritance Test | failed | 0.0035 | failed | 2.2 | failed | 1.1 |
Indexing Test | failed | 0.0043 | failed | 1.8 | failed | 0.89 |
Graph (Binary Tree) Test | failed | failed | failed | failed | failed | failed |
Multithreading Test | failed | failed | failed | failed | failed | failed |
All Tests | 0.0007 | 0.0041 | failed | 1.8 | 0.0007 | 0.91 |
EclipseLink with SQLite embedded has failed in 11 tests (see exceptions). DataNucleus with DB4O embedded has failed in 4 tests (see exceptions).
Speed comparison of JPA database query operations (normalized score, higher is better)
Retrieval Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | 1.2 | failed | failed | failed | 1.2 | failed |
Element Collection Test | 0.29 | failed | failed | failed | 0.29 | failed |
Inheritance Test | 0.69 | failed | failed | failed | 0.69 | failed |
Indexing Test | 0.0008 | failed | failed | failed | 0.0008 | failed |
Multithreading Test | failed | failed | failed | failed | failed | failed |
All Tests | 0.55 | failed | failed | failed | 0.55 | failed |
EclipseLink with SQLite embedded has failed in 6 tests (see exceptions). DataNucleus with DB4O embedded has failed in 10 tests (see exceptions).
Speed comparison of JPA database update operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | failed | 0.012 | failed | 0.76 | failed | 0.39 |
Element Collection Test | 0.0016 | 0.012 | failed | 1.1 | 0.0016 | 0.53 |
Inheritance Test | failed | 0.011 | failed | 0.81 | failed | 0.41 |
Indexing Test | failed | 0.011 | failed | 1.3 | failed | 0.64 |
Graph (Binary Tree) Test | failed | failed | failed | failed | failed | failed |
Multithreading Test | failed | failed | failed | failed | failed | failed |
All Tests | 0.0016 | 0.012 | failed | 0.97 | 0.0016 | 0.49 |
EclipseLink with SQLite embedded has failed in 11 tests (see exceptions). DataNucleus with DB4O embedded has failed in 4 tests (see exceptions).
Speed comparison of JPA database removal operations (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | failed | 0.011 | failed | 1.5 | failed | 0.74 |
Element Collection Test | 0.0006 | 0.010 | failed | 1.6 | 0.0006 | 0.80 |
Inheritance Test | failed | 0.0093 | failed | 1.1 | failed | 0.57 |
Indexing Test | failed | 0.017 | failed | 2.1 | failed | 1.1 |
Graph (Binary Tree) Test | failed | failed | failed | failed | failed | failed |
Multithreading Test | failed | failed | failed | failed | failed | failed |
All Tests | 0.0006 | 0.012 | failed | 1.6 | 0.0006 | 0.79 |
EclipseLink with SQLite embedded has failed in 11 tests (see exceptions). DataNucleus with DB4O embedded has failed in 4 tests (see exceptions).
Comparison of database storage efficiency (normalized score, higher is better)
Transaction Size => | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | 79.4 | 35.1 | 79.4 | 35.4 | 79.4 | 35.2 |
Element Collection Test | 74.5 | 29.5 | 74.5 | 29.9 | 74.5 | 29.7 |
Inheritance Test | 75.0 | 33.4 | 75.0 | 33.5 | 75.0 | 33.4 |
Indexing Test | 92.9 | 41.0 | 94.5 | 41.9 | 93.7 | 41.5 |
Graph (Binary Tree) Test | 60.6 | failed | 48.4 | failed | 54.5 | failed |
Multithreading Test | 100 | failed | 100 | failed | 100 | failed |
All Tests | 80.4 | 34.8 | 78.6 | 35.2 | 79.5 | 35.0 |
DataNucleus with DB4O embedded has failed in 4 tests (see exceptions).
The results above show that in general EclipseLink with SQLite embedded is more efficient than DataNucleus with DB4O embedded in using disk space. Comparing the normalized score of DataNucleus with DB4O embedded database (35.0) to the normalized score of EclipseLink with SQLite embedded database (79.5) reveals that in these tests, EclipseLink with SQLite embedded is 2.3 times more efficient than DataNucleus with DB4O embedded.
A large gap has been detected when using JPA element collections with small transaction size. Comparing the normalized score of DataNucleus with DB4O embedded database (29.5) to the normalized score of EclipseLink with SQLite embedded database (74.5) reveals that in that case, EclipseLink with SQLite embedded is 2.5 times more efficient than DataNucleus with DB4O embedded.
Comparison of JPA/Database speed - the averages (normalized score, higher is better)
Transaction/Retrieval Size | Few Entities | Many Entities | Average Score | |||
---|---|---|---|---|---|---|
  | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded | EclipseLink SQLite embedded | DataNucleus DB4O embedded |
Basic Person Test | 0.66 | 0.022 | 0.90 | 1.3 | 0.74 | 0.68 |
Element Collection Test | 0.070 | 0.018 | 0.65 | 1.3 | 0.17 | 0.66 |
Inheritance Test | 0.38 | 0.019 | 0.82 | 1.2 | 0.53 | 0.63 |
Indexing Test | 0.058 | 0.028 | 1.6 | 1.9 | 0.58 | 0.94 |
Graph (Binary Tree) Test | 0.24 | failed | 0.91 | failed | 0.57 | failed |
Multithreading Test | 0.10 | failed | 2.1 | failed | 1.1 | failed |
All Tests | 0.22 | 0.022 | 1.2 | 1.4 | 0.52 | 0.73 |
The results above show that in general DataNucleus with DB4O embedded is more efficient than EclipseLink with SQLite embedded in performing JPA database operations.
A large performance gap has been detected when using JPA element collections with large transaction/retrieval size. Comparing the normalized speed of EclipseLink with SQLite embedded database (0.65) to the normalized speed of DataNucleus with DB4O embedded database (1.3) reveals that in that case, DataNucleus with DB4O embedded is 2.0 times faster than EclipseLink with SQLite embedded.
On the other hand, DataNucleus with DB4O embedded is slower, for instance, when using simple basic entities with small transaction/retrieval size. Comparing the normalized speed of DataNucleus with DB4O embedded database (0.022) to the normalized speed of EclipseLink with SQLite embedded database (0.66) reveals that in that case, DataNucleus with DB4O embedded is 30.0 times slower than EclipseLink with SQLite embedded.
Other Head to Head DBMS/JPA Comparisons
EclipseLink with SQLite embedded against:
- Oracle Database 11g
- IBM DB2 10
- Microsoft SQL Server 2008
- DataNucleus with Derby embedded
- DataNucleus with H2 embedded
- DataNucleus with HSQLDB embedded
- DataNucleus with DB4O embedded
- DataNucleus with Derby server
- DataNucleus with H2 server
- DataNucleus with MySQL server
- DataNucleus with PostgreSQL server
- EclipseLink with Derby embedded
- EclipseLink with H2 embedded
- EclipseLink with HSQLDB embedded
- EclipseLink with Derby server
- EclipseLink with H2 server
- EclipseLink with MySQL server
- EclipseLink with PostgreSQL server
- Hibernate with Derby embedded
- Hibernate with H2 embedded
- Hibernate with HSQLDB embedded
- Hibernate with SQLite embedded
- Hibernate with Derby server
- Hibernate with H2 server
- Hibernate with MySQL server
- Hibernate with PostgreSQL server
- OpenJPA with Derby embedded
- OpenJPA with H2 embedded
- OpenJPA with HSQLDB embedded
- OpenJPA with Derby server
- OpenJPA with H2 server
- OpenJPA with MySQL server
- OpenJPA with PostgreSQL server
- ObjectDB embedded
- ObjectDB server
DataNucleus with DB4O embedded against:
- Oracle Database 11g
- IBM DB2 10
- Microsoft SQL Server 2008
- DataNucleus with Derby embedded
- DataNucleus with H2 embedded
- DataNucleus with HSQLDB embedded
- DataNucleus with Derby server
- DataNucleus with H2 server
- DataNucleus with MySQL server
- DataNucleus with PostgreSQL server
- EclipseLink with Derby embedded
- EclipseLink with H2 embedded
- EclipseLink with HSQLDB embedded
- EclipseLink with SQLite embedded
- EclipseLink with Derby server
- EclipseLink with H2 server
- EclipseLink with MySQL server
- EclipseLink with PostgreSQL server
- Hibernate with Derby embedded
- Hibernate with H2 embedded
- Hibernate with HSQLDB embedded
- Hibernate with SQLite embedded
- Hibernate with Derby server
- Hibernate with H2 server
- Hibernate with MySQL server
- Hibernate with PostgreSQL server
- OpenJPA with Derby embedded
- OpenJPA with H2 embedded
- OpenJPA with HSQLDB embedded
- OpenJPA with Derby server
- OpenJPA with H2 server
- OpenJPA with MySQL server
- OpenJPA with PostgreSQL server
- ObjectDB embedded
- ObjectDB server