Hi,

> I have an application to do table loading, not that havy (Around 1MM records
> each laod)

How many?

> The DB File is opened using NIO in the connection URL

What is the database URL?

> a given file takes too long to load (It happens
> randomically, and all the files are about the same size, with the same
> number of records) around 20 times the average.

Maybe this is because of NIO. Did you try without?

> Using jstack, I can see an H2 Log Writter thread using a monitor lock on the
> org.he.Database objects, which is the same the insert thread of my app is
> also using.

Could you post a few full thread dumps? Or, could you use the Profiler
tool and post the top 3 thread dumps? See
http://www.h2database.com/html/performance.html#built_in_profiler
"Using the Built-In Profiler".

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.

Reply via email to