optimized data generation script to insert in batches of 10000