vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help me !! Upgrade problem !! (https://vborg.vbsupport.ru/showthread.php?t=75951)

algolee 02-08-2005 06:18 AM

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:

Brad 02-08-2005 07:01 AM

Let it run, it could take a few days to get done with all the attachments.

algolee 02-08-2005 07:20 AM

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 ?

noppid 02-08-2005 11:27 AM

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.

Brad 02-08-2005 11:48 AM

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 :)

algolee 02-09-2005 11:04 AM

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


All times are GMT. The time now is 08:12 PM.

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.02551 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete