提交给mysql java驱动的优化下个版本要发布了^_^
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
随机推荐
- bzoj 4025 二分图——线段树分治+LCT
题目:https://www.lydsy.com/JudgeOnline/problem.php?id=4025 线段树分治,用 LCT 维护链的长度即可.不过很慢. 正常(更快)的方法应该是线段树分 ...
- PHP接口开发加密技术实例原理与例子
下面例子简单讲解PHP接口开发加密技术:如app要请求用户列表,api是“index.php?module=user&action=list”app生成token = md5sum (‘use ...
- 关于innodb_thread_concurrency参数 并发控制
http://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_thread_concurrency Comma ...
- qt 中文乱码
首先呢,声明一下,QString 是不存在中文支持问题的,很多人遇到问题,并不是本身 QString 的问题,而是没有将自己希望的字符串正确赋给QString. 很简单的问题,"我是中文&q ...
- 淘宝用户api 如何获得App Key和API Secret
下面我们通过截图的方式详细说明申请淘宝应用的步骤. 一.访问淘宝开放平台http://open.taobao.com/ 申请成为合作伙伴 二.填写个人信息申请入住 三.点击创建应用 四.填写应用名称, ...
- bzoj4471 bzoj4490 随机数生成器Ⅱ
Description 继NOI2014后,小H又发现了一种新的生成随机数的方法.首先,给定三个随机种子P,C1,C2(C1≤C2)生成一个序列{xi},{xi}满足对于任意的i≥0,满足以下递推式X ...
- RDD之三:RDD创建方式
RDD创建方式 1)从Hadoop文件系统(如HDFS.Hive.HBase)输入创建.2)从父RDD转换得到新RDD.3)通过parallelize或makeRDD将单机数据创建为分布式RDD. 4 ...
- git log --author详解,这个是个模糊匹配
git log --author=authorname --author=<pattern>, commits whose author matches any of the given ...
- jQuery的selector和context属性
从jQuery1.3开始添加了这2个属性. 现在我们来看看那这2个属性的用法. selector属性是一个字符串.存储的字符串是选择器. HTML代码: <div class="guo ...
- Hash的一点测试
哈希表的学习与测试 以前写的hash都是碰运气的hash,就是乘上质数取模的那种,这样不能保证不碰撞,所以今天先写上几个双hush和链表的hash,并比较一下他们的速度,测试的话用洛谷上的“字符串哈希 ...