{"id":11326,"date":"2008-08-03T23:50:54","date_gmt":"2008-08-03T20:50:54","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=11326"},"modified":"2008-08-03T23:50:54","modified_gmt":"2008-08-03T20:50:54","slug":"innodb-is-better-for-sugarcrm","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2008\/08\/03\/innodb-is-better-for-sugarcrm\/","title":{"rendered":"InnoDB is better for SugarCRM"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>After <a href=\"https:\/\/mamchenkov.net\/wordpress\/2008\/07\/15\/migrating-ms-dynamics-crm-to-sugarcrm\/\">SugarCRM was deployed<\/a>, we were experiencing some lock ups.\u00a0 Not frequent or dangerous, but annoying.\u00a0 About once a week or every ten days or so, SugarCRM would lock up and won&#8217;t answer any queries at all.\u00a0 Not even the login was possible.\u00a0 A brief investigation showed that somehow it was locking up the MySQL database &#8211; about 15 processes (using &#8220;show full processlist&#8221;) in Locked state, with no data being sent back or forth.\u00a0 All locked queries were rather complex, with several JOINs.\u00a0 The load on the system was somewhat high, since we have about a few dozen operators working on it at the same time.<\/p>\n<p>A similarly brief Google search suggested (see <a href=\"http:\/\/mysqldatabaseadministration.blogspot.com\/2006\/07\/myisam-to-innodb.html\">here<\/a> and <a href=\"http:\/\/www.mysqlperformanceblog.com\/2006\/05\/29\/join-performance-of-myisam-and-innodb\/\">here<\/a>) and explained <a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/converting-tables-to-innodb.html\">converting MySQL tables from InnoDB to InnoDB<\/a>.\u00a0 A test has been performed and everything went OK.\u00a0 Our SugarCRM database is about 600 MBytes and it was converted <a href=\"http:\/\/www.sugarcrm.com\/wiki\/index.php?title=MySQL_-_convert_MyISAM_to_InnoDB\">from MyISAM to InnoDB in under 20 minutes<\/a>.\u00a0 The best part is that it takes even less to <a href=\"http:\/\/www.sugarcrm.com\/wiki\/index.php?title=MySQL_-_convert_InnoDB_to_MyISAM\">convert back to MyISAM<\/a>, in case you change your mind.<\/p>\n<p>It&#8217;s been a few days now since we did the conversion and it looks OK.\u00a0 Also, the CRM itself feels a bit faster.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>After SugarCRM was deployed, we were experiencing some lock ups.\u00a0 Not frequent or dangerous, but annoying.\u00a0 About once a week or every ten days or so, SugarCRM would lock up and won&#8217;t answer any queries at all.\u00a0 Not even the login was possible.\u00a0 A brief investigation showed that somehow it was locking up the MySQL &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2008\/08\/03\/innodb-is-better-for-sugarcrm\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">InnoDB is better for SugarCRM<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,133],"tags":[1559,3066,246,1057,1538],"keyring_services":[],"class_list":["post-11326","post","type-post","status-publish","format-standard","hentry","category-general","category-sysadmin","tag-databases","tag-mysql","tag-optimization","tag-performance","tag-sugarcrm"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":8827,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/04\/14\/managing-customer-relations-with-open-source\/","url_meta":{"origin":11326,"position":0},"title":"Managing customer relations with open source","author":"Leonid Mamchenkov","date":"April 14, 2005","format":false,"excerpt":"If you are looking for CRM software, make sure you try SugarCRM. It is professionally done piece of software which is available both as a commercial option and free software. Free version has practically all the functionality of the commercial one. Commerical version features more reports and statistics, interface translated\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26031,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/04\/18\/single-sign-on-between-sugarcrm-and-request-tracker\/","url_meta":{"origin":11326,"position":1},"title":"Single Sign-On Between SugarCRM and Request Tracker","author":"Leonid Mamchenkov","date":"April 18, 2016","format":false,"excerpt":"As mentioned\u00a0before,\u00a0over the last few month I've been involved in quite a few integration projects, using mostly SugarCRM and Request Tracker. \u00a0One of the interesting challenges was the Single Sign-On (SSO) between the two. The interesting bit comes from these facts: Different technologies: SugarCRM is written in PHP, while Request\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11339,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/08\/19\/sugarcrm-deployment-efforts\/","url_meta":{"origin":11326,"position":2},"title":"SugarCRM deployment efforts","author":"Leonid Mamchenkov","date":"August 19, 2008","format":false,"excerpt":"Since we started working on SugarCRM in the office, one of the hardest tasks that we had was solving the deployment issue.\u00a0 On one hand, SugarCRM comes with some really nice GUI tools, such Studio and Module Builder.\u00a0 On the other hand, the system is large and complex and should\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24008,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/04\/27\/schemaspy-graphical-database-schema-metadata-browser\/","url_meta":{"origin":11326,"position":3},"title":"SchemaSpy &#8211; Graphical Database Schema Metadata Browser","author":"Leonid Mamchenkov","date":"April 27, 2015","format":"link","excerpt":"SchemaSpy - Graphical Database Schema Metadata Browser. \u00a0This is a tool written in Java that helps one to generate database schema documentation. \u00a0Have a look at some sample pages. \u00a0Those familiar with Graphviz will immediately realize that the tools is using dot for graphing tables and their relationships. \u00a0Those familiar\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26232,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/07\/13\/sugarcrm-cache-directory-it-is-not-a-cache-directory\/","url_meta":{"origin":11326,"position":4},"title":"SugarCRM cache directory \u2013 it is NOT a cache directory!","author":"Leonid Mamchenkov","date":"July 13, 2016","format":false,"excerpt":"Here is a useful reminder from a few years back - \"SugarCRM cache directory \u2013 it is NOT a cache directory!\". \u00a0 Unlike most modern day web applications, which use cache\/ folder for temporary files, which are safe to delete, SugarCRM keeps a bunch of stuff in there, which, if\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25961,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/03\/20\/single-sign-on-sugarcrm-roundcube-multiple-php-sessions\/","url_meta":{"origin":11326,"position":5},"title":"Single Sign-On with SugarCRM and RoundCube Using Multiple PHP Sessions","author":"Leonid Mamchenkov","date":"March 20, 2016","format":false,"excerpt":"I am currently involved in an interesting integration project at work. \u00a0As part of it, we need to create a single sign-on process between\u00a0SugarCRM (version 6.5.20) and RoundCube (version 1.1.4) webmail application. \u00a0RoundCube webmail is being displayed within the iframe inside the SugarCRM user interface, so it would help if\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/11326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=11326"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/11326\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=11326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=11326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=11326"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=11326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}