Title: Duplicate Query Performance Issues
Last modified: May 27, 2025

---

# Duplicate Query Performance Issues

 *  Resolved [coldxot](https://wordpress.org/support/users/coldxot/)
 * (@coldxot)
 * [1 year ago](https://wordpress.org/support/topic/duplicate-query-performance-issues/)
 * Hello,
 * We are experiencing performance issues with extensive duplicate quieries being
   caused by WordFence.
 * While I understand WordFence can be demanding resource-wise for the trade off
   of a lot of functionality, it seems these extra calls are frequently affecting
   our server’s performance.
 * Do you have any adivce to deal with them?
 * Calls:
 *     ```wp-block-code
       -- 3 duplicate callsSELECT name, val, autoloadFROM wp_wfconfigWHERE name = 'detectProxyRecommendation';-- 2 duplicate callsSELECT valFROM wp_wfconfigWHERE name = 'wordfence_chunked_adminNoticeQueue_header';-- 2 duplicate callsSELECT valFROM wp_wfconfigWHERE name = 'adminNoticeQueue';-- 2 duplicate callsSELECT *FROM wp_wfnotificationsWHERE new = 1AND ctime > 0ORDER BY priority ASC, ctime DESC;-- 8 duplicate callsSELECT name, val, autoloadFROM wp_wfconfigWHERE name = 'onboardingAttempt3';-- 4 duplicate callsSELECT name, val, autoloadFROM wp_wfconfigWHERE name = 'onboardingAttempt2';
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [1 year ago](https://wordpress.org/support/topic/duplicate-query-performance-issues/#post-18486354)
 * Hi [@coldxot](https://wordpress.org/support/users/coldxot/), thanks for providing
   the information above.
 * Wordfence can be demanding during scans on servers with fewer available resources,
   or an extremely large amount of files/plugins. However, these duplicates shouldn’t
   cause a noticeable performance hit. The tool identifying the queries possibly
   has a “time” column for how long those queries are taking that hasn’t been included?
   They should collectively just take a few milliseconds as duplicated queries don’t
   necessarily mean slow queries, so feel free to show us that information if you
   have it.
 * The specific columns and values being requested above should only happen on `/
   wp-admin` pages for admin users, so it’s unlikely these are the cause of larger
   server performance issues as not all visitors to your site will be causing them.
 * If the whole site is slow, and not just wp-admin pages, then it’s likely to be
   something else that would need more investigation. Naturally if anything from
   your MySQL slow query log points to Wordfence tables, or your server’s error 
   log is showing regular timeouts or fatal errors on Wordfence files we’d be happy
   to assist further in that investigation.
 * Thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘Duplicate Query Performance Issues’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/duplicate-query-performance-issues/#post-18486354)
 * Status: resolved