CDB-1818 several additional batchings. Now some huge imports work, but still needs to be improved so any batching gets below the 5 mins statement timeout