FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Data dump hangs
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Data dump hangs [message #34151 is a reply to message #34111] Mon, 09 October 2006 00:20 Go to previous messageGo to previous message
mdbrown is currently offline  mdbrown   United States
Messages: 18
Registered: December 2005
Karma:
Junior Member
To heck with using the browser interface to import. The command line is the way to go. I copied admimport.php to cliimport.php and modified it with the --

define('recovery_mode', 1);
$_POST['path'] = '/path/to/dumpfile';

-- method, and fired if off in background mode. Now we're getting somewhere! So far, it has processed 350,000 queries in about an hour and a quarter, so it's not quite half-way finished yet, but it's processing to beat the band. I'm guessing it will take about three hours or so to import the entire 800,000 record dump.

At some point, if no one else has done so, I'll modify both clidump.php and cliimport.php to output non-HTML text to the terminal.

For large, time-consuming operations, running scripts via the command line can't be beat.

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Attachment problem
Next Topic: how view one image in a post
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:54:59 GMT 2024

Total time taken to generate the page: 0.04703 seconds