Best Practices for Managing Custom Fields and Performance in Large EspoCRM Instances

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrianNove
    Junior Member
    • Apr 2026
    • 1

    #1

    Best Practices for Managing Custom Fields and Performance in Large EspoCRM Instances

    Hi all,

    I have been working with EspoCRM on a growing database and I noticed that as we add more custom fields and relationships. the system can become a bit slower over time.

    I wanted to ask how others are managing this in a clean and efficient way. For example do you regularly review and remove unused fields or is there a better method to keep things optimized? Also are there any recommended practices when designing entities at the beginning to avoid performance issues later?

    It would be helpful to hear how people handle structure, indexing or any small steps that make a big difference in long-term usage.

    Thanks in advance.
  • victor
    Active Community Member
    • Aug 2022
    • 1174

    #2
    - Try not to create unnecessary fields, relationships and entities.
    - Periodically do Hard Rebuild: https://docs.espocrm.com/administrat.../#hard-rebuild.
    - Delete unnecessary tables via phpMyAdmin or its analogues.
    - Check Administration > Settings > General > Clean up deleted records.
    Last edited by victor; Today, 07:12 AM.

    Comment


    • yuri
      yuri commented
      Editing a comment
      Unchecking deleted records cleanup is not needed.

    • victor
      victor commented
      Editing a comment
      Last point changed
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9794

    #3
    With growing database adding custom indexes becomes a necessity. https://docs.espocrm.com/administrat...tabase-indexes.

    Anything else is the same as with any other database. Databases tend to slow down as they grow. To compensate it, allocating more hardware resources, tweaking and indexing are needed.

    Comment

    Working...