Insertion speed slowdown as the table grows in mysql

前端 未结 3 1764
天涯浪人
天涯浪人 2021-02-04 17:33

I am trying to get a better understanding about insertion speed and performance patterns in mysql for a custom product. I have two tables to which I keep appending new rows. The

3条回答
  •  孤街浪徒
    2021-02-04 18:09

    Your indexes may just need to be analyzed and optimized during the insert, they gradually get out of shape as you go along. The other option of course is to disable indexes entirely when you're inserting and rebuild them later which should give more consistent performance.

    Great link about insert speed.

    ANALYZE. OPTIMIZE

提交回复
热议问题