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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2017, 05:26 PM
EagleMark's Avatar
EagleMark EagleMark is offline
 
Join Date: Oct 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Reducing DB Size?

Howdy,

My hosting service limits database size to 1Gb. DB is now at 1.9Gb. Largest table in DB is vb_filedata at 1.7 Gb. Obviously this is too large. I inherited this site so figuring this out is a crash course in mysql and vbulletin for me. I don't know enough to know what I don't know. So I'm looking for assistance.

Using limited skills I've looked at the contents of vb_filedata table. It appears to be a list of all attachments on the forum. Is this correct? Whoda thought it would get so large? Can I reduce the size of this table without losing the associations with forum posts?

I am unable to access any control panels at this time. Hosting service is preventing any DB access which seems to prevent any of the site from loading properly. Any suggestions on how to use any the tools normally accessed in the control panels?

Thanks
Reply With Quote
  #2  
Old 01-31-2017, 05:41 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your attachments, avatars, profile pictures are all served in the database right now then you should definitely move them to your filesystem to decrease the size of your database. Just make sure to run the database optimize/repair script in the AdminCP under the maintenance menu group afterwards.

https://www.vbulletin.com/docs/html/...rage_db_to_fs1
https://www.vbulletin.com/forum/foru...to-file-system

In my opinion, if the host has a database size limit of (only!) 1GB, you should look into moving to a different hosting company.
Reply With Quote
  #3  
Old 01-31-2017, 06:09 PM
EagleMark's Avatar
EagleMark EagleMark is offline
 
Join Date: Oct 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply,

The attachments, avatars, and profile pictures may well be served in the database right now. I don't know how to access the control panel to check the settings or make changes. Without access to the DB, vbulletin has no way to confirm credentials and allow login to admincp, correct? I could manually edit a PHP file to change the storage location if needed, yes? But how to move the attachments?

I'll take the recommendation to change hosting seriously. In the meantime I'm wondering if I should be pleading my case to the hosting service to allow access to the database so I can make the required changes.

I hate being the FNG.
Reply With Quote
  #4  
Old 01-31-2017, 06:22 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately access to the AdminCP is required in order to do this. Just ask the host to temporarily allow you to use the site so you can take a look and fix it.

If they absolutely do not want to give you access to your own site until your database size is reduced, backup all your databases/files and move whenever you can. It's a bit of a tedious process but will but worth it.
Reply With Quote
  #5  
Old 01-31-2017, 07:37 PM
EagleMark's Avatar
EagleMark EagleMark is offline
 
Join Date: Oct 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Dave.
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 06:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10140 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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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