http://qs321.pair.com?node_id=1000799


in reply to Processing ~1 Trillion records

Without seeing the script it is impossible to say how it could be optimized!