RE: Excessive database queries on postgresql: village metadata queries

Thomas Fischer <[email protected]> Wed, 7 Jul 2010 19:15:40 +0200
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <OF8146150D.141EE1E2-ONC1257759.005E87CB-C1257759.005ED240@seitenbau.net>
> ...
> Has anyone encountered this before and managed to work out how to stop
> the metadata queries being translated into database queries? I would
> expect either the JDBC driver to cache these, or if not for Village to
> cache these.
>

I remember dimly using a patched version of village which caches the
metadata (per connection, if i remember correctly). I do not know whether
this was a public version or whether this was a private hack. Anyway,
unfortunately I did not find the patched version but if I remember
correctly it was only a few lines of code.

     Thomas