quote
Account flow table
mysql> select count(1) from account_log;
+-----------+
| count(1) |
+-----------+
| 393625073
+-- ---------+
1 row in set (1 min 6.98 sec)
Dao layer method Requests per minute milliseconds
1. selectByOrderId 358 3 milliseconds (Alibaba cloud network delay 2-3 milliseconds)
2. insert 100 2.89 milliseconds
This statistical result is far beyond my expectations.
Analysis, our business operations are operating recent data. Therefore, index partition files do not need io switching, and data does not need io switching