[server][DBAgentMySQL] Improve performance.