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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
finding date diff
How to compare time reliably
Convert this to a date?
java/MYSQL Serious speed problem.
java.util.Date - after function not considering time?