Time critical DB call on 'insert into temp'