vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Need Help ASAP (https://vborg.vbsupport.ru/showthread.php?t=280746)

bremereric 03-27-2012 07:31 PM

Need Help ASAP
 
Hostmonster sent me an e-mail stating that one of my database tables was over 3 gigs and they were going to suspend my site if I didn't do something to correct it. In their terms of aggreement is does state their fact. So I googled vbulletin filedata.db and found a post about using the admincp attachment and move them to a file outside your database. I did that and they got copied over into the new directory I made. It left the old ones in the database. I deleted some of the old files and then posted a new post with four attachments. It incremented the filedata.db by 4 also? I thought it would now store them in the new directory I made. I guess I missed a step.:eek:

Lynne 03-27-2012 08:57 PM

The database still needs a row to point to the file. It's just that the actual file itself is not stored in the database, but information about the attachments - size, dimensions, who owns it, etc - is still stored in the database.

bremereric 03-27-2012 09:08 PM

Why would mine still stay at the same amount of memory. And this is how I understand what you said. When I moved the attachments only the pictures went? And now when I upload pictures it goes to my new directory and only the info for the picture goes to the filedata table?

setishock 03-27-2012 09:36 PM

Have you run > update counters? Specially the one about rebuild attachments?
Might be that simple.

bremereric 03-27-2012 11:06 PM

Quote:

Originally Posted by setishock (Post 2314021)
Have you run > update counters? Specially the one about rebuild attachments?
Might be that simple.

Did that and it didn't help but thanks for the suggestion.

bremereric 03-27-2012 11:13 PM

1 Attachment(s)
I inherited this board some I did not set it up. I still need an experts help. I moved the attachments to a new file directory or so I thought. There are jpgs in that directory that I can open. The filedata table stayed at 3.0 gb. I ran the rebuild attachments and it stayed at 3.0 gb. I checked the table and optimized the table it stayed at 3.0 gb. I am attaching some screen shots of the table maybe someone may see something I am not.

kh99 03-27-2012 11:35 PM

Did you use the choices under Attachments > Attachment Storage Type? I first tried (on a test site) changing the setting in the options. That seemed to change the setting to say they were in the file system but it didn't change the database. Then I found the Attachment Storage Type menu, moved them back to the database, then moved them to the file system. When that finished there was a screen telling me to compare two numbers to make sure all attachments were moved successfully, and if they were you next had to click on the link to delete them from the database and recover the space from the table.

setishock 03-28-2012 12:45 AM

kh99 that info needs to be put somewhere where it can be found easily by others having that problem.

Boofo 03-28-2012 01:10 AM

Where is the setting in the options?

bremereric 03-28-2012 01:27 AM

1 Attachment(s)
Quote:

Originally Posted by kh99 (Post 2314040)
Did you use the choices under Attachments > Attachment Storage Type? I first tried (on a test site) changing the setting in the options. That seemed to change the setting to say they were in the file system but it didn't change the database. Then I found the Attachment Storage Type menu, moved them back to the database, then moved them to the file system. When that finished there was a screen telling me to compare two numbers to make sure all attachments were moved successfully, and if they were you next had to click on the link to delete them from the database and recover the space from the table.

I don't know what happened the first time but I renamed the previous attachment directory folder I created and created a new one. I let it work it's majic and let it run it's course. Second time was a charm. After it removed them from the database I optimized the table just a directed and I am at 119 mb database now. :D

bremereric 03-28-2012 01:30 AM

Quote:

Originally Posted by Boofo (Post 2314069)
Where is the setting in the options?

Admincp > Attachments > Attachment Storage Type
Not in the options.

Boofo 03-28-2012 05:12 AM

Quote:

Originally Posted by kh99 (Post 2314040)
Did you use the choices under Attachments > Attachment Storage Type? I first tried (on a test site) changing the setting in the options. That seemed to change the setting to say they were in the file system but it didn't change the database. Then I found the Attachment Storage Type menu, moved them back to the database, then moved them to the file system. When that finished there was a screen telling me to compare two numbers to make sure all attachments were moved successfully, and if they were you next had to click on the link to delete them from the database and recover the space from the table.

I know about the "Admincp > Attachments > Attachment Storage Type" setting. I was referring to what kevin stated in the quote above (the bold part).

EDIT: There is no option in the vBulletin settings for this. The only way to do it is by the "Admincp > Attachments > Attachment Storage Type" setting. I don't know what kevin is referring to but I found nothing.


All times are GMT. The time now is 07:14 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.01924 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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