I suggest to use denormalization, add column job_id to translation table
--
View this message in context: http://postgresql.1045698.n5.nabble.com/ORDER-BY-performance-deteriorates-very-quickly-as-dataset-grows-tp5776965p5776973.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.