Hi, I have an application to do table loading, not that havy (Around 1MM records each laod), and this app is multi-threaded (Each thread loads a file, of a bunch of files).
The DB File is opened using NIO in the connection URL, and I see there are some scenarios where 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. 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. So, I can be concluding wrong, but seams that my insert thread is locking with H2 Log writer thread into an embbeded Database environment. Does it makes sense? It could happen? Thanks -- MTengelmann -- 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.
