تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6716 أدوات العرض

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
مارس 15
6960
1
مارس 15
7965
2
مارس 15
10700
1
ديسمبر 22
25969
0
مارس 15
3875