Difference in required time to insert InnoDB/MyISAM records

后端 未结 2 1023
忘掉有多难
忘掉有多难 2021-02-13 13:25

I\'m inserting records into a MySQL table and try to understand the differences in time it takes between a MyISAM table and a InnoDB table.

This is the code to create th

2条回答
  •  再見小時候
    2021-02-13 14:00

    To really see the performance differences, you'd need to run some real program on top of the DB. Just inserting tiny batch of records is not telling much. Insert speed depends a lot on things like column count, the amount of indices, transaction pattern, DB constraints and other activities taking place.

提交回复
热议问题