Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6712 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 15
6959
1
thg 3 15
7964
2
thg 3 15
10700
1
thg 12 22
25968
0
thg 3 15
3873