Large Database manage and import and export

Discussion in 'MySQL' started by designbuyers, Jun 9, 2008.

  1. #1
    How it could be to manage large database or split the file into deferent pieces ?

    There is 300 MB database file .. I try to manage or use it for current website ..

    But i am confused how to do it so .. what tools i need .. ?

    Bigdump Php Script I have found but the file 300 MB is too large for the script to import it to mysql server.


    So, there is 2 options

    1. to split the file into pieces ..
    2. to try to use the command in server by type the
    and of course it can be first uploaded into server and using the bath of it by change it.

    But the problem is i got this error !!
     
    designbuyers, Jun 9, 2008 IP
  2. Kynlem

    Kynlem Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you show the first few lines of your dump, please?
     
    Kynlem, Jun 9, 2008 IP
  3. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #3
    i have imported 750mb databases using bigdump, your missing something or doing it to quickly, ie to many lines at a time.

    for splitting files, try splitfile.exe

    works great
     
    sawz, Jun 9, 2008 IP
    designbuyers likes this.
  4. designbuyers

    designbuyers Banned

    Messages:
    632
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks, sawz

    Yes .. thanks
     
    designbuyers, Jun 16, 2008 IP
  5. Travis

    Travis Peon

    Messages:
    539
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Another way to do it would be to use the MySQL Administrator GUI (written by the folks at MySQL) thing...has a backup set which allows the importation and exporting of huge databases (I use it for a database on a daily basis that's about 1GB)... Works rather quickly.
     
    Travis, Jun 16, 2008 IP