跳至內容
選單
此問題已被標幟
1 回覆
6919 瀏覽次數

I just noticed that the account_move_line table was about 200MB while the index for that table was over 1GB.

頭像
捨棄
作者 最佳答案

While I don't know why this is the case - reindexing this specific database reclaimed 2GB of space and reduced a 4.5GB database to 2.5GB. It was a 6.1 database upgraded via Odoo to version 7.0.  

It has about 135,000 records in the account_move_line table.

頭像
捨棄

The VACUUM command will also reclaim space by doing garbage collection within the table itself and rebuild indexes.

相關帖文 回覆 瀏覽次數 活動
3
3月 15
7075
1
3月 15
8142
2
3月 15
10842
1
12月 22
26147
0
3月 15
4012