/*Очищает устаревшие записи в журн. отказов*/ delete from fault_history where rec_time < (current_timestamp - 60);