Multi thread and database connection pool are used to generate SQL files and import them into database