Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 09-23-2007, 06:18 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to enter the FULL PATH to the newly created directory.
Code:
eg. /home/dismount/vbattach
Reply With Quote
  #12  
Old 09-23-2007, 06:45 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
10 hrs for a 56mb ds xfer to another server, i think there is something else going on with the FTp connections on one of the servers, that should be maybe a 5 minute xfer from server to server.

I wouldn't waste your time compressing it any further, the DB isnt the issue.
Well, 56m is the file size compressed (sql.gz). I don't know too much about how Impex works, but I was under the impression that we were dealing with SSH access, not FTP access. This is an area that he works in for a living, so maybe I'm just conveying what he said to me improperly.

Suffice to say, I was asked to trim it down some, so I'd like to explore all my options. I also would like to figure out how to purge everyone's signatures, because I'm going to institute new signature rules and want everyone to start from scratch. Does anyone know how to do that?
Reply With Quote
  #13  
Old 09-23-2007, 06:49 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apparently this person doesnt know what they are doing in either case.

I would get someone else to do what you need done, impex is an easy click and go interface, xfering a 56mb db from one server to another is just a simple cmd as well in ssh.
Reply With Quote
  #14  
Old 09-23-2007, 07:36 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need ImpEx to transfer servers.

For instructions see the manual Moving Servers
Reply With Quote
  #15  
Old 09-23-2007, 07:54 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate the info and I realize that everyone is just trying to help. Thank you for that. But I may have given too much information when I mentioned the reason why we were doing it. There are other reasons, which I've mentioned, that I want to make the database smaller. I'm not the one moving the servers, nor am I the one with any practical knowledge of how to do that or even the proper access. I intend on learning, but in the meantime, my only concern and question right now is how to make the database smaller.

Snake, the person doing the transfer is the person who owns the new server, so there is no one else to get to do that. But I assure you, he knows what he's doing, since this is part and parcel of his profession. I'm the one who doesn't know what he's doing, so I'm likely not conveying the information I have accuarately. In fact, I guarantee it. That's probably why we shouldn't focus on what I mentioned about moving servers (since it's likely inaccurate), and just focus on the part about making the database smaller. That's what I primarily would like to know. (Like purging signatures, I'm really interested in finding out if that's possible) The server transfer stuff, while greatly appreciated, is part of another lesson for me, for another time.
Reply With Quote
  #16  
Old 09-23-2007, 08:29 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moving attachments etc out to the filesystem will make the database smaller.

Pruning signatures etc. will most likely hardly make a difference.
Reply With Quote
  #17  
Old 09-23-2007, 09:04 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Removing signatures is a simple sql command

[sql]Update usertextfield Set signature = " ";[/sql]

It will make little difference to the size of your database, which is frankly quite small already.

As for 56M taking 10 hours - that's a joke - it's about the speed of an ancient 11K modem.

For a server to server transfer you should be talking a couple of minutes at most.
Reply With Quote
  #18  
Old 09-24-2007, 08:53 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Paul, and Marco. Like I said, I had other reasons for purging signatures, other then making the backup smaller. Sigs have been getting a little out of hand lately, and this will help start everyone from square one with some new sig rules in place.

I probably shouldn't have mentioned the transfer thing, because I'm pretty sure I don't know what I'm talking about. All that information is stuff I "put together" from conversations I've had via email, rather then actual firsthand information. I think the backup was about 56M, but I'm not entirely certain. Our forum has been around for nearly 5 years, so there has to be some size issues going on.

Thank you again, and other then moving/deleting attachments (which I'm pretty sure are not in the database, but I'll check), am I correct in assuming that's the extent of trimming things down?
Reply With Quote
  #19  
Old 09-25-2007, 06:06 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your forum has been up for 5 years, I'd expect the database to be more than 56MB.
Reply With Quote
  #20  
Old 11-01-2007, 06:20 AM
pheroman pheroman is offline
 
Join Date: Nov 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also you can remove all pm's this will keep your database more small by insert this sql
PHP Code:
DELETE FROM pm;
DELETE FROM pmreceipt;
DELETE FROM pmtext
and after this insert this
PHP Code:
UPDATE `userSET `pmtotal` = 0, `pmunread` = 0
soory my english is poor
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 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.05632 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete