jsun wrote:
Postgres has a problem with using an index in some cases, and I think it is causing a collection to be loaded slowly in one of my hibernate objects. The problem is described in the user comments at the bottom of the page here:
http://www.postgresql.org/docs/7.4/interactive/indexes.htmlHas anyone else experienced a problem with this, and is there a workaround or fix? I'm currently using Hibernate 3.0.5 and also tried the most recent release candidate.
Yes, there are many way to tune PostgreSQL. Have you tried to view query plan (generated query with EXPLAIN prefix) ?