Re: Excessive database queries on postgresql: village metadata queries
Thomas Vandahl <[email protected]> Wed, 07 Jul 2010 20:28:51 +0200
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <[email protected]> |
On 07.07.10 19:15, Thomas Fischer wrote: >> ... >> 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. I was planning to do a patch release of Village anyway to have TORQUE-133 and some old Oracle BLOB-bug fixed. If you cared to dig up the patch, we could include it in a 3.3.1 release. Bye, Thomas.