Jump to content

Spliiting large operation.

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Hash

Hash

    Newbie

  • Members
  • Pip
  • 1 posts
Hey all, I have a script that must import a massive amount of data into my mysqldb. I've been googling around for a good way to do this, buuut, all seem to tell me to alter my server's settings. Well, unfortunately, that's not an option here. Problem is, going the existing way, I hit a 500 internal service error every time my script runs on some of the larger operations. So, what I'm really looking for, is a way of "staging out" the biggest part of the operation, but haven't seen much detail on how to do this. Any help here?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
Your my.cfg has various options regarding to cache/performance values you can tweak to ensure transfer, you can look up the official guide on recommendations of those settings.

You did not state your purposes of importing large data, how and what are you importing, can you not do it serverside using mysqldump?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.