Results 1 to 7 of 7

Thread: importing over 1 million records

  1. #1
    heebeha6 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    1

    Question importing over 1 million records

    I have over 400,000 contacts I need to impiort. I have tried importing it serverl times and dont get an error message but no records gert imported. I set tmy max upload to 99999999 butr still no good.

    Any help here would be greatly appeciated.

  2. #2
    Skeeve is offline Senior Member
    Join Date
    Jul 2008
    Posts
    47

    Default Re: importing over 1 million records

    Why not feed them directly to the database?

    As far as I know you can't import more than 6000 records at a time.

  3. #3
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: importing over 1 million records

    The only way you are going to get that much data into MySQL is to import it directly. The limit in 5.1 is more than 6,000 but no where near 1,000,000. There are a few tools made for importing data (navicat and jitterbit off the top of my head) but with the relationship data that needs to be created too you might want to get help with a job this big.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: importing over 1 million records

    Ken is right. There is no way importing this big number through Sugar directly. This is not necessarily Sugar's fault but you're violating all kinds of php limitations.
    Doing it via the backdoor (directly into MySQL) isn't too complicated if you're careful - it's just the emails that may cause you some headache because you need to create the aforementioned relations. DO NOT try it on a production system!!

    rgds
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: importing over 1 million records

    Quote Originally Posted by roblaus
    Doing it via the backdoor (directly into MySQL) isn't too complicated if you're careful - it's just the emails that may cause you some headache because you need to create the aforementioned relations. DO NOT try it on a production system!!

    rgds
    All the modules have relationships that need to be created, contacts (the module he mentioned) needs to have a relationship with Accounts created in the accounts_contacts table most of the time. Just about any module you choose is going to have it's own special nuances to importing.

    Although emails would be the hardest one I can think of.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  6. #6
    mrmmm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    71

    Default Re: importing over 1 million records

    I've run into similar problems in the past and another solution (besides going directly through the DB) is to separate your file into smaller chunks. I have figured out (by trial and error) the largest amount of records that I can safely import and just break up the file into those chunks. Obviously a rather time consuming task with a 1M records (if the max is at around 6K), but I am sure it is possible to hack up a small script that will divide your files.

  7. #7
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: importing over 1 million records

    Another tool to look at is Talend.

    I'm not recommending this over any other product or process - it's just one I came across recently.

    When I set up our system, I used navicat (a mysl gui front-end) but only because both jitterbit and talend were not available at that point. the latter two are data processing tools for heterogeneous systems so they are designed exactly for what you are doing.

    However, you sill still need to understand the sugarcrm database relationships and structure. The two systems have sugarcrm modules but they might not be complete enough to do everything.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Missing records after importing data
    By asbaeza in forum Help
    Replies: 3
    Last Post: 2008-05-30, 02:43 AM
  2. Replies: 1
    Last Post: 2008-05-28, 08:29 PM
  3. Help importing data to update existing records
    By southwestcrm in forum Help
    Replies: 4
    Last Post: 2007-09-13, 01:51 AM
  4. Help: Importing Records from 4.0 to 4.5
    By RChapek in forum Help
    Replies: 0
    Last Post: 2006-11-30, 02:29 PM
  5. Records Skipped from importing
    By snue in forum Feature Requests
    Replies: 0
    Last Post: 2006-05-04, 12:36 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
  •