就这样的一条sql,数据量太大,查询很慢。。
select ifnull(sum(total_stock_cost),0) from table;
要求实时查,
1.4m articles
1.4m replys
5 comments
56.7k users