# gen_test_data **Repository Path**: yaolunlun/gen_test_data ## Basic Information - **Project Name**: gen_test_data - **Description**: 用shell脚本,实现多线程自动生成百万级测试数据集 Tables: user product order - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-10-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #1 生成测试数据, 将在当前目录生成user.sql product.sql order.sql三个文件 ./dataset.sh 100 # 100为线程数 #2 进入mysql mysql -uroot -p --local-infile //开启本地文件导入 #3 创建数据库,表并导入测试 source dataset.sql