DotDragnet
May 21, 2012, 05:22:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Uploading Large SQL imports  (Read 953 times)
sarahA
DDN Contribs
Hero Member
*****
Posts: 2174



View Profile WWW Awards
« on: November 03, 2007, 03:40:47 PM »

Is there any type of software that can take a large sql export and break it down into smaller filesizes? I've got 2 files, one is 3mb and one is 10mb. At present I can't even get the 3mb file to upload to my localhost phpMyAdmin let alone the server it's due to go on. Right now I'm going to have to sit and copy X rows until I've done all 120,000+ of them. I'd rather not have to sit and do this every month when the table is updated!

Have I been completely out the loop and is there an easier way? Or any ideas?

tyvm smile
Logged

JasonD
Global Moderator
Hero Member
*****
Posts: 546



View Profile Awards
« Reply #1 on: November 03, 2007, 04:51:32 PM »

You can change your upload limits in a .htaccess, and since PMA is hopelessly inefficient with big files you'll need to increase memory limit and execution time.

Code:
php_value upload_max_filesize 30M
php_value post_max_size 30M
php_value memory_limit 128M
php_value max_execution_time 3600
Logged
sarahA
DDN Contribs
Hero Member
*****
Posts: 2174



View Profile WWW Awards
« Reply #2 on: November 03, 2007, 05:41:01 PM »

thanks Jason, I'll give that a go and see how it goes smile
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!