added query timer for memcache