Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2005, 06:18 AM
algolee algolee is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help me !! Upgrade problem !!

Help !! I have a big problem!!

My VBB 2.2.9 attachment database is up to 6.x GB ( more than 150,000 pics about plants)
When I try to upgrade VBB from 2.2.9 to 3.x

Step 13) Update Attachments #1 Updating Attachments...
The processs run one day long and still running now .....

Last time I run it make my MAXTOR 80 GB HD crashed.... so I buy new SATA 80GB HD and try again.

Can someone help me and tell me how to do is the best way ??

My Hardware is :
CPU : AMD 64 3200+
OS :Fedora core 3 64 bit
RAM : 1 GB RAM
A-HA 29160 U2W + IBM 18GB HD (10000 rpm) for OS
MAXTOR 80 GB SATA HD for MySQL Database
Motherboard : Gigabyte K8NS-Ultra 939 :dead:
Reply With Quote
  #2  
Old 02-08-2005, 07:01 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let it run, it could take a few days to get done with all the attachments.
Reply With Quote
  #3  
Old 02-08-2005, 07:20 AM
algolee algolee is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Brad.loo
My another question is :
Put all pics into attachment database or save them as files is the best way for performance ??
For backup strategy , it seems put all attachments into database is the best way ?
Reply With Quote
  #4  
Old 02-08-2005, 11:27 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While databases can store images and it is common. A little research will show you how inefficient it really is. If you have that much weight in images, the file system would be a good idea.
Reply With Quote
  #5  
Old 02-08-2005, 11:48 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The file system is the best way to store attachments imo, the database means a hit in preformance.

Backing up the attachments when stored in the file system is as easy as backing up any directory on your web-server.

The upgrade path from vB 2 to vB 3 requires attachments in the database, because this is how they where always stored in vB 2. There is a hack to store vB2 attachments in the file system, but even with that when the time came to upgrade to vB3 you would have to move them back to the database.

You have a large attachment table, one of the largest I have seen. I heard reports of people having to keep the browser window open for 2 - 3 days for 3 gig's of attachments. So my advice is to leave the browser window open and hope it dose not eat the new harddrive

Maybe you should contact offical support about this one, they deal with many large boards daily with these kinds of issues. I rarley work directly with large forums
Reply With Quote
  #6  
Old 02-09-2005, 11:04 AM
algolee algolee is offline
 
Join Date: May 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for answer me . I had already modified some source code that offical support give it to me .
It's just spend two hours for Step 13 . ^^ y
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03647 seconds
  • Memory Usage 2,199KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete