这里是sql大佬
MySQL [test]> explain SELECT /*+ read_from_storage(tiflash[a,b,c,d,e]) */ date_time DIV 60 * 60 AS “time”, b.status AS metric, count(TXN_STATUS) AS “count” FROM records A join payment_status b on b.statusid=A.TXN_STATUS JOIN channels c ON A.channel_id = c.channel_id JOIN channel_maste…