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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-01-2008, 07:33 PM
FockerFGAA FockerFGAA is offline
 
Join Date: Dec 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Queries clogging MySQL

Here are the queries that they said were running when our MySQL load goes to 100%. I can't really tell what is causing the issue because I don't have a clue what all that means, but it is something that isn't good im sure. Any help would be appreciated.

Quote:
Its your database that is clogging the MySQL server. Here are the current queries:

| 981040 | fvsports_Focker | localhost | fvsports_forum | Query | 102 | Copying to tmp table | SELECT item.item_id, item.item_title, item.threadid, grp.group_title, item.item_status, item.item_cr |
| 981103 | fvsports_Focker | localhost | fvsports_forum | Query | 74 | Locked | UPDATE footballthread SET
lastpost = 1228164584,
lastposter = 'riker7',
| lastpostid = 1225055,
| 981105 | fvsports_Focker | localhost | fvsports_forum | Query | 74 | Locked | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1227732584 AND open <> 10, 1, 0)) AS newthread
|
| 981106 | fvsports_Focker | localhost | fvsports_forum | Query | 73 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.read |
| 981113 | fvsports_Focker | localhost | fvsports_forum | Query | 67 | Locked | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1227732590 AND open <> 10, 1, 0)) AS newthread
|
| 981116 | fvsports_Focker | localhost | fvsports_forum | Query | 67 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.read |
| 981121 | fvsports_Focker | localhost | fvsports_forum | Query | 64 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.read |
| 981125 | fvsports_Focker | localhost | fvsports_forum | Query | 62 | Locked | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1227732596 AND open <> 10, 1, 0)) AS newthread
|
| 981127 | fvsports_Focker | localhost | fvsports_forum | Query | 59 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


NOT ISNULL(subscribethread.subscribethreadid) AS |
| 981128 | fvsports_Focker | localhost | fvsports_forum | Query | 59 | Locked | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1227732599 AND open <> 10, 1, 0)) AS newthread
|
| 981137 | fvsports_Focker | localhost | fvsports_forum | Query | 54 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.read |
| 981143 | fvsports_Focker | localhost | fvsports_forum | Query | 51 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


threadread.readtime AS threadread, forumread.read |
| 981151 | fvsports_Focker | localhost | fvsports_forum | Query | 43 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,


NOT ISNULL(subscribethread.subscribethreadid) AS |
| 981152 | fvsports_Focker | localhost | fvsports_forum | Query | 42 | Locked | SELECT IF(visible = 2, 1, 0) AS isdeleted,



thread.*


FROM footballthread AS th |
| 981158 | fvsports_Focker | localhost | fvsports_forum | Query | 37 | Locked | SELECT
reputation.whoadded, reputation.postid, reputation.reputation, reputation.reason, reputati |
| 981167 | fvsports_Focker | localhost | fvsports_forum | Query | 33 | Locked | SELECT *, thread.title AS threadtitle
FROM footballrsslog AS rsslog
INNER JOIN footballrssfeed AS |
| 981178 | fvsports_Focker | localhost | fvsports_forum | Query | 30 | Locked | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1227732628 AND open <> 10, 1, 0)) AS newthread
|
| 981185 | fvsports_Focker | localhost | fvsports_forum | Query | 25 | Locked | UPDATE footballuser
SET lastactivity = 1228164632
WHERE userid = 733 |
| 981208 | fvsports_Focker | localhost | fvsports_forum | Query | 13 | Locked | SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user. |
| 981231 | fvsports_Focker | localhost | fvsports_forum | Query | 3 | Locked | SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user. |
| 981234 | fvsports_Focker | localhost | fvsports_forum | Query | 1 | Locked | SELECT
user.username, (user.options & 512) AS invisible, user.usergroupid,
Reply With Quote
 


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:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06271 seconds
  • Memory Usage 2,866KB
  • 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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (18)post_thanks_box
  • (18)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (18)post_thanks_postbit_info
  • (18)postbit
  • (18)postbit_onlinestatus
  • (18)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete