Host Says These Are Slowing Site

Posted in: Newsmag
Post count: 49

I am working on speeding up my site but my host is saying this is slowing down the site:

SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (6,7,8,2355,4974,4975,4976,4977) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Source:
/nas/wp/www/cluster-40360/websitename/wp-content/themes/themename/includes/wp_booster/td_data_source.php:284

Backtrace:
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/themename/page.php’), get_header, locate_template, load_template, require_once(‘/themes/themename/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/themename/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/themename/parts/header/header-menu.php’), wp_nav_menu, apply_filters(‘wp_nav_menu_objects’), call_user_func_array, td_menu->hook_wp_nav_menu_objects, td_block_mega_menu->render, td_block->render, td_data_source::get_wp_query, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

and

SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (6,7,8,2355,4974,4975,4976,4977) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Source:
/nas/wp/www/cluster-40360/websitename/wp-content/themes/themename/includes/wp_booster/td_data_source.php:284

Backtrace:
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/themename/page.php’), get_header, locate_template, load_template, require_once(‘/themes/themename/header.php’), td_api_header_style::_helper_show_header, load_template, require_once(‘/themes/themename/parts/header/header-style-9.php’), locate_template, load_template, require_once(‘/themes/themename/parts/header/header-menu.php’), wp_nav_menu, apply_filters(‘wp_nav_menu_objects’), call_user_func_array, td_menu->hook_wp_nav_menu_objects, td_block_mega_menu->render, td_block->render, td_data_source::get_wp_query, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

Suggestions?

Post count: 9544

Use fewer queries ?

Post count: 9544

Sorry … hit return and somehow deleted my message.

Meant to say — you can try using fewer dbase queries by having fewer blocks on homepage, try having fewer queries in sidebar, possibly not use the “suggested flyout” and also not use the megamenu. The more “go grab stuff” items you have the more it slows down dbase.

ALSO: be sure to increase your default memory with both php.ini / host panel *and* in your wp-config.php file (WP defaults to 40MB unless you actually edit your wp-config.php file to increase; it needs to be at least 64MB with 128MB recommended).

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.