Buy Percona ServicesBuy Now!

MySQL Query Cache and prepared statements – support comming ?

 | March 15, 2007 |  Posted In: Insight for DBAs


Looking at post by Konstantin Osipov we should finally get Query Cache working with prepared statements in MySQL 5.1

The interesting thing Konstantin notes it just took few days to fix it – I believe MySQL Support Team alone spent much more times explaining customers why is it not done or troubleshooting cases with wrong customer assumptions regarding this problems. I think I alone spent tens of hours in various cases related to this problem.

This is one thing MySQL Development Management could consider – if the thing is annoying and it does not take a long to fix it why not to go ahead and make it done instead of spending longer time explaining over and over again why this stuff is not high priority 🙂

This feature should help MySQL getting even better results in SpecJAppServer benchmarks as previously it was hard choice – if you want to have fast prepared statements without query cache or no prepared statements with it.

Would this make me use/advice Query Cache more ? Not really. There are enough of over limits with Query Cache which makes it best for small simple applications.

Peter Zaitsev

Peter managed the High Performance Group within MySQL until 2006, when he founded Percona. Peter has a Master's Degree in Computer Science and is an expert in database kernels, computer hardware, and application scaling.

Leave a Reply