Performance improvements to split mongo and old-mongo, based on import/export tests.