This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes MySQL query Cache / Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MySQL query Cache / Java" Watch "MySQL query Cache / Java" New topic

MySQL query Cache / Java

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 164
1. I have

so when same query query executed second time , it goes a lot faster like 1.5 --> 0,05 sec (in client program like forinstance HeidiiSQL)

2. I'm executing this many times via browser refresh so SQL is allways the same (also the same as at 1), but timing (sql_execution_time) is allways the 'same' 1.5s + a bit more.
Like caching would not work.
Using prooxol connection pool manager

Any explanation ?

Searchable nature photo gallery:
Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 164
red part takes time. Should I change something in first line , or is that it ?

I agree. Here's the link:
subject: MySQL query Cache / Java
It's not a secret anymore!