Duplicate queries
-
When I run the Query Monitor plug-in it identifies three woocommerce-related duplicate queries. (I have a screenshot of these but don’t know how to attach – help on this would be appreciated)
Meantime here’s the information from Query Monitor about the first of the duplicate queries…
QUERY
SELECT * FROM uA1qIx5X7_wc_admin_notes WHERE note_id = 10 LIMIT 1 <strong>COUNT</strong> 2 <strong>CALLERS</strong> Automattic\WooCommerce\Admin\Notes\DataStore->read() 2 calls <strong>COMPONENTS</strong> Plugin: woocommerce 2 calls <strong>POTENTIAL TROUBLEMAKERS</strong> Automattic\WooCommerce\Admin\Notes\DataStore->read() 1 call WC_Notes_Run_Db_Update::update_done_notice() 1 call <strong>DUPLIOCATE QUERY 2</strong> SELECT action_id, name, label, query, status, is_primary, actioned_text, nonce_action, nonce_name FROM uA1qIx5X7_wc_admin_note_actions WHERE note_id = 10 3 Automattic\WooCommerce\Admin\Notes\DataStore->read_actions() 3 calls Plugin: woocommerce 3 calls Automattic\WooCommerce\Admin\Notes\DataStore->read() 2 calls Automattic\WooCommerce\Admin\Notes\DataStore->save_actions() 1 call <strong>DUPLICATE QUERY 3</strong> SELECT meta_id as meta_id, meta_key, meta_value FROM uA1qIx5X7_postmeta WHERE post_id = 10 ORDER BY meta_id 2 WC_Data_Store_WP->read_meta() 2 calls Plugin: woocommerce 2 calls WC_Data_Store_WP->read_meta() 1 call WC_Notes_Run_Db_Update::update_done_notice() 1 call
Can anyone shed any light on what these are, why these occur and what needs to be done to resolve please?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Duplicate queries’ is closed to new replies.