purge master logs before (select adddate(current_timestamp(), interval -4 day));