- Mailing Lists
- Contributors
- Re: Speed up init of a database
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
Re: Speed up init of a database
For a specific customer CI you could consider using for database template an already initialized database. It would spare you the time of installing all the existing modules.The CI build should then just upgrade the PR changed modules.Just an ideaDaniel--Jordi Riera <jordi.riera@numigi.com> escreveu em qua, 26/02/2020 às 19:52 :Hello List,The database of our clients is growing in number of modules. Our biggest database is 400+ modules now o.OYou can imagine that the init of the database is quite long. It takes actually 70% of the time in our CI.I was wondering if you know some tricks to speed it up. Or alternatives to the brute force `odoo -i modules`. In my sweet dreams, I dream about modules that are installed in parallel or something like that.What do you think? What did you already try?Thank you list!Jordi--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Thanks
Daniel_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
![]() | Jordi Riera - VP Technique NUMIGI SOLUTIONS INC. (514) 317-7944 Longueuil, Québec, Canada |
by Jordi Riera - 05:31 - 27 Feb 2020
Reference
-
Speed up init of a database
Hello List,The database of our clients is growing in number of modules. Our biggest database is 400+ modules now o.OYou can imagine that the init of the database is quite long. It takes actually 70% of the time in our CI.I was wondering if you know some tricks to speed it up. Or alternatives to the brute force `odoo -i modules`. In my sweet dreams, I dream about modules that are installed in parallel or something like that.What do you think? What did you already try?Thank you list!Jordi--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada
by Jordi Riera - 08:51 - 26 Feb 2020-
Re: Speed up init of a database
No, yet we’re just waiting much longerOn 28 Feb 2020, at 00:17, Holger Brunn <hbrunn@therp.nl> wrote:
are we the only ones to use a local runbot for CI? For this I made https://github.com/OCA/runbot-addons/pull/159 and even though it fails all the tests, it serves us well for a long time. -- Therp - Maatwerk in open ontwikkeling Holger Brunn - Ontwerp en implementatie mail: holger@therp.nl web: http://therp.nl_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
<signature.asc>
by Alexey Pelykh <alexey.pelykh@gmail.com> - 03:06 - 28 Feb 2020 -
Re: Speed up init of a database
are we the only ones to use a local runbot for CI? For this I made https://github.com/OCA/runbot-addons/pull/159 and even though it fails all the tests, it serves us well for a long time. -- Therp - Maatwerk in open ontwikkeling Holger Brunn - Ontwerp en implementatie mail: holger@therp.nl web: http://therp.nl
by Holger Brunn - 11:16 - 27 Feb 2020 -
Re: Speed up init of a database
Ciao Jordi,we do 2 things to speed up builds:1. we use travis cache to store and reuse DB dumps from previous build2. as we use submodules we don't fetch them via git, we pull zip of the pinned hashPoint 2 could be improved by using python pkgs but we are not using them yet, but this is another story :)Bests,On Thu, Feb 27, 2020 at 5:32 PM Jordi Riera <jordi.riera@numigi.com> wrote:Once again, awesome advice.I will take a look at click-odoo for sure.I will gather the team about the usage of templates for database. Seems promising.Thank you again!JordiLe mer. 26 févr. 2020 à 18:47, Daniel Reis <dreis@opensourceintegrators.com> a écrit :For a specific customer CI you could consider using for database template an already initialized database. It would spare you the time of installing all the existing modules.The CI build should then just upgrade the PR changed modules.Just an ideaDaniel--Jordi Riera <jordi.riera@numigi.com> escreveu em qua, 26/02/2020 às 19:52 :Hello List,The database of our clients is growing in number of modules. Our biggest database is 400+ modules now o.OYou can imagine that the init of the database is quite long. It takes actually 70% of the time in our CI.I was wondering if you know some tricks to speed it up. Or alternatives to the brute force `odoo -i modules`. In my sweet dreams, I dream about modules that are installed in parallel or something like that.What do you think? What did you already try?Thank you list!Jordi--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Thanks
Daniel_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Simone Orsi - 06:00 - 27 Feb 2020 -
Re: Speed up init of a database
Once again, awesome advice.I will take a look at click-odoo for sure.I will gather the team about the usage of templates for database. Seems promising.Thank you again!JordiLe mer. 26 févr. 2020 à 18:47, Daniel Reis <dreis@opensourceintegrators.com> a écrit :For a specific customer CI you could consider using for database template an already initialized database. It would spare you the time of installing all the existing modules.The CI build should then just upgrade the PR changed modules.Just an ideaDaniel--Jordi Riera <jordi.riera@numigi.com> escreveu em qua, 26/02/2020 às 19:52 :Hello List,The database of our clients is growing in number of modules. Our biggest database is 400+ modules now o.OYou can imagine that the init of the database is quite long. It takes actually 70% of the time in our CI.I was wondering if you know some tricks to speed it up. Or alternatives to the brute force `odoo -i modules`. In my sweet dreams, I dream about modules that are installed in parallel or something like that.What do you think? What did you already try?Thank you list!Jordi--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Thanks
Daniel_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada
by Jordi Riera - 05:31 - 27 Feb 2020 -
Re: Speed up init of a database
For a specific customer CI you could consider using for database template an already initialized database. It would spare you the time of installing all the existing modules.The CI build should then just upgrade the PR changed modules.Just an ideaDaniel--Jordi Riera <jordi.riera@numigi.com> escreveu em qua, 26/02/2020 às 19:52 :Hello List,The database of our clients is growing in number of modules. Our biggest database is 400+ modules now o.OYou can imagine that the init of the database is quite long. It takes actually 70% of the time in our CI.I was wondering if you know some tricks to speed it up. Or alternatives to the brute force `odoo -i modules`. In my sweet dreams, I dream about modules that are installed in parallel or something like that.What do you think? What did you already try?Thank you list!Jordi--
Jordi Riera - VP TechniqueNUMIGI SOLUTIONS INC.(514) 317-7944Longueuil, Québec, Canada_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Thanks
Daniel
by Daniel Reis - 12:46 - 27 Feb 2020
-



