You may try to increase the datafile size when business is slow, but I did not think that would significantly speed up the query.
Still, you need to find out why it took 5 seconds to query 1M records table.
You may want try to find out some data about index, and if the issue was from index, rebuild index might work for your case.
Hope this helps,
agree
检查一下你的慢sql,条件字段是否有索引