vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Move attachments from database to file system (https://vborg.vbsupport.ru/showthread.php?t=156357)

skariko 08-27-2007 07:04 AM

Move attachments from database to file system
 
Hello, i'm wondering what exactly the option "move attachments from database to disk" does ? I mean, it's something that works "from now on", or it will migrate all my pre-existing attachments (300MB by far). Would be a risky thing to move all my attachments to filesystem ? I tend to believe it will improve the performance of my forum because an apache hit is "lighter" than a mysql hit ,but i'm quite doubtful to change something that works. So i'm wondering if should i do something before, if it's a risky thing, and such.

Thank you very much, have a nice day
Bye

Marco van Herwaarden 08-27-2007 07:10 AM

See: Attachment Storage Type

Dismounted 08-27-2007 07:10 AM

The option move all the attachments (which are stored in the database) to the file system as files. You should not think of it as being "risky". It is a very easy and straightforward process.

skariko 08-27-2007 10:04 AM

I've moved 3000 attach for a total amount exceeding 270MB in less than a couple of minutes including the final db optimization, it has been really easy and straightforward, thank you very much.


All times are GMT. The time now is 04:00 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.01125 seconds
  • Memory Usage 1,711KB
  • 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
  • (4)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