Huge postmeta bloat
-
I’ve had to deactivate this plugin after discovering it had created over 2.9 million
postmetaentries using the meta key_faire_product_sync_result.This caused our WooCommerce Products admin page to stop loading entirely, as the size of the
postmetatable grew so large that WooCommerce’s standard admin queries (which joinwp_postmetaseveral times) could no longer complete without exhausting memory.To prevent this from happening on other sites, I’d recommend that the plugin either:
- Stores only one meta entry per product/variation, updating it as needed (instead of creating new rows each time), or
- Creates a custom database table for logging sync results, instead of storing them in
wp_postmeta, which is a shared and performance-critical table for WooCommerce.
This would help ensure the plugin doesn’t silently degrade performance or break admin functionality on stores with even modest product counts.
The topic ‘Huge postmeta bloat’ is closed to new replies.