aspose file tools
The moose likes JDBC and the fly likes MySQL query Cache / Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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: 138
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: 138
red part takes time. Should I change something in first line , or is that it ?

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: MySQL query Cache / Java
 
Similar Threads
Convert this to a date?
How to compare time reliably
java/MYSQL Serious speed problem.
finding date diff
java.util.Date - after function not considering time?