Probably some code on your site caches the result of an expensive operation. When the page is cached by W3TC, if on the very same page generation, cache was being regenerated, you will see the actual queries that operation requires. After that, queries are like the usual page load ones.
Don’t worry about it until you see it too often.
Related Posts:
- Return only Count from a wp_query request?
- Get the Plugin Which Triggered a MySql Query in WordPress?
- Mysql query LIKE not working
- Order by custom table and multiplication
- Query most popular terms by taxonomy over 2 week period
- Which is faster wpdb & get_row or wp_query & ge_post_meta?
- get_var is neither a string, integer, or array …?
- How to print the excuted sql right after its execution
- Pagination with custom SQL query
- how does $wpdb differ to WP_Query?
- Should I use Transients with W3 Total Cache APC Caching? [closed]
- Get posts by menu ID
- Query causing load because of SQL_CALC_FOUND_ROWS post counting?
- Slow SQL_CALC_FOUND_ROWS Query
- How can I connect to another WP database and use WP_Query?
- Stop all SQL_CALC_FOUND_ROWS wordpress queries
- How to count post meta key values for all posts in database
- How to search for posts IN OR title OR content OR author?
- WP_Query hit max joins… How else can I build a search function that uses custom fields?
- Get number of comments after modifying comment query
- How to change a custom query into a standard loop?
- How to count data records in wordpress which have same meta_value in wp_postmeta table?
- How to speed up wp_query, took more 5s to run against 100k posts
- SQL User Query by Multiple Roles using PHP
- WordPress Query is taking more then 20 second and stuck on creating index
- $wpdb->insert inserting two rows in database
- How To Get Some Data From WordPress Database Using WordPress $wpdb Query?
- Detect featured image among the attached images
- How would I format a query that depends on post parent taxonomy
- How to get posts on a specific date – WP Query
- Select from wp_post and multiple meta_value from wp_postmeta
- How to correctly pass values to wpdb->prepare()?
- $wpdb select date range of posts
- Single meta_query query using OR instead of AND in request’s WHERE statement
- What’s the purpose / logic of split_the_query in WP_Query->get_posts
- WPDB query – decrypting DB data
- Why is variable not working on custom sql query using wpdb?
- How to delete taxonomy term when a wordpress user is removed?
- How to use MySQL’s MATCH AGAINST in WP_Query?
- Slow WP_Query for custom post type
- Performance when getting post meta for post retrieved by meta value
- Add “Category” to Mysql Query
- Mysql query and order meta value
- Help with WP_Query – Too many mySQL queries
- Using hook to use DISTINCT in a wp_query
- Filtering posts from different categories into different section by doing WP_Query only once
- Order by summing multiple values
- How to implement a new row_count method in WordPress?
- Query with search and subscribers only output
- Wp query show post by author name or post title or post content
- Custom query: Get all posts that are from a certain category?
- How to access custom WordPress database tables
- How to pass orderby params to $wpdb->prepare()?
- Ajax future single post query doesn’t work when NOT logged in
- Conditional sorting with variable using WP Query
- how update data through ajax and jquery
- Debugging wp_query orderby for taxonomy
- Meta Query doesn’t works as espected
- WordPress query posts with multiple post_meta data
- get_post() is not returning correct value
- Update query for wp_posts and wp_postmeta
- WP_Query with page_ids in arguments without a result
- Query multiple meta key values for template
- Disable (or limit) queries when certain content (or data) is not needed (or showed)
- Use have_posts() with array of post results retrieved by $wpdb->get_results
- how to translate countries output from wp database?
- duplicated posts when using pagination
- Passing a SQL query to the WP Query
- Why last row deleted when refresh page
- SQL to join u3g_users & u3g_meta_value with repeating data
- Any way to use FETCH_KEY_PAIR with $wpdb?
- Doing $wpdb->get_results returns NULL, doing the same query in my DB returns correct value
- INNER JOIN custom tables – SQL Query
- How to get user avatar via WPDB
- One of two similar WP Query is very slow
- Case insensitive ORDERBY in wpquery
- Order Posts By Custom Field That is an array of objects
- Multiple wpostmeta.meta_key
- In which file to use $wpdb and its functions for database operations and queries in wordpress?
- complex query question
- Select Unique Posts for a List of Tags
- Include post_status check within $wpdb query
- wpdb get_results() returns only 2 rows
- WP_Query always returning the last custom post
- Optimising amount of calls to custom fields
- pre_get_posts or $where, which one to use?
- Get a list of the last posts grouped by author and filtered by category
- Slow getting posts from category
- Search Query that Includes Custom Table
- How to count post meta key values for all posts in database
- Pagination in WP query with transient API
- Parsing External Table Arguments
- wpdb LIKE request shows all database data
- How to add a custom field and incrementing value for all the published posts
- How much does $wpdb->prepare(), then $wpdb->query() VS straight $wpdb->query(), can slow down the load time of whole page
- how to use transient method?
- Create a WordPress Database query to find users who purchased specific product through WooCommerce [closed]
- get_post_meta bringing back results, but $wpdb->postmeta doesn’t
- Bulk delete comments, foreach loop
- Is there another way to retrieve a post_id from post_meta other than a SQL query?