using mysql, change model to get performance