Hello,
I have a query with multiple join conditions across 6-7 tables. Now, when i 
execute the query in H2 Console browser, it returns in a second or two and 
the explain plan doesn't show any anamolies.
But when executing the same query from the program, using 
Statement.executeQuery(), it takes 9 seconds to return anything. This 
remains constant if the result set is having one record or 10K records.
 
I am using H2 in .NET and executing queries with JDBC using IKVM.
This is my connection string:
 
jdbc:h2:tcp://localhost:9093/mem:~/Optimizer;DB_CLOSE_DELAY=-1;MULTI_THREADED=true;LOCK_TIMEOUT=20000
Any ideas?
 
Thank you,
SV

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/6TKoL2ieel8J.
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