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. 如何判断事务是否完成,SqlTransaction

    SqlConnection sconn = null; SqlCommand scmd = null; SqlTransaction strans = null; try { string sqlIn ...

  2. "二阶“条件概率

    公式: P(E|F)=P(E|GF)P(G|F)+P(E|GcF)P(Gc|F) 解释: 已知F发生,E发生的条件概率为P(E|F). 现在多考虑一个条件G,G可能发生也可能不发生. 若F已发生条件下 ...

  3. tcp端口检测

    # coding=utf-8 import sys import socket import re def check_server(address, port): s = socket.socket ...

  4. 2018-2019 Exp2 后门原理与实践

    2018-2019 Exp2 后门原理与实践 目录 一.实验内容说明及基础问题回答 二.工具准备 查看WindowsIP和LinuxIP Windows获得Linuxshell Linux 获得Win ...

  5. CA双向认证的时候,如果一开始下载的证书就有问题的,怎么保证以后的交易没有问题?

    研究HTTPS协议的时候,发现网站的CA认证,比如建行,比如支付宝,需要首先下载数字证书, 当然有些其他的双向认证,比如之前做过的港航和JP MORGAN进行交互的时候,证书是私下发送的,不需要去公网 ...

  6. Java Internet

    网络通信: 网络通信三要素: IP 协议 端口 TCP: 建立连接,发送速度慢 三次握手协议 UDP: 不需要建立连接,发送速度快 安全性低 a) 使用UDP实现数据的发送 1 创建Socket端点实 ...

  7. js判断当前为pc端还是wap端

    var checkBrowser; function browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); v ...

  8. uva-331-枚举-交换的方案数

    题意:冒泡排序,最小交换数的前提下有多少用方案把数组变成从小到大的顺序, 注意: 3 2 1 3的下表是1  2的是2 1的是3  交换 3 2,那么第一个交换数是1 最小交换数=逆序数的和 那么,只 ...

  9. cplexJava源码---计算结果

    public static class CplexStatus implements Serializable { static final long serialVersionUID = -7367 ...

  10. TortoiseGit上传项目到GitHub

    1. 简介 gitHub是一个面向开源及私有软件项目的托管平台,因为只支持git 作为唯一的版本库格式进行托管,故名gitHub. 2. 准备 2.1  安装git:https://git-scm.c ...