vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   How to solve table locking ?? (https://vborg.vbsupport.ru/showthread.php?t=150749)

Ava-Kyrillos 06-26-2007 10:48 PM

How to solve table locking ??
 
Hello

when I asked the support about this load in mysql
they answer me

==================================================
One your modules is locking up the tables. Please check :

| 55273 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 39 | Sending data | SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1182773738 AND open 10, 1, 0)) AS newthread
|
| 55272 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 0 | Locked | SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, use |
| 55277 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 6 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 55280 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 0 | Locked | SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.las |
| 55284 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 13 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 55286 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 9 | Locked | SELECT showcybstats FROM user AS user WHERE userid = 14997 |
| 55285 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 10 | Locked | SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS |
| 55290 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 22 | Locked | SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, use |
| 55293 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 4 | Locked | SELECT showcybstats FROM user AS user WHERE userid = 1461 |
| 55302 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 22 | Sending data | SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache |
| 55300 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 20 | Locked | SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF |
| 55304 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 12 | Locked | SELECT
announcement.announcementid, startdate, title, announcement.views,
user.username, user. |
| 55307 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 10 | Locked | UPDATE user
SET lastactivity = 1182776124
WHERE userid = 11979 |
| 55306 | almase7_avaforum | localhost | almase7_jesuhelpmeforgiveme | Query | 3 | Locked | REPLACE INTO datastore
(title, data, unserialize)
VALUES
('cron', '1182776400', 0) |

Do you need us to disable tables locks to prevent the issue ?

==================================================

I asked in vB forum and they told me to ask you here...
So what I can do now???

Thanks a lot
George

orban 07-04-2007 10:16 PM

SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1182773738 AND open 10, 1, 0)) AS newthread

Where is this query coming from? Are you sure it's from vB itself and not from an addon?


All times are GMT. The time now is 07:16 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.00976 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
  • (2)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