Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6891 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 15
7042
1
มี.ค. 15
8120
2
มี.ค. 15
10812
How to modify paper format (size) แก้ไขแล้ว
1
ธ.ค. 22
26121
0
มี.ค. 15
3978