Previous Thread
Next Thread
Print Thread
Hop To
#165222 10/07/2006 10:31 PM
Joined: Apr 2004
Posts: 52
C
journeyman
journeyman
C Offline
Joined: Apr 2004
Posts: 52
We're currently running 6.5.2 and about to move to 6.5.5. I'm going to be investigating 7 at the same time. Can anyone estimate for me how much downtime will be required to move to 7.0? We currently have about 4.5 million posts, almost 64,000 users, etc.

I don't think the users will mind reasonable downtime as long as they know roughly how long it will be.

Chuck

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's a good question. The threads importer goes pretty fast, but 4.5 million posts is huge so it's hard to even fathom. I'm reluctant to even give a ballpark figure as with that amount of posts I might be way off wink On a fairly fast server it will do about 15,000 topics per hour, that's including all of the replies. So it somewhat depends on how many topics you have, not just posts.

The way it's currently written is it does 20 topics per refresh. If it's your own server you might be able to modify the script to do a bit more per refresh that could speed it up a bit.

Joined: Apr 2004
Posts: 52
C
journeyman
journeyman
C Offline
Joined: Apr 2004
Posts: 52
Thanks Rick. I was afraid of that. Any pointers as to what would need to be modified?

Also, would it be possible to:

1. Close the 6.5.5 forums long enough to dump the database.
2. Open the 6.5.5 forums noting the time of the last post.
3. Import the forums to a new 7.0 installation.
4. Close the 6.5.5 forums and dump the transactions since the original dump.
5. Import those (small number) of topics.
6. Open up the 7.0 forums?

Chuck

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Line 739 and line 748 of threads_import.php would need to be changed. Say you wanted to do 50 topics at a time. You'd need to change line 739 to 50 instead of 20, and then line 748 you'd change to 51 instead of 21.

As for only importing the new topics created after the database dump. Unforunately not. All of the importers are just capable of doing a full import.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Re timings - we have about a million posts with almost 100,000 topics - it took 11 hours to do the import. I had duplicated the database so the original database stayed up - but it did mean that the server was fairly busy at the time.

Ian #165471 10/09/2006 3:30 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
So far the average seems to be between 10,000 to 20,000 topics an hour depending on a variety of things. One things for sure now that we've finally redesigned the database we won't have to do this again. From here on out we'll be able to do just normal database updates.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
LOL - I will have to do it again, when I go live smile I have to blend the other pages with my test forums - then copy them over to the existing forum location.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,124 guests, and 219 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)