Unsubscribe from updates to this bug at: https://bugs.mysql.com/77681

 Updated by:  Daniel che chung So
Reported by: OCA Admin
Category: Connector/J
Severity: S3 (Non-critical)
-Status: In progress
+Status: Closed
Version: 5.1.x
OS: Any [20 Aug 23:25] Daniel che chung So Added the following entry to the Connector/J 5.1.37 changelog: "The code for executing a REPLACE statement when
rewriteBatchedStatements=true has been refactored by putting multiple
batched statements into a single query, making it work more like an
INSERT statement. This increases the efficiency for running REPLACE
statements. Thanks to Jie Han for contributing the patch." ------------------------------------------------------------------------ [21 Jul 9:17] jie han we have billions records transfer from offline to online , rewrite
replace statement will save lots of bytes. and rewirte to one sql means
don't need explicitly begin transaction ,because one sql will execute
in a standalone transaction when autocommit is true,this save two
request for every batch. where network is slow autocommit will save more
time. hope rewrite replace statement will release in next version. ------------------------------------------------------------------------ [20 Jul 17:27] Filipe Silva Bug#40561 is a duplicate of this. ------------------------------------------------------------------------ [12 Jul 8:00] Umesh Umesh Hello! Thank you for the report and contribution. Thanks,
Umesh

随机推荐

  1. ORA-01919: role 'OLAPI_TRACE_USER' does not exist

    我在用数据泵导入数据的时候报的错 TEST_USER1@ORCL> conn / as sysdbaSYS@ORCL> grant plustrace to TEST_USER1; gra ...

  2. OSI7层封包解包动态图-数据在网络中的传输过程.gif

  3. zabbix 安装错误汇总

    由于公司业务需要,当前zabbixserver的压力较大,需要安装一个proxy缓解压力,开始慢慢琢磨proxy的安装.这些文档网上很多,就不在多说了.只把自己遇见的错误拿出来共享下 Zabbixpr ...

  4. 一些css杂项笔记

    div[class*="col-"]{ background-color: gold; border: 1px solid #ccc; } //给class开头等于col-的div ...

  5. html + php 框架

    <html> <head><meta http-equiv="Content-Type" content="text/html; chars ...

  6. sed简单用法

    参数说明: -e 以指定的script来处理输入的文本文件 -f 以指定的script文件来处理输入的文本文件 -h 显示帮助 -n 仅显示script处理后的结果 -V 显示版本信息 -v 反选 动 ...

  7. mongodb 如何区分大小写

    mongodb是区分大小写的,在做mongodb数据库操作是经常使用toUpperCase()等方法将value转换为大写存到数据库中 e.g. 在做数据库模糊查询时语句如下 db.COLLECTIO ...

  8. javascript面向对象的程序设计之Object.getOwnPropertyDescriptor()

    Object.getOwnPropertyDescriptor()用于获取给定属性的描述信息,这个描述信息是一个对象. 如果是访问器属性,则这个对象的属性有configurable,enumerabl ...

  9. sqoop导入导出对mysql再带数据库test能跑通用户自己建立的数据库则不行

    sqoop对hdfs导入导出怎么操作这里我就不多说了 现在说下sqoop导入导出时针对mysql后面用户手动创建的数据库导入到处遇到的问题 首先我这里搭建的是3节点集群 master slave1 s ...

  10. HTML5进阶

    内容: 1.geolocation元素 2.video元素和audio元素 3.localStorage 4.WebWorker 5.WebSQL.IndexedDB 6.文件操作.文件拖拽新概念 7 ...