Hi, >> C. SELECT pk FROM t WHERE pk = ? OR pk = ? [7688ms] > Nearly 8 seconds, is that right?
Yes. This statement is not optimized at all, a table table scan is made. It is planned to improve that, see "Optimize ID=? OR ID=?: convert to IN(...)" on the roadmap. However the priority of this item is not very high currently. 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 -~----------~----~----~----~------~----~------~--~---
