cleanup_recordingdb