Hi @samisraeli ,
Thanks for providing us with the information. We have investigated the issue further and would like to share our findings with you.
The problem you experienced is a result of the large number of coupons on your site. Each coupon, along with its corresponding details, is stored as a post in the database. Furthermore, every order, product, post, page, and associated data is treated as a post, adding to the overall database load.
Navigating through the numerous posts and post meta to access coupon and coupon meta data can significantly slow down your site’s performance. In order to optimize plugin functionality and improve performance, we have introduced a lookup table mechanism. This table stores coupon and coupon meta data separately, reducing the need to navigate through individual posts and post meta.
During the installation process, the plugin initiates a migration of existing coupon data to this lookup table. Once this migration is completed, future issues related to site performance should be resolved.
We would appreciate it if you could provide us with an update on the current progress of the migration process and whether it has begun to proceed smoothly again. We understand the inconvenience this may have caused during the process, and we apologize for any disruption.
Looking forward to your response.