COUNT (DISTINCT id) is very slow. You should try SELECT count(*) FROM (SELECT DISTINCT id FROM table1) AS foo. Check the execution time of ...
確定! 回上一頁