create UNIQUE INDEX uniq_index_piwik_log_action_idaction on piwik_log_action(idaction);

 

这样做的好处:

1. primary的index不能方便的reindex

2. postgres里面的index容易膨胀

相关文章:

  • 2021-07-29
  • 2021-06-26
猜你喜欢
  • 2022-01-19
  • 2021-11-27
  • 2022-12-23
  • 2021-10-05
  • 2021-07-13
  • 2021-08-29
  • 2021-08-11
相关资源
相似解决方案