(2009-05-22, 06:25 PM)labrocca Wrote: [ -> ]From a guy that's used the merge system pretty often and for clients let me give you some advice.
You should do this locally imho via xampp. You have more control imho and it's faster normally. It won't be bogged down my server processes from your existing site.
Set the 1000 per page higher which is easier to do locally.
Delete a great deal of your forum data to start with...instead of 3 million posts delete them down to 100,000 and so forth. If possible get a smaller site database to work from so you can test and see how things work without going through hours of each module.
I did a quick run of a small database on localhost first
The amount of time it takes to backup, gzip, then download, restore to localhost, and then try for the amount of difference in available power is just not worth it. My webserver is built to withstand a lot of abuse, my computer is not as beefy, and I really don't want to go and beef up the ram to match my webserver just to test an import.
Pruning down to 100k would mean 32 imports to be ran. Not fun, and would mean 32 database backups and restores, plus 32 lots of stress on the server instead of just 1. When you are talking a small database (say even up to 1GB db size) then that's not too bad, but when you start talking serious databases it's a lot easier to change server configuration on a temporary basis than to start messing with repeating things and causing unnecessary strain on the server. I have full control of the dedicated server anyway, so I'm not limited by server limits other than the actual physical limits of what I have in the box itself.
Oh, and even with the import running, server load is under 5.00 so nothing to worry about
(2009-05-22, 06:36 PM)Ryan Gordon Wrote: [ -> ] (2009-05-22, 05:09 PM)MHryano Wrote: [ -> ]BTW - the forum titles didn't import. While not a problem on this one (only a mere 24 forums/catagories) it is going to be a problem on the others (one has about 200 forums and the other around 325 forums) so editing them and entering the names isn't exactly ideal.
Yeah, that's been reported and fixed for Beta 5
Glad to hear it
(2009-05-22, 06:42 PM)labrocca Wrote: [ -> ]Quote:How would you propose I do that then? Technically, it would be pretty hard to do.
Technically you're the smart guy here.
hehe...
As it is you lock the button...why not just add a button that runs it again. Yes I know it's more involved than that but as I said...it's a problem now since the merge is buggy and often requires people to start over and over and over until it works. When I use it I do report any bugs I find but still it's a cumbersome task.
I'd love to get my hands on your new beta btw.
EDIT: I'll think about your question some more on a possible method to do this but what about an undo button on the last action? How feasible is that?
Looking at the import code, it should be possible to have an option where 'Re-run' does a
DELETE FROM {table} WHERE import_* != '0';
for the applicable tables for the data imported there.
I think I have a solution for the banned users issue, but I'm not 100% sure yet, so I'll look at that on localhost next week (busy weekend) with a smaller database I use for testing stuff on and see if I can put something together for dealing with it. It might be quick and nasty, but as long as it works, especially with it being a one time run script, it won't be a big issue.
As it stands, it's slow progress with just doing 1k posts per page (I'll force that to more in the code before doing the next site), but it is still ticking along really nicely and hasn't had any further issues.