Insert the data in batches instead of one row a time