vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vBulletin database (https://vborg.vbsupport.ru/showthread.php?t=250297)

imported_soft 09-11-2010 06:58 AM

vBulletin database
 
Hi guys

I am trying to learn about vBulletin database, I read someware there is some table that we can empty.

Anyone can list the tables that I can empty in vBulletin database?

Thanks

ragtek 09-12-2010 10:55 AM

Why you should empty anything?

imported_soft 09-12-2010 11:48 AM

Hi ragtek ,

Thanks you for your reply.

I don't want to empty anything? I just want to empty the tables that have data no need it. like temp. to reduce the database size.

Regards

Lynne 09-12-2010 02:48 PM

If there is data in the table, then most likely it is needed. There are some temp_* tables that get made at times, but they get deleted by the software.

If you want to reduce the size of the database, make sure your attachments/avatars are stored in the filesystem instead of the database. After you move them, do a repair/optimize on those tables and the size will go down.

imported_soft 09-12-2010 02:58 PM

Hi Lynne.

This is a useful information I learn from you. As I told I read that I can empty these tables:

adminlog
searchindex
search
session
word

It will not harm the forum data. I don't know if these right or NOT.

Also you told that I have to make sure " attachments/avatars are stored in the filesystem instead of the database"

How can I make sure of this?

Thanks

ctweb 09-12-2010 04:21 PM

Quote:

Originally Posted by imported_soft (Post 2097144)
Also you told that I have to make sure " attachments/avatars are stored in the filesystem instead of the database"

How can I make sure of this?

Thanks

In the left hand column, under Attchment, click on "Attachment Storage Type"

If it says
Quote:

Attachments are currently being stored in the database

Move Items from Database into File System
Click on "go" to move your attachments into the filesystem. You will need to ensure you hava directory for attachments that is writable by the system..

Good Luck!

imported_soft 09-12-2010 06:40 PM

Hi ctweb,

Thank you very much. This help me..

Also if you know anything can help I will be appreciate you for your advice.

Regards

Lynne 09-12-2010 08:59 PM

adminlog stores all the actions done in the adminpanel. You may empty that in admincp > stats & logs > control panel log > prune You may do the same with the Moderator Log and Scheduled Task Log.

searchindex and search are no longer needed in vB4

session is used to keep track of who is on your site at any particular time - it's your Currently Active Users and your Online Users. It's also a MEMORY table - it takes up no drive space, only memory. If you reboot the computer or mysql, it's zapped.

word table is gone in vb4 also.

imported_soft 09-12-2010 10:11 PM

Thanks you very much Lynne for these information

Thanks again


All times are GMT. The time now is 04:08 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.01030 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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