in reply to Mysql query cache and DBI
(I don't know if this will solve your problem, but it looks like a good thing to try. I'm guessing the default is "0", which will "Automatically determine a reasonable cache size for each SELECT".)
UPDATE: The section in the DBI man page about RowCacheSize closes with:
See also the "RowsInCache" statement handle attribute.
There may be some situations where you want to control caching at the statement-handle level rather than the connection level. Having a row cache is usually a Good Thing, and disabling it indiscriminately might be a Bad Thing.
(Oops! Another update: I just noticed that "RowsInCache" is "readonly". Oh well, no cache control at the statement level. Good luck...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mysql query cache and DBI
by josh803316 (Beadle) on Nov 07, 2009 at 19:44 UTC | |
by josh803316 (Beadle) on Nov 07, 2009 at 21:00 UTC | |
by graff (Chancellor) on Nov 07, 2009 at 23:58 UTC | |
by reinaldo.gomes (Beadle) on Aug 14, 2018 at 06:28 UTC |