T
Tom Anderson
Does it make more sense to repeatedly query small repeatable numbers of
parameters rather than an arbitrary number of parameters because of the
saving on not having to re-compile the prepared statement?
That's the thinking.
In relation to the cached: the size of the cache would be 1.5GB
Certainly small enough to consider keeping it all in memory, but big
enough not to do it without making sure it was a good idea. That would be
1.5 GB you then can't use for anything else.
Since your keys and query patterns are simple, you might consider a NoSQL
key-value store of some sort, like Tokyo Cabinet. Let the filesystem cache
be your cache.
tom