在my.cnf中增大以下参数

myisam_sort_buffer_size = 1024M
tmp_table_size = 256M

tmpdir = /home/tmp
myisam_max_sort_file_size=20G


该项参数可以提高myisam大表在重建索引的时候的速度

相关文章:

  • 2021-04-01
  • 2021-08-31
  • 2021-11-27
  • 2021-10-05
  • 2022-12-23
  • 2022-02-13
  • 2021-06-06
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2021-06-08
  • 2021-12-04
  • 2022-02-25
  • 2022-12-23
  • 2021-11-05
  • 2021-06-15
相关资源
相似解决方案