SELECT o.deepSourceId, s.objectId, s.id, o.ra, o.decl FROM Object o, Source s WHERE o.deepSourceId=s.objectId AND s.flux_sinc BETWEEN 0.3 AND 0.304;
single solo query - 6 hours 50 min 58.31 sec
5 copies started at nearly the same time
5 hours 58 min 16.76 sec
6 hours 15 min 11.38 sec
6 hours 15 min 10.33 sec
6 hours 15 min 9.35 sec
6 hours 15 min 8.27 sec
SELECT count
FROM Object WHERE u_apFluxSigma between 0 and 1.8e-30;
solo: 1 min 53.65 sec
Five started within a couple of seconds of each other:
2 min 7.58 sec
2 min 13.16 sec
2 min 13.81 sec
2 min 12.32 sec
2 min 17.73 sec
For queries joining Object and Source, reserving 10 gigabytes of RAM for memman resulted in the fastest time for a single query (5 hours 37 min), only about 3 minutes faster than reserving 12 gigs, and 10 minutes faster than reserving 16 gigs. The workers only have 16 gigabytes of RAM, so 12 and 16 gigs would likely cause issues if mmap was being used. Below 10gigs being reserved, only a couple of chunks could fit in memory at a time and performance was much slower. It appears that the system works better when the workers have lots of memory and the chunks are small enough that several can fit in memory at the same time.