Hi, You are using an index on randomly distributed data. This is very problematic as it completely "kills" the cache. This problem is not related to H2. In fact, it is also a problem for another project I'm working on (Apache Jackrabbit) that uses a randomly distributed UUID as the primary key.
The only suggest I can give you is: don't use an index on randomly distributed data (specially not a primary key) if you have more than a million ids. Use a sequential id instead. 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.
