I have these jobs that run in parallel that call a series of queries on my DB. They’re batched so each job is associated with a group of “bar” objects. So in the example below, temp1 is just a temporary table like: CREATE TEMPORARY TABLE temp1 (id int(11) NOT NULL, PRIMARY KEY (id)) The problemRead more