mysql單表數量極限和性能_MySQL
來源:懂視網
責編:小采
時間:2020-11-09 20:06:57
mysql單表數量極限和性能_MySQL
mysql單表數量極限和性能_MySQL:賬戶流水表 mysql> select count(1) from account_log; +-----------+ | count(1) | +-----------+ | 393625073 +-----------+ 1 row in set (1 min 6.98 sec) dao層方法 每分鐘請求數 毫秒數 1. selectByOrde
導讀mysql單表數量極限和性能_MySQL:賬戶流水表 mysql> select count(1) from account_log; +-----------+ | count(1) | +-----------+ | 393625073 +-----------+ 1 row in set (1 min 6.98 sec) dao層方法 每分鐘請求數 毫秒數 1. selectByOrde

賬戶流水表
mysql> select count(1) from account_log;
+-----------+
| count(1) |
+-----------+
| 393625073
+-----------+
1 row in set (1 min 6.98 sec)
dao層方法 每分鐘請求數 毫秒數
1. selectByOrderId 358 3毫秒 (阿里云網絡延時2-3毫秒)
2. insert 100 2.89 毫秒
這個統計結果大大出乎我的意料.
分析起來, 我們的業務操作都是操作近期的數據. 所以索引分區文件不需要io切換, 數據不需要io切換
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
mysql單表數量極限和性能_MySQL
mysql單表數量極限和性能_MySQL:賬戶流水表 mysql> select count(1) from account_log; +-----------+ | count(1) | +-----------+ | 393625073 +-----------+ 1 row in set (1 min 6.98 sec) dao層方法 每分鐘請求數 毫秒數 1. selectByOrde