Results 1 to 3 of 3

Thread: Transaction Recording / Recovery

  1. #1
    plehry is offline Sugar Community Member
    Join Date
    Feb 2009
    Posts
    20

    Default Transaction Recording / Recovery

    I was asked a question today by our developers in regards to how Sugar handles transaction recording and recovery.

    The main issue is that if during a record update, the connection is lost due to a power outage or a lost connection with the web server, how does Sugar and/or MySQL handle recovery? If two people are making a change to a record and one of them loses the connection, how does the software recover?

    Thanks in advance.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Transaction Recording / Recovery

    I am not aware of anything within the Sugar code that utilizes transactions. Sugar is rather simplistic in this regard and just hands off the INSERT/UPDATE/DELETE query to PHP which in turn talks to MySQL to execute it.

    Anything transaction related would have to be performed at the SQL server level.

    This might help further answer your questions: http://dev.mysql.com/doc/refman/5.0/...nsactions.html
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Transaction Recording / Recovery

    Me too had similar doubts. What happens if more than one user is trying to update a single record at the same time?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Recovery from database dump
    By jfig in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-02-14, 07:49 PM
  2. SUGARCRM Recovery
    By kbala in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-02-14, 07:42 PM
  3. SugarCRM Disaster Recovery strategies
    By jsbenson in forum General Discussion
    Replies: 5
    Last Post: 2007-10-15, 11:43 PM
  4. SugarCRM Disaster Recovery
    By nexweb in forum Help
    Replies: 1
    Last Post: 2006-01-17, 02:17 PM
  5. Disaster recovery???
    By ayushgarg in forum Feature Requests
    Replies: 1
    Last Post: 2005-11-23, 02:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •