• Hi Benjamin

    My Query Monitor plugin is showing duplicate queries from the calendar:
    Is there a way I can reduce this?

    Duplicate Queries
    Query Count Callers Potential Troublemakers

    SELECT terms_taxonomy.taxonomy
    FROM wp_terms AS terms
    INNER JOIN wp_term_taxonomy AS terms_taxonomy USING(term_id)
    WHERE terms.term_id = 16
    LIMIT 1 5 W3TC\DbCache_Wpdb->default_query
    5 calls
    Ai1ec_View_Event_Taxonomy->get_event_category_colors
    2 calls
    Ai1ec_View_Event_Taxonomy->get_categories_html
    2 calls
    Ai1ec_View_Calendar_Taxonomy->_get_html_for_taxonomy
    1 call
    SELECT terms_taxonomy.taxonomy
    FROM wp_terms AS terms
    INNER JOIN wp_term_taxonomy AS terms_taxonomy USING(term_id)
    WHERE terms.term_id = 57
    LIMIT 1 3 W3TC\DbCache_Wpdb->default_query
    3 calls
    Ai1ec_View_Event_Taxonomy->get_event_category_colors
    1 call
    Ai1ec_View_Event_Taxonomy->get_categories_html
    1 call
    Ai1ec_View_Calendar_Taxonomy->_get_html_for_taxonomy
    1 call
    SELECT terms_taxonomy.taxonomy
    FROM wp_terms AS terms
    INNER JOIN wp_term_taxonomy AS terms_taxonomy USING(term_id)
    WHERE terms.term_id = 40
    LIMIT 1 7 W3TC\DbCache_Wpdb->default_query
    7 calls
    Ai1ec_View_Event_Taxonomy->get_event_category_colors
    3 calls
    Ai1ec_View_Event_Taxonomy->get_categories_html
    3 calls
    Ai1ec_View_Calendar_Taxonomy->_get_html_for_taxonomy
    1 call
    SELECT terms_taxonomy.taxonomy
    FROM wp_terms AS terms
    INNER JOIN wp_term_taxonomy AS terms_taxonomy USING(term_id)
    WHERE terms.term_id = 13
    LIMIT 1 5 W3TC\DbCache_Wpdb->default_query
    5 calls
    Ai1ec_View_Event_Taxonomy->get_event_category_colors
    2 calls
    Ai1ec_View_Event_Taxonomy->get_categories_html
    2 calls
    Ai1ec_View_Calendar_Taxonomy->_get_html_for_taxonomy

Viewing 1 replies (of 1 total)
  • Hi,

    I’m not sure how “Query Monitor” plugin works, but there is no way to reduce this, this will not cause any issue.

Viewing 1 replies (of 1 total)

The topic ‘Duplicate Queries’ is closed to new replies.