コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6905 ビュー

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
7068
1
3月 15
8127
2
3月 15
10824
1
12月 22
26132
0
3月 15
3989