When should database indexes be rebuilt?

前端 未结 3 1087
我在风中等你
我在风中等你 2020-12-14 01:52

I was reading about refactoring a large slow SQL Query over here, and the current highest response is from Mitch Wheat, who wants to make sure the query uses indexes for the

3条回答
  •  猫巷女王i
    2020-12-14 02:18

    The answer you linked to about "regular maintenance" was in the specific context of a temporary table that gets truncated and repopulated regularly. You don't need to do this to the vast majority of MySQL database installs.

提交回复
热议问题