Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2010, 05:25 PM
Diablotic Diablotic is offline
 
Join Date: Feb 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Data sent from/to databases

I went live with my website on Friday/Saturday night. And now after migrating from phpbb to vbulletin my hosting company is saying that 24h data amount sent from/to databases is exceeded.

As you can see on the graph below there is a hugh peak in data sent from/to databases when I went live.

My hosting company provided my a file from the last 20 minutes with all the data being sent from and to my databases. I believe this might sensitive data so I'd rather not post it public - the file is 4MB and is only from past 20 minutes!

Can you please tell me where is the problem might be? It is very important for me as my hosting company want to put me offline if I cannot fix that problem. Please
Attached Images
File Type: jpg transfer.jpg (24.0 KB, 0 views)
Reply With Quote
  #2  
Old 04-13-2010, 07:02 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you been backing up/restoring databases or done a migration that would count for this increase?
Reply With Quote
  #3  
Old 04-13-2010, 03:25 PM
Diablotic Diablotic is offline
 
Join Date: Feb 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I have migrated as you can see on the chart on friday/saturday night. But yesterday I was not doing anything special - board was running as normal and still amount sent from/to databases was ~40GB.
Reply With Quote
  #4  
Old 04-14-2010, 05:39 AM
kmike kmike is offline
 
Join Date: Oct 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The large traffic between the db backend and web frontend is not unusual for vBulletin - apart from the page data, it retrieves a datastore on each request, and some datastore entries are unnecessarily large and/or not needed on each page. So if the forum activity is high enough, 40GB/day is nothing unusual. One of our forums is generating an average 60GB/day backend traffic (and that's with datastore caching enabled and vB Optimise installed), another fairly active forum is close to 350GB/day on the peak days.

What's your board activity? How many forums do you have?
Could you run this query, adjusting YOUR_FORUM_DB accordingly:

SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_schema='YOUR_FORUM_DB' and TABLE_NAME='datastore'\G

You can reduce the backend traffic by enabling one of the local datastore caching methods in vBulletin: XCache, APC, eAccelerator. You can also use memcached, but it has to be running on the same server for the traffic to stay local. You can further reduce the backend traffic by installing the vB Optimise product.
Reply With Quote
Reply


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 12:41 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.03627 seconds
  • Memory Usage 2,199KB
  • Queries Executed 12 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete