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. 【python】python GUI开发框架介绍

    Python GUI开发的库不少.最常用的的也就几个. Tkinter -Tk是Python自带的GUI库, 上手简单, 做个简单界面基本够用了,但是不够美观,功能不全面. wxPython -开源免 ...

  2. jquery tmpl学习资料 --{{each}} each使用

    <!DOCTYPE html><html><head>    <script src="Scripts/jquery-1.6.2.min.js&qu ...

  3. gcc gdb调试 (二)

    GDB的命令概貌——————— 启动gdb后,就你被带入gdb的调试环境中,就可以使用gdb的命令开始调试程序了,gdb的命令可以使用help命令来查看,如下所示: /home/hchen> g ...

  4. Real FFT

    [文/告别年代   Email:byeyear@hotmail.com] FFT算法是针对复信号的,而现实场景中很多时候时域是实信号,此时有两种办法加快FFT的速度. 1. 使用一个N点的复FFT同时 ...

  5. 【Spring学习笔记-MVC-1.3】消息转换器HttpMessageConverter

    作者:ssslinppp       参考链接: SpringMVC源码剖析(五)-消息转换器HttpMessageConverter: http://my.oschina.net/lichhao/b ...

  6. 实验十一 C的指针

    指针编程 11.1 #include<stdio.h> int main() { ]={,,,,,,,,,},i,*p,sum=; ],i=;i<;i++,p++) { ==) su ...

  7. aapium 设置安卓机参数

    例子: class iBer(Unittest.TestCase): @classmethod def setUpClass(cls): logger=public.log() desired_cap ...

  8. document.write覆盖问题

    1.不会覆盖页面: 如果仅仅是一句js语句:document.writeln('<span id=\'span1\'>嗯,你好</span>'); ps:\'是转义字符,代表' ...

  9. linux修改文件系统挂载的目录

    比如想把已经挂载在home目录上的硬盘挂载到data目录上, 如下操作 #df -h(查看分区情况及数据盘名称) # mkdir /data(如果没有data目录就创建,否则此步跳过) # umoun ...

  10. 廖雪峰Java1-2程序基础-7布尔运算符

    布尔运算符 关系运算符:>, >=, <, <=, ==,!= 与运算 && 或运算 | 非运算 ! int n = 5; boolean t = n > ...