今天把proxy server 中的ip unique 了一下。然后每天的数据replace into进去就好了。把原先的数据要处理一下。select *, distinct ip from table 不行。然后网上找,原来select *, MAX(date) as date from table group by ip 这样就可以了。
今天把proxy server 中的ip unique 了一下。然后每天的数据replace into进去就好了。把原先的数据要处理一下。select *, distinct ip from table 不行。然后网上找,原来select *, MAX(date) as date from table group by ip 这样就可以了。