xuesn 发表于 2018-9-28 14:21:51

【原创】MySQL和PostgreSQL 导入数据对比

# pgloader commands.load  table name       read   imported   errors            time
  ytt.t1    1000000    1000000          0         33.514s
  
-----------------------------------------------------------------------
  
-----------------------------------------------------------------------
  Total import time    1000000    1000000          0         33.514s
  
Pgloader 直接从MySQL 拉数据:(时间51秒)
  
# pgloader commands.mysql
  table name       read   imported   errors            time
  fetch meta data          2          2          0          0.138s
  
-----------------------------------------------------------------------
  t1    1000000    1000000          0         51.136s
  
-----------------------------------------------------------------------
  
-----------------------------------------------------------------------
  
-----------------------------------------------------------------------
  Total import time    1000000    1000000          0         51.274s


MMMgo 发表于 2018-9-28 19:12:42

啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
页: [1]
查看完整版本: 【原创】MySQL和PostgreSQL 导入数据对比