Performance Issues with 20,000+ Relationships

System Information
  • Strapi Version: v4.4.3
  • Operating System: Linux
  • Database: PostgreSQL
  • Node Version: 16.18.1

We have entries with relationships with over 20,000 other entries causing the Strapi Admin site to load very slowly when displaying a list or editing the specific records with thousands of relationships. When an entry has X number of relationships to another content-type, can the Admin Panel please lazy-load (and asynchronously) the relationships?

What have people done to get around performance issues for Strapi Admin?

Updates

  • I’ve tried removing the relationship from the Admin view but the API call in the background still contains all of the relationships (60 MB request)

Relations performance was improved in the v4.5 release.

Oh my, what an improvement :clap:

Thank you!

I am glad it makes a difference for you and your project. I will pass your thanks along to the developers.

1 Like