optimized race SQL inserts from file on mapchange