If you encounter this error, Compile operation failed while writing records to database. Production day: MM/DD/YYYY 00:00:00, Number of Records: X, Record Type: JobRun. Attempting individual write of each record. Please contact your Scheduler Administrator immediately
Then that is a good indication you are running low on diskspace. Please have your DBA/Storage team check if there are any diskspace issues on your DB server.