java jdbc 线程插入记录

时间:2014-12-03 03:34:48
【文件属性】:
文件名称:java jdbc 线程插入记录
文件大小:2KB
文件格式:7Z
更新时间:2014-12-03 03:34:48
jdbc 线程写数据库 JDBC 用线程写入mysql数据库记录10万条,测试本机127.0.0.1写入速度约 482条/秒,测试代码端显示约需要124秒,SQL分析数据结果是480条左右,除去前后两秒无效数据,统计SQL如下 select max(num),min(num),avg(num) from ( select count(*) num, evt_time from level2faulttxt where evt_time>(select min(evt_time) from level2faulttxt ) and evt_time<(select max(evt_time) from level2faulttxt) group by evt_time ) aaa
【文件预览】:
.project
src
----TestWriteDb.java(1KB)
----WriteFire.java(2KB)
.settings
----org.eclipse.jdt.core.prefs(629B)
.classpath
bin

网友评论

  • 谢谢,学习一下
  • 非常实用的工具我正需要