Exporter writes to pg database first and finally copies to sqlite - this is easier / safer to parallelize