add data_dir, like mysql to store all data