Results 1 to 7 of 7

Thread: Old email address record remains in SQL DB

  1. #1
    fmergey is offline Member
    Join Date
    Oct 2008
    Location
    Lyon, France
    Posts
    8

    Question Old email address record remains in SQL DB

    Hello,

    I would like to know if when an email address is updated under the contact module, why the old address/record still remain in the email_addresses and email_addr_bean_rel table. Should old data be removed?

    Thanks in advance for your help
    Fred

    Configuration
    Sugar CE 5.1.0a fast stack
    MySQL 5.0.37
    Apache 2.0.59
    OS: Windows XP SP3

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Old email address record remains in SQL DB

    Hi Fred

    SugarCRM store that information into database due backup purpose.
    You may see the deleted field is set to 1 for the old emails, this tells SugarCRM this record is deleted.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    fmergey is offline Member
    Join Date
    Oct 2008
    Location
    Lyon, France
    Posts
    8

    Default Re: Old email address record remains in SQL DB

    Thanks André for your explaination.
    I am just wondering!!
    What is the purpose of this? Why not just flush the data when it becomes obsolete?
    Is there a function under administration right that would help do this? Or manually?

    Fred
    Last edited by fmergey; 2008-12-30 at 11:56 AM.

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Old email address record remains in SQL DB

    Hi Fred

    There is a scheduled task inactive by default into Admin -> Schedulers page (Prune Database on 1st of Month).
    You may active that one and configure the cron.
    It will erase at the 1st of Month all records marked as deleted.
    Do it at your risk!

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    fmergey is offline Member
    Join Date
    Oct 2008
    Location
    Lyon, France
    Posts
    8

    Default Re: Old email address record remains in SQL DB

    André

    What do you mean "at your own risk"?
    Is this function not functionning properly?
    So you mean there is chance I lose data

    Regards

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Old email address record remains in SQL DB

    Quote Originally Posted by fmergey View Post
    André

    What do you mean "at your own risk"?
    Is this function not functionning properly?
    So you mean there is chance I lose data

    Regards
    No, this feature works properly.
    But if you accidentally mark as deleted some records and this script is invoked these records will be lost forever unless you have a backup.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    fmergey is offline Member
    Join Date
    Oct 2008
    Location
    Lyon, France
    Posts
    8

    Default Re: Old email address record remains in SQL DB

    You scared me for a seconde
    Then I can do some cleanup!!

    Thanks again for your precious help
    Fred

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-07-03, 03:06 AM
  2. Cannot install - wizard remains on welcome screen
    By franco1530 in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-04-09, 11:41 AM
  3. Replies: 2
    Last Post: 2007-01-27, 12:22 AM
  4. EMail remains in Group Inbox
    By BiBob in forum Help
    Replies: 4
    Last Post: 2006-02-06, 08:44 PM
  5. Replies: 0
    Last Post: 2005-05-02, 01:51 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
  •