Closed jokesterfr closed 7 months ago
Here is an example from a live site
it's about 4,5 million rows and keeps growing. the oldest entry is from 2023-09-05
My suggestion here is a cron file that can be used to clean this table and maybe keep data 3 months back? If the merchant don't want to clean up, they can just skip to activate the cronjob, what do you think?
Dear @Prestaworks,
thanks to @fox-john work, we have a patch for you (see #276), these are scripts you can run to clear unwanted data from your database. This will still be compliant with the ps_eventbus normal behaviour, and wont mess with the ps_eventbus/CloudSync nominal bahaviour.
These MySQL scripts can now be found here: https://github.com/PrestaShopCorp/ps_eventbus/tree/main/sql/tools
By the way, 2 long term fixes will soon come. Our internal references are:
best,
Reported from the PrestaShop open source slack by Daniel : https://prestashop.slack.com/team/U0135GYKH0C
Feedback from Daniel:
Answer (for what's working and what's left to do):
I will reach the team and get back to you soon,