为什么我的 Discourse postgres_data 太大了

使用 rake db:stats 完成上述信息:

table_name | row_estimate | table_size | index_size | total_size

posts | 8847417 | 39 GB | 12 GB | 51 GB
post_search_data | 5880635 | 8377 MB | 1392 MB | 9769 MB
post_timings | 23728606 | 1571 MB | 2430 MB | 4001 MB
user_actions | 5424982 | 488 MB | 1657 MB | 2144 MB
post_custom_fields | 5832468 | 429 MB | 609 MB | 1039 MB

我见过其他示例,其中 posts 表有 1000 万行时,大小仅为约 15 GB。而我们现在有 800 万行,大小却达到了 39 GB。

有什么方法可以优化吗?