camptocamp/odoo-cloud-platform

[Question] How to reduce database migration time when attachment_s3 is used

AungKoKoLin1997 opened this issue · 1 comments

Hello, I installed attachment_s3 in v12 environment and I have 100000 products. I want to migrate to v13 and I used openupgrade from OCA for migration. So, when I run the migration script yesterday and still not finish migrating product module. I think the loading time is taking time when pass datas value to image_1920 from attachment https://github.com/OCA/OpenUpgrade/blob/b3bed799c2c73b50af62eb6796385ce88ffe9fb7/addons/product/migrations/13.0.1.2/post-migration.py#L12. It fetch data from s3 and pass that's why taking time too much. How can I reduce time? If someone has the experience about version migration with attachment_s3, please guide me.

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.