select url from uni_xmflsh
where url not in(select url from html)
我的意思是要查询出表uni_xmflsh表url字段不再表url的url字段中不重复的内容,每个表的数据都有几十万,这样下来等待了很久都没有相应,而且cpu一直发烧,有更好的办法实现么??
where url not in(select url from html)
我的意思是要查询出表uni_xmflsh表url字段不再表url的url字段中不重复的内容,每个表的数据都有几十万,这样下来等待了很久都没有相应,而且cpu一直发烧,有更好的办法实现么??
left join html b
on a.url=b.url
where b.url is null
在URL上建立索引
where not exists (select url from html whre url=uni_xmflsh.url );