aspose file tools*
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 Java 8 in Action this week in the Java 8 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/MYSQL Serious speed problem.
finding date diff
Convert this to a date?
How to compare time reliably
java.util.Date - after function not considering time?