项目作者: wmmxsd
项目描述 :
Multi thread and database connection pool are used to generate SQL files and import them into database
高级语言: Java
项目地址: git://github.com/wmmxsd/batch-insert.git
batch-insert
Introduction
Multi thread and database connection pool are used to generate SQL files and import them into database
Component
- druid
- thread pool of java
- tool class of mybatis
Use
- git clone https://github.com/wmmxsd/batch-insert.git
- cd batch-insert && mvn package
- java -jar BATCH-INSERT-1.0-SNAPSHOT.jar or java -jar BATCH-INSERT-1.0-SNAPSHOT.jar 1000 2000 (1000:number of SQL lines in each file; 2000:number of files)