use mysql and remove best_in_place