Support » Plugin: Debug Objects » Different values in num_query and query?

  • Resolved steeleware


    First of all, thanks for the great plugin! I’m occasionally experiencing very slow load times on my web-host and I’m using your plugin to troubleshoot.

    Can you tell me what the num_queries value is and how it differs from queries? I see this message but I don’t understand it: “Different values in num_query and query?”

    Here’s my example – you can see the length of time it took for the page to render is 31.4 seconds.

    Total query time: 411.7ms for 20 queries (0.411673784255981s)
    Total num_query time: 31.583 for 22 num_queries.
    ยป Different values in num_query and query? – please set the constant define( ‘SAVEQUERIES’, TRUE );in your wp-config.php
    Page generated in 31,446.3ms; (31.4462878704071044921875s); 98.69% PHP; 1.31% MySQL

    When the page loads fast, I don’t see the num_query value:

    Total query time: 15.7ms for 22 queries (0.015749216079712s)
    Page generated in 504.5ms; (0.5045380592346191406250s); 96.88% PHP; 3.12% MySQL

  • The topic ‘Different values in num_query and query?’ is closed to new replies.