DataNucleus with HSQLDB embedded

Performance Result Summary

The final position of DataNucleus with HSQLDB embedded in the speed performance tests is 19 out of 32,

The following charts show DataNucleus with HSQLDB embedded relatively to other tested JPA/DBMS combinations.

Position #1 on the X-Axis (the fastest) is about 100 times faster than position #32 (the slowest).
In the chart below the Y-Axis represents result score (maximum 100) in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB
In the chart below the Y-Axis represents result score (maximum 100) in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

DataNucleus with HSQLDB embedded Problems (Exceptions)

DataNucleus with HSQLDB embedded has failed in the following tests (throwing the following stack traces):

  • Multithreading Test - Update Operations - Few Entities (5/100)
    java.lang.IllegalStateException: Table object has not been been initialised : PERSON
    	at org.datanucleus.store.rdbms.table.AbstractTable.assertIsInitialized(AbstractTable.java:625)
    	at org.datanucleus.store.rdbms.table.ClassTable.getMemberMapping(ClassTable.java:2935)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectMemberOfSourceInStatement(SQLStatementHelper.java:617)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfSourceClassInStatement(SQLStatementHelper.java:546)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfCandidateInStatement(SQLStatementHelper.java:504)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compileResult(QueryToSQLMapper.java:679)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compile(QueryToSQLMapper.java:362)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileQueryFull(JPQLQuery.java:754)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileInternal(JPQLQuery.java:249)
    	at org.datanucleus.store.query.Query.setImplicitParameter(Query.java:736)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.setImplicitParameter(JPQLQuery.java:136)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:390)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:53)
    	at org.jpab.Test.retireveEntities(Test.java:381)
    	at org.jpab.Test.doAction(Test.java:250)
    	at org.jpab.Runner$UpdateAction.run0(Runner.java:564)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    
  • Multithreading Test - Update Operations - Many Entities (5000)
    java.lang.IllegalStateException: Table object has not been been initialised : PERSON
    	at org.datanucleus.store.rdbms.table.AbstractTable.assertIsInitialized(AbstractTable.java:625)
    	at org.datanucleus.store.rdbms.table.ClassTable.getMemberMapping(ClassTable.java:2935)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectMemberOfSourceInStatement(SQLStatementHelper.java:617)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfSourceClassInStatement(SQLStatementHelper.java:546)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfCandidateInStatement(SQLStatementHelper.java:504)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compileResult(QueryToSQLMapper.java:679)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compile(QueryToSQLMapper.java:362)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileQueryFull(JPQLQuery.java:754)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileInternal(JPQLQuery.java:249)
    	at org.datanucleus.store.query.Query.setImplicitParameter(Query.java:736)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.setImplicitParameter(JPQLQuery.java:136)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:390)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:53)
    	at org.jpab.Test.retireveEntities(Test.java:380)
    	at org.jpab.Test.doAction(Test.java:249)
    	at org.jpab.Runner$UpdateAction.run0(Runner.java:564)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    
  • Multithreading Test - Removal Operations - Few Entities (5/100)
    java.lang.IllegalStateException: Table object has not been been initialised : PERSON
    	at org.datanucleus.store.rdbms.table.AbstractTable.assertIsInitialized(AbstractTable.java:625)
    	at org.datanucleus.store.rdbms.table.ClassTable.getMemberMapping(ClassTable.java:2935)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectMemberOfSourceInStatement(SQLStatementHelper.java:617)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfSourceClassInStatement(SQLStatementHelper.java:546)
    	at org.datanucleus.store.rdbms.sql.SQLStatementHelper.selectFetchPlanOfCandidateInStatement(SQLStatementHelper.java:504)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compileResult(QueryToSQLMapper.java:679)
    	at org.datanucleus.store.rdbms.query.QueryToSQLMapper.compile(QueryToSQLMapper.java:362)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileQueryFull(JPQLQuery.java:754)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.compileInternal(JPQLQuery.java:249)
    	at org.datanucleus.store.query.Query.setImplicitParameter(Query.java:736)
    	at org.datanucleus.store.rdbms.query.JPQLQuery.setImplicitParameter(JPQLQuery.java:136)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:390)
    	at org.datanucleus.jpa.JPAQuery.setParameter(JPAQuery.java:53)
    	at org.jpab.Test.retireveEntities(Test.java:381)
    	at org.jpab.Test.doAction(Test.java:250)
    	at org.jpab.Runner$RemoveAction.run0(Runner.java:577)
    	at org.jpab.Runner$TestAction.run(Runner.java:507)
    	at java.lang.Thread.run(Thread.java:619)
    

The following runs have been stopped due to being too slow

  • Graph (Binary Tree) Test - Retrieval Operations - Few Entities (5/100)
  • Graph (Binary Tree) Test - Retrieval Operations - Many Entities (5000)
  • Graph (Binary Tree) Test - Update Operations - Few Entities (5/100)
  • Graph (Binary Tree) Test - Update Operations - Many Entities (5000)
  • Graph (Binary Tree) Test - Removal Operations - Few Entities (5/100)
  • Graph (Binary Tree) Test - Removal Operations - Many Entities (5000)
  • Graph (Binary Tree) Test - Storage Efficiency - Few Entities (5/100)
  • Graph (Binary Tree) Test - Storage Efficiency - Many Entities (5000)

DataNucleus with HSQLDB embedded compared to the alternatives

See head to head comparisons of DataNucleus with HSQLDB embedded vs the following compatitors: