- Mailing Lists
- Contributors
- Size of ir.translation table over total db size
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Size of ir.translation table over total db size
--
by Francesco Foresti - 07:11 - 24 Jan 2023
Follow-Ups
-
Re: Size of ir.translation table over total db size
Thank you all for your valuable responses, I'll let you know what we find out.Cheers!Il giorno mer 25 gen 2023 alle ore 08:07 Martin Trigaux (Odoo) <notifications@odoo-community.org> ha scritto:On 24/01/2023 19:11, Francesco Foresti wrote:
we've recently found out that on a "clean" db (not yet in production), with around 350 modules installed and no customer data imported, the ir.translation table occupies about 95% of the space - about 9GB. Just two languages are enabled.
On another db in production since 2+ years, out of 7,5 GB of the db size, ir.translations occupies 21% of the space (1,6GB). Just one language is enabled here.
Your clean db stats seems to the roof. On the Github PR odoo/odoo#45958 I measured the size with 7 languages installed on a new database. I did not have 350 modules installed but the size was measured in MB, not GB.
I suspect one (or more) of the module is polluting the table. Check the entries based on the module field to find the culprit.
On a production database, it may grow a lot but 1.6 Gb still seems excessive (I don't think we reached that size on odoo.com).
On old database, orphan translations (pointing to records that no longer exists) may increase the size of the table unnecessarily but 2 years is not that old either.
I would start by investigating what takes so much space in this table.
Best,
Martin
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Francesco ForestiSicurpharma Srl+39 333 8123 790
by Francesco Foresti - 09:50 - 25 Jan 2023 -
Re: Size of ir.translation table over total db size
On 24/01/2023 19:11, Francesco Foresti wrote:
we've recently found out that on a "clean" db (not yet in production), with around 350 modules installed and no customer data imported, the ir.translation table occupies about 95% of the space - about 9GB. Just two languages are enabled.
On another db in production since 2+ years, out of 7,5 GB of the db size, ir.translations occupies 21% of the space (1,6GB). Just one language is enabled here.
Your clean db stats seems to the roof. On the Github PR odoo/odoo#45958 I measured the size with 7 languages installed on a new database. I did not have 350 modules installed but the size was measured in MB, not GB.
I suspect one (or more) of the module is polluting the table. Check the entries based on the module field to find the culprit.
On a production database, it may grow a lot but 1.6 Gb still seems excessive (I don't think we reached that size on odoo.com).
On old database, orphan translations (pointing to records that no longer exists) may increase the size of the table unnecessarily but 2 years is not that old either.
I would start by investigating what takes so much space in this table.
Best,
Martin
by Martin Trigaux - 08:06 - 25 Jan 2023 -
Re: Size of ir.translation table over total db size
Good idea but vacuum full only in off peak times and after a proper backup (for the own safety) ;-)
Best Frederik
Am 24.01.23 um 20:51 schrieb Moises Lopez:
Hi,
There is an issue related with vacuum claim space in tables
Also, you didn't mention the PG version used
But try running a "vacuum full"
--
On Tue 24 Jan 2023 at 12:11 p.m. Francesco Foresti <notifications@odoo-community.org> wrote:
Hi all,
we've recently found out that on a "clean" db (not yet in production), with around 350 modules installed and no customer data imported, the ir.translation table occupies about 95% of the space - about 9GB. Just two languages are enabled.
On another db in production since 2+ years, out of 7,5 GB of the db size, ir.translations occupies 21% of the space (1,6GB). Just one language is enabled here.
We were a bit surprised to find out about the table size and we're looking for feedback on whether these proportions sound "regular" to you.
Thanks!
--
Francesco ForestiSicurpharma Srl_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Phone: +49 4181 13503-12 Fax: +49 4181 13503-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 09:06 - 24 Jan 2023 -
Re: Size of ir.translation table over total db size
Hi,There is an issue related with vacuum claim space in tablesAlso, you didn't mention the PG version usedBut try running a "vacuum full"--On Tue 24 Jan 2023 at 12:11 p.m. Francesco Foresti <notifications@odoo-community.org> wrote:Hi all,we've recently found out that on a "clean" db (not yet in production), with around 350 modules installed and no customer data imported, the ir.translation table occupies about 95% of the space - about 9GB. Just two languages are enabled.On another db in production since 2+ years, out of 7,5 GB of the db size, ir.translations occupies 21% of the space (1,6GB). Just one language is enabled here.We were a bit surprised to find out about the table size and we're looking for feedback on whether these proportions sound "regular" to you.Thanks!
--Francesco ForestiSicurpharma Srl_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 08:50 - 24 Jan 2023 -
Re: Size of ir.translation table over total db size
Maybe such a size is because there's a lot of translatable content in such DB (like big product descriptions including e-commerce and a lot of products).Regards.
by Pedro M. Baeza - 08:31 - 24 Jan 2023