developer.woocommerce.com
Performance: Switching to post_author to store order customer IDs
WooCommerce core uses a post meta called _customer_user to store the customer ID for orders. Since the meta_value field of the wp_postmeta table is not indexed, this means that all the queries that need to filter orders by customer ID are very slow. To address this, in PR #17895, we are exploring the idea of […]
Rodrigo Primo