update inner join 超慢 update t1 as a inner join t2 as b on a.ip=b.ip set a.hostroom=b.hostroom where a.hostroom is null超慢,卡住不动了where a.hostroom is null有17000条记录怎么这样呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 on a.ip=b.ipIP字段上需要添加索引。 update 操作是先找到需要修改的记录,然后再改成目标数据,然后再刷写到磁盘固化,一般来说查找是效率的短板,解决这个之后UPDATE就会快起来。a.ip=b.ip IP字段加上索引能解决问题。 explain select a.hostroom ,b.hostroomt1 as a inner join t2 as b on a.ip=b.ip where a.hostroom is null; sql问题 mysql导出数据无权限的问题 mysql 百万条记录 的优化问题 Mysql的一个疑似bug.求教。 存储过程总提示错误... 问个简单的问题!! Mysql不能创建新数据库及新表 mysql不能使用 出现ERROR 2013错误 What does 'Duplicate entry 127 for key 1' mean please? mysql能不能用odbc连接呀!!!!如果可以怎么连接呢???? mysql中怎样区分中文和阿拉伯文字符 linux(suse)重装mysql失败
a.ip=b.ip IP字段加上索引能解决问题。
explain
select a.hostroom ,b.hostroom
t1 as a inner join t2 as b on a.ip=b.ip where a.hostroom is null
;