CREATE INDEX log_job_id on log (job_id);

CREATE INDEX performance_job_id on performance (job_id);

CREATE INDEX output_job_id on output (oq_job_id);

Create indexes for tables with a FK to job.id
Create indexes for tables with a FK to job.id
