Unfortunately the answer is “it depends”!
The database time isn’t too high, but there is always some overhead that surrounds database queries. Duplicate queries can be an indication that there’s a problem with the object cache on your site, or that a plugin has been built without any caching implemented.
Check the “Component” column for the queries. If a particular plugin is responsible for most of them then report it to the author of the plugin so they can investigate. If the queries come from WordPress Core then this could be an indication that the object cache isn’t functioning correctly on your site.
Good luck!
Thread Starter
Malae
(@malae)
Thanks for your reply. I am trying to find causes of a very slow back end on a site. I found I had a problem in QM with the db.php symlink. After fixing that, I was able to find the component, which turns out to be the Theme. There are 27 duplicate calls as below, but have no idea what could be done to stop this. Any suggestions would be much appreciated.
WP_Post::get_instance()
wp-includes/class-wp-post.php:243
get_post()
wp-includes/post.php:1036
get_post_status()
wp-includes/post.php:1154
get_privacy_policy_url()
wp-includes/link-template.php:4693
Walker_Nav_Menu->start_el()
wp-includes/class-walker-nav-menu.php:225
Walker->display_element()
wp-includes/class-wp-walker.php:147
Walker->walk()
wp-includes/class-wp-walker.php:247
walk_nav_menu_tree()
wp-includes/nav-menu-template.php:616
wp_nav_menu()
wp-includes/nav-menu-template.php:236
creativ_kindergarten_site_branding()
wp-content/themes/creativ-kindergarten/inc/hook/custom.php:47
do_action('creativ_kindergarten_action_header')
wp-includes/plugin.php:517
load_template('wp-content/themes/creativ-kindergarten/header.php')
wp-includes/template.php:790
locate_template()
wp-includes/template.php:725
get_header()
wp-includes/general-template.php:48