Hi,

>It seem that DerbyPersistenceManager, the default, is very time expensive,
>for me, at startup.

That's strange, Derby is relatively fast for me. Not as fast as other Java
databases, but much faster than 30 seconds.

>If I must use another database, which one ?

You could try the H2 database - http://h2database.com - it is a bit faster
than Derby according to my test. Disclaimer: I'm one of the H2 committers.

But most likely Derby is not responsible for the 30 seconds. Try profiling
the startup. To do that, use java
-Xrunhprof:cpu=samples,depth=32,interval=1 - see also
http://h2database.com/html/performance.html#application_profiling - or use
the build-in Profiler tool of the H2 database:
http://h2database.com/html/performance.html#built_in_profiler

Regards,
Thomas

Reply via email to