Hi, > Yes, we're opening/closing the database connection a lot.
H2 closes the database by default if you close the last connection. If you do that a lot, that's slow in any case (no matter if fsync is enabled or not). Opening and closing a database is relatively slow. See http://www.h2database.com/html/performance.html#database_performance_tuning - specially "Keep Connections Open or Use a Connection Pool" To ensure this is really the problem I suggest to "profile" the test case if possible: http://www.h2database.com/html/performance.html#application_profiling Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
