• Performance optimilization for relationships

    Hi, we are currently in the process of finding a solution for some performance issues we face when working with SugarCRM. On my local development environment I try to add tags to 100 accounts. I do this by first creating a specific amount of tags in the…
  • Bulk Upsert REST API for data loads and integrations

    The goal of this sample code is to be able to create and update big amounts of data quickly, by leveraging only REST API for integration and initial data load purposes for on-site implementations. The code implements a POST based bulk upsert API for Sugar…
  • Queries getting stuck on 'creating sort index', slowing Sugar down.

    Hey! A client of ours is experiencing some weird slowness issue in Sugar 7.9 running on MySQL 5.7. The problem is caused by some of the sql queries taking an extremely long time which effectively causes many of them to get stacked. This in turn eats up…
  • Sugar 7: global search is not finding any results, even if Elasticsearch is ready and workable.

    Hello everyone ! What i want : Simply a fonctionnal Global search. What i have : Sugar Pro 7.5.1 My users need to search through Global Search, and we came to a strange situation : Even if i search the name of a contact (wich is high boost), in the global…
  • Select Query takes longer time the bigger the leads table is

    Hello Developers, I wrote a simple function that open a leads csv file and insert them into sugarcrm. there are 100,000 Leads in the file. and i loop through each row (using fget()) and create the lead bean and save() it works perfect! but as soon as…
  • Performance Tuning - Apache & PHP Tweaks Make Much Difference?

    I'm running Community 6.5 on a VPS with 1.8 cores Xeon and 7.5GB RAM and virtually nothing else intensive going on with the server. I think my my.cnf MySQL config is decent if the innodb buffer set to 2GB for one thing. I've seen some info out there about…
  • How do I disable use of Bulk API in Subpanels for Sugar 7.6 and later?

    I received a question recently that I had to do some research to come up with answer. I'm sharing it here to wider community can benefit. My customer would prefer to have subpanel results come back sequentially instead of all at once. How do I disable…
  • How do I best delete bulk records in 7.2 Professional?

    We've been doing some testing of importing of Accounts, Contacts, and Leads into our SugarCRM install. We need to do a hard delete on all records we imported plus any related data (I do not know what this covers) It would be nice to have a near clean…