Optimize Database and Delete Older transaction for User
-
I have a WooCommerce site with about 25000 users.
Thewp_woo_wallet_transactionstable in my database has taken up approximately 4 GB of space.
Please give me a script that only shows the last 10 transactions per user and completely deletes other row , so that my database gets optimized.
Based on my analysis, the system calculates the wallet balance by summing all records, so I want you to provide a script that does not break the plugin’s mechanism.”
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.