wood burning stoves 2.0*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MySQL query Cache / Java" Watch "MySQL query Cache / Java" New topic
Author

MySQL query Cache / Java

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 147
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: http://agrozoo.net/jsp/Galery.jsp?l2=en
Miran Cvenkel
Ranch Hand

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MySQL query Cache / Java
 
Similar Threads
java.util.Date - after function not considering time?
How to compare time reliably
finding date diff
java/MYSQL Serious speed problem.
Convert this to a date?