vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database table question (https://vborg.vbsupport.ru/showthread.php?t=263562)

RedDevil 05-13-2011 11:42 AM

Database table question
 
Hi all hope you can shed some light here for me.

I am currently trying to backup and save a database, VB4 all is fine apart from 2 tables which are massive

Posts 186,884 records 85.9 mb
Postindex 2,381,479 records 57.3 mb

While i know how to shrink the content of post tables by removing old dumped posts, my problem is how do \i get the size of postindex reduced doesnt seem to change even when removing old posts and threads.

Currently trying to import dbase to a new server and size is causing timeouts, i did import a copy but i think the tables have been broken by the constant stop and start of the import.

any advice appreciated.

Lynne 05-13-2011 05:35 PM

postindex is used for searching. You can remove that and then rebuild your search indexes after you import/install the forum. But, the size of that table is smaller than your post table. I'm surprised you are having problems with it as it isn't that large. What method are you using to save it and import it?

From the manual:
Backing Up The Database via SSH/Telnet or
Backing Up The Database via phpMyAdmin

Restoring The Database via SSH/Telnet or
Restoring The Database via phpMyAdmin

If you don't have shell access, some people have also reported success with these scripts:
MySQLDumper
MySQLHotxcopy
Bigdump

RedDevil 05-13-2011 05:49 PM

Thanks lynne i am using phpmyadmin, I think the server settings are a little on the lean side, im hoping they will be adjusted to increase timeout issue.

I tried importing full database it times out about 8 times and resumes, i think this is why site is not working.

Ive managed to reduce it now, however im getting conflicting data from phpmyadmin and the VB4 admin panel dbase. vb is reporting 26mb while phpmyadmin is still reporting 57mb. post tabe is also having same issue of timeout, i will see what happens if i manage to get server limits increased.


All times are GMT. The time now is 05:57 AM.

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.00971 seconds
  • Memory Usage 1,713KB
  • 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
  • (3)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