Java调用SqlLoader将大文本导入数据库
Java调用SqlLoader将大文本导入数据库
业务场景:将一千万条数据,大约500M的文本文档的数据导入到数据库
分析:通过Java的IO流解析txt文本文档,拼接动态sql实现insert入库,可以实现,缺点如下
第一:IO流解析大文本文件对机器性能要求较高,测试大约消耗2G左右的内存
第二:拼接sql语句insert一千万条数据大约需要2小时时间,长时间insert会锁表,如果是核心业务表,例如订单表,会造成大量用户无法下单,影响数据库的性能
第三:这种操作可扩展性不强,每次只能针对指定的表,指定的列操作
针对以上缺点,现在通过接口调用数据库系统命令实现,通过可视化界面,选择要导入的表,要导入那些字段,上传指定的txt文本,会自动生成对应的模板文件,实现大批量数据高效率的导入到数据库,通过可配置化即可实现,相对前一种思路扩展性较强,
具体接口如下
package com.sun.sqlloader.api;
/**
* SqlLoader接口
* @ClassName: ISqlLoader
* @author sunt
* @date 2017年11月15日
* @version V1.0
*/
public interface ISqlLoader { /**
* 自动生成控制文件
* @Title: ctlFileWriter
* @author sunt
* @date 2017年11月15日
* @param fileRoute 数据文件地址路径(文件所在磁盘目录)
* @param fileName 数据文件名
* @param tableName 表名
* @param fieldName 要写入表的字段
* @param ctlfileName 控制文件名
* @return void
*/
void ctlFileWriter(String fileRoute,String fileName,String tableName,String fieldName,String ctlfileName); /**
* 执行系统dos命令
* @Title: Executive
* @author sunt
* @date 2017年11月15日
* @param user 数据库的用户名
* @param pwd 数据库的密码
* @param database 连接数据库的地址
* @param fileRoute 文件路径
* @param ctlfileName 控制文件名
* @param logfileName 日志文件名
* @return void
*/
void Executive(String user,String pwd,String database,String fileRoute,String ctlfileName,String logfileName);
}
package com.sun.sqlloader.api.impl; import java.io.BufferedReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.Date; import org.apache.log4j.Logger;
import org.springframework.stereotype.Service; import com.sun.sqlloader.api.ISqlLoader;
/**
* SqlLoader接口实现
* @ClassName: SqlLoaderImpl
* @author sunt
* @date 2017年11月15日
* @version V1.0
*/
@Service
public class SqlLoaderImpl implements ISqlLoader{ private Logger logger = Logger.getLogger(SqlLoaderImpl.class); @Override
public void ctlFileWriter(String fileRoute, String fileName, String tableName, String fieldName,String ctlfileName) {
FileWriter fw = null;
String strctl = "OPTIONS (skip=0)" + // 0是从第一行开始 1是 从第二行
" LOAD DATA CHARACTERSET AL32UTF8 INFILE '"+fileRoute+""+fileName+"'" + //设置字符集编码SELECT * FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET';
" APPEND INTO TABLE "+tableName+"" + ////覆盖写入
" FIELDS TERMINATED BY '\\|'" + //数据中每行记录用","分隔 ,TERMINATED用于控制字段的分隔符,可以为多个字符。|需要转译
" OPTIONALLY ENCLOSED BY \"'\"" + //源文件有引号 '',这里去掉 ''''"
" TRAILING NULLCOLS "+fieldName+""; //表的字段没有对应的值时允许为空 源数据没有对应,写入null
try {
fw = new FileWriter(fileRoute + "" + ctlfileName);
fw.write(strctl);
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
fw.flush();
fw.close();
} catch (IOException e) {
logger.error("生成控制器文件异常...");
e.printStackTrace();
}
}
} @Override
public void Executive(String user, String pwd, String database, String fileRoute, String ctlfileName,String logfileName) {
InputStream ins = null;
//要执行的DOS命令 --数据库 用户名 密码 user/password@database
String dos="sqlldr "+user+"/"+pwd+"@"+database+" control="+fileRoute+""+ctlfileName+" log="+fileRoute+""+logfileName;
logger.info("执行的dos命令:" + dos);
String[] cmd = new String[] { "cmd.exe", "/C", dos }; // 命令cmd /c dir:是执行完dir命令后关闭命令窗口cmd /k dir:是执行完dir命令后不关闭命令窗口。
try {
Process process = Runtime.getRuntime().exec(cmd);
ins = process.getInputStream(); // 获取执行cmd命令后的信息 BufferedReader reader = new BufferedReader(new InputStreamReader(ins,Charset.forName("GBK")));//解决dos下中文输出乱码
String line = null;
long startTime = new Date().getTime();
while ((line = reader.readLine()) != null) {
logger.info("调用dos执行的结果==========>" + line); // 输出
}
int exitValue = process.waitFor();
if (exitValue == 0) {
logger.info("返回值:" + exitValue + "\n数据导入成功");
logger.info("总共耗时:" + (new Date().getTime() - startTime) / 1000 + "秒");
} else {
logger.info("返回值:" + exitValue + "\n数据导入失败");
} process.getOutputStream().close(); // 关闭
} catch (Exception e) {
e.printStackTrace();
}
} }
生成测试数据的代码
package com.sun.sqlloader; import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter; /**
* 循环将数据按照指定的格式写入文本文件
* @ClassName: OperaFile
* @author sunt
* @date 2017年11月15日
* @version V1.0
*/
public class OperaFile { /**
* 写数据到文件
* @Title: writeFile
* @author sunt
* @date 2017年11月15日
* @return void
*/
public static void writeFile(String filePath) throws IOException {
File fout = new File(filePath);
FileOutputStream fos = new FileOutputStream(fout);
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(fos));
for (Long i = 0L; i < 10000000; i++) {
bw.write(i + "|测试数据"+i+"|");
bw.newLine();
}
bw.close();
}
}
前台展示效果
只需要输入:表名和字段名,上传大文本文件提交即可
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjYAAAEPCAIAAADeSRmaAAAgAElEQVR4nO3d729TZ6Lgcf6dvrlvzqsoQshvqCiiGkK2SGlHGyquUIpGQOrVQOkGFe2MGEEhs9ZUmqY3yjIRM/zIVbwddEuj9dxs6S3xDUOcFNKU4CRcOe3uGkjiODlOwGdfnF/P+WWfmCR+cvz9vLnBPj4+9tyeb57nPHZ2aQAASGlXvQ8AAAB/JAoAICkSBQCQFIkCAEiKRAEAJEWiAACSIlEAAEmRKACApEgUAEBSJAoAICkSBQCQFIkCAEiKRAEAJEWiAACSIlEAAEmRKACApEgUAEBSJAoAICkSBQCQFIkCAEiKRAEAJEWiAACSIlEAAEmRKACApEgUAEBSJAoAICkSBQCQFIkCAEiKRAEAJEWiAACSIlEAAEmRKACApEgUAEBSJAoAICkSBQCQFIkCAEiKRAEAJEWiAACSIlEAAE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6Q/T9LCwsPH/+nEQB2BQkKmr0RH3//ff5avRK6ReH9Pm3Z8+e6bfr4dHZs3wvXljbeHdl7afq8+bz+e+//55EAaiKREWNnqiJiYn/J7GJiQkSBaAqEhU1eqLGx8f/r8TGx8dJFICqSFTU6InKZDL/R2KZTIZEAaiKREWNtVwil8v9LKVcLsdyCQBhkKioefXq1fr6ejabffz48U9Smp6efvLkyfr6OokCUBmJippyufzy5ctisfjtt9+Ojo7Ozc3NS2Nubu7vf//7yMhIoVB4+fJluVyu97sFQGokKmrK5bI+kFpYWLh3795XX331pTS++uqre/fuPX/+XB9CkSgAlZGoCNIHUuvr6/rfz12Vhv6XfNfX1xlCAQiDREWTPpbSQ7UmDT1OjJ8AhESiIqtcLuuhkop+VPV+bwDsDCQKACApEgUAkBSJAgBIikQBACRFogAAkiJRAABJkSgAgKRIFABAUiQKACApEgUAkBSJAgBIikQBACRFogAAkiJRAABJkSgAgKRIFABAUiQKACApEgUAkBSJAgBI6v8DrqCwL6LoAD0AAAAASUVORK5CYII=" alt="" />
一千万条数据测试结果如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnwAAAFGCAIAAAB/htVXAAAgAElEQVR4nO3df5Ac1YHY8RZFuCpf+SqVKoyPUpykKhUudjkJCCqecS4XnLvLOfb5nMKJQIgCruTmOAUFoxMQEU67+sGuzI9pkAJnCzg5NkHYlsAGNfYGG62xLEAIix8CluaXELYFFkgISUi7M9P5o2e6X3e/7unZnXn9Zt/3U1Nit6enp3d21N99r3uF5Rdw27p1U1P1zRkmp6ZWrl5dZDvZPKdq2e7MtjG4XNuqOl7Ze9GtZrPZbDYbjUa9Xp+ampqcnDx+/PixY8eOHDly+PDhQ4cOHTx48MCBA/v379+3b98rr7yyZ8+ej++6+pDMxMRE2V8NAHRhYmJCejQLfHzX1Tt27PjlL3+5Z88ez/PeeOONffv2/frXv3777betIlt3brttcmoq5za0ctXM9t+06HpONfxyXdsaxOYSXQDm6m90a86tN9dqN918y4033bz26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EMiShFm0PPxFDsWrxtbhhd/t0le88c7kpXqexiCYtGeI4rXEMLc5+LiIHEMiRtE/QWRRF/ZhR8unczYEurafeT8WCscX2NV3l5bW44ZX+UGT2J0I7tOgWok2LNpHZGpNfp9WLt6zr6LzmYsBgArmQ+MFitQ0tT+dWjnVx9v3m7u6GR0iiytftonprsGxxCC3SUrNoUWvjyBYzm4vhYglkw2iLaPIxtOQRr6ynUlS+Fje6X+rIjKNFr/VCtEj7y7kuJk0a2G02czFMHIGsSHzJhfh7l81QbNEor61SVw6SLbby4Ls9kbTlgI5O3Fq0JZs5zcVAgQRy4v8BKztPan/K1rgAAAAASUVORK5CYII=" alt="" />
Java调用SqlLoader将大文本导入数据库的更多相关文章
- PHP读取CSV大文件导入数据库的示例
对于数百万条数据量的CSV文件,文件大小可能达到数百M,如果简单读取的话很可能出现超时或者卡死的现象. 为了成功将CSV文件里的数据导入数据库,分批处理是非常必要的. 下面这个函数是读取CSV文件中指 ...
- 本地sql大文件导入数据库
mysql中配置my.ini interactive_timeout = 120 wait_timeout = 120 max_allowed_packet = 32M 导入sql运行命令 sourc ...
- java图像开发学习——JTable之导入数据库
package demo; import java.awt.BorderLayout; import java.awt.Container; import java.awt.event.MouseAd ...
- [转] Android自动化测试之使用java调用monkeyrunner(五)
Android自动化测试之使用java调用monkeyrunner 众所周知,一般情况下我们使用android中的monkeyrunner进行自动化测试时,使用的是python语言来写测试脚本.不过, ...
- java调用sqlldr导入csv文件数据到临时表
package cn.com.file;import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.File; ...
- Java查询大文本
但JAVA本身缺少相应的类库,需要硬编码才能实现结构化文件计算,代码复杂且可读性差,难以实现高效的并行处理. 使用免费的集算器可以弥补这一不足.集算器封装了丰富的结构化文件读写和游标计算函数,书写简单 ...
- 【Java】大文本字符串滤重的简单方案~
本文章也同步至本人的CSDN博客中: http://blog.csdn.net/u012881584/article/details/70477832 今天来说一个Java中处理大文本字符串虑重的两个 ...
- Oracle数据库基本操作 (五) —— 使用java调用存储过程
一.环境准备 登录Oracle数据库scott账号,利用emp进行操作. 1.创建 proc_getyearsal 存储过程 -- 获取指定员工年薪 create or replace procedu ...
- java调用kettle_导入jar包(1)
版权声明:本文为博主原创文章,未经博主允许不得转载. Java调用Kettle执行任务或转换,需要使用Kettle中的jar,可以先导入lib目录中的几个基本的jar,如:kettle-core.ja ...
随机推荐
- hadoop错误记录部分总结
错误记录与分析 错误1:java.net.BindException: Port in use: localhost:0 datanode节点启动时报错 日志信息如下: Exiting with st ...
- jquery中$.get()如何让跨域请求携带cookie?
在这个get请求前面加上这个就好了~~~~
- ubuntu之路——day11.1 如何进行误差分析
举个例子 还是分类猫图片的例子 假设在dev上测试的时候,有100张图片被误分类了.现在要做的就是手动检查所有被误分类的图片,然后看一下这些图片都是因为什么原因被误分类了. 比如有些可能因为被误分类为 ...
- 我们一起分析一下这个刚刚修复的RDP漏洞CVE-2019-0708
写在前面的话 在微软今年五月份的漏洞更新安全公告中,提到了一个跟远程桌面协议(RDP)有关的漏洞.我们之所以要在这里专门针对这个漏洞进行分析,是因为这个漏洞更新涉及到Windows XP以及其他多个W ...
- Mini学习之mini.DataGrid使用说明
参考:http://miniui.com/docs/api/index.html#ui=datagrid mini.DataGrid表格.实现分页加载.自定义列.单元格渲染.行编辑器.锁定列.过滤行. ...
- Flutter -------- BottomNavigationBar 界面切换
Android 中有BottomNavigationBar+Fragment切换 而在Flutter也有的BottomNavigationBar 效果图 底部有两种情况 底部导航栏的类型更改其项目的显 ...
- IOS CocoaPods基本使用技巧
目录: 什么是CocoaPods 如何下载并安装CocoaPods 如何使用CocoaPods 什么是CocoaPods 当开发iOS应用时,或多或少的都会引用第三方类库,例如AFNetworking ...
- linux下apache安装ssl步骤
制作证书: 参考:linux下运用opensll制作ssl证书 生成三个证书 server.crt .server-ca.crt.server.key 安装openssl tar -xzvf open ...
- Centos7 卸载 Nginx 并重新安装 Nginx
1) 卸载nginx [root@locahost /]# yum remove nginx 2) 查看nginx是否还存在 [root@localhost /]# which nginx 3)重新 ...
- leetcode 874. Walking Robot Simulation
874. Walking Robot Simulation https://www.cnblogs.com/grandyang/p/10800993.html 每走一步(不是没走commands里的一 ...