vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   MySQL help: I'm not getting all of vb_postindex when moving database? (https://vborg.vbsupport.ru/showthread.php?t=164181)

Greg-J 12-03-2007 08:33 AM

MySQL help: I'm not getting all of vb_postindex when moving database?
 
When moving my vB database of 300MB I was continuously getting a 74MB database. After a little investigation I saw that of about 2 million entries in vb_postindex I was only getting about 400,000 of them. I searched around and found that it was likely my Maximal length of created query: option in PhpMyAdmin when exporting being too low so I set it to 50,000 to be safe, but I got exactly the same result. I'm fairly certain the largest single post on my forums is smaller than 50,000 characters (I think my maximum is 10,000 characters), so I am at a loss as to why this happened. I was successful after shutting down mysqld and copying the database files over to the new server, but I would really like to know why it is this happened and how to prevent this from happening in the future.

Any way to better understand the cause and any solution would be very appreciated. Thank you.

Dean C 12-03-2007 09:19 AM

Don't use phpmyadmin to create backups. Use mysqldump

Greg-J 12-03-2007 10:12 AM

Thank you for the reply, but I'm really looking for the why this happens rather than other solutions.

Awjvail 12-03-2007 11:40 AM

The connection is probably timing out. phpmyadmin isn't really reccomended for backing up large databases - mysqldump is much more reliable and you're almost guaranteed to get your entire database.


All times are GMT. The time now is 08:03 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.01030 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
  • (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