Support » Plugin: Custom Field Suite » Too many select queries on Relation fields

  • Resolved Salar Gholizadeh


    Thanks for this awesome plugin,
    There is an issue when I make a field type of relation: On the edit page, it does a seprate SELECT * FROM wp_posts WHERE id=xxx LIMIT 1 query for each of the posts that are selectable from the list.
    for example if there are 4K posts on your DB, it will make 4K queries causing delay on page and heavy load on server. Also, I don’t think selecting all fields (*) is necessary.
    you can also trace this by using query monitor plugin.

    as we are using CFS on a commercial website, I would be more than appreciative if you provide me an estimated time for fixing this.

  • The topic ‘Too many select queries on Relation fields’ is closed to new replies.