Title: Database Intensive?
Last modified: August 22, 2016

---

# Database Intensive?

 *  Resolved [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/database-intensive/)
 * Is Related as database intensive as Yet Another Related Posts Plugin (YARPP)?
 * [https://wordpress.org/plugins/related/](https://wordpress.org/plugins/related/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/database-intensive/#post-5180950)
 * I don’t know the other plugin.
 * I don’t consider the Related plugin as having many database connections. Standard
   WordPress caching can take some of the effort away.
    You can easily test it with
   the following code in your footer.php: `<p><?php echo get_num_queries(); ?> db
   queries in <?php timer_stop(1); ?> seconds.</p>`
 * That will list the database queries. In my testing, having a post with and a 
   post without related posts in the content filter makes no difference in database
   queries. I think the standard WordPress caching does all the hard work here. 
   In your setup, it might differ, so you should test yourself.
 * The plugin uses the get_post function. I once tried to refactor it using WP_Query
   directly, but it even resulted in more db queries. So it seems pretty good as
   it is.
    If you have suggestions code-wise to improve db-handling, I’m willing
   to listen :).

Viewing 1 replies (of 1 total)

The topic ‘Database Intensive?’ is closed to new replies.

 * ![](https://ps.w.org/related/assets/icon-256x256.png?rev=2313348)
 * [Manual Related Posts](https://wordpress.org/plugins/related/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related/)
 * [Active Topics](https://wordpress.org/support/plugin/related/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/database-intensive/#post-5180950)
 * Status: resolved