less mysql connection to reduce the use of mem