Merge branch 'sql.20131021' into dev
use thread pool instead of process pool to try to prevent strange performance reduce during time