mysql:
$result = mysql_query("SELECT * FROM properties Where p_id in(1,2,3,4) order by instr('1,2,3,4',p_id) ");
mysql:
$result = mysql_query("SELECT * FROM properties Where p_id in(1,2,3,4) order by instr('1,2,3,4',p_id) ");
下一篇:debain进不了桌面
mysql,java
一、问题背景最近在做Datax从阿里云rds数据库到Hive数据同步任务时,发现同步耗时很久,500万的数据同步配置了splitPk并配置了50个线程并发需要212s,任务同步的平均速率一直保持在3-4M/s,而本地的Mysql测试数据库同步时不分片的平均速率就能到20M/s。二. 集群环境Rds环境:8000iops; 8core; 16g内存分片字段类型:bigint类
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M