إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 01-29-2010, 11:00 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

Dear vb Team,
Please help me in this issue:
how high we set the max_user_connections (currently set to 200) in MySQL, gradually MySQL overloads with queries such as this:

---
SELECT post.dateline, post.pagetext AS message, post.allowsmilie, post.postid,
thread.threadid, thread.title, thread.prefixid, post.attach,
forum.forumid,
user.*
,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM post AS post
JOIN thread AS thread ON (thread.threadid = post.threadid)
JOIN forum AS forum ON(forum.forumid = thread.forumid)
LEFT JOIN user AS user ON (post.userid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE 1=1
AND thread.forumid IN(25,26,107,28,111,135,115,114,122,123,133,125,13 0,126,226,127,128,129,112,154,131,29,132,162,106,1 10,147,27,117,146,145,3,4,5,59,38,39,40,41,42,43,4 4,182,45,46,47,66,6,63,227,149,150,151,152,202,203 ,204,205,206,120,207,208,209,229,230,231,232,233,1 6,17,103,102,215,211,218,18,214,19,21,23,160,161,1 83,74,24,139,141,140,224,225,22,1,90,65,7,8,64,220 ,163,2,134,144,119,53,60,61,159,185,124,186,187,62 ,136,137,138,166,9,109,158,157,164,118,55,12,148,1 1,10,210,81,82,116,83,84,189,190,191,192,193,194,1 95,196,197,198,199,200,201,212,30,31,32,51,52,167, 168,169,170,171,172,173,174,176,177,179,181,180,75 ,48,100,50,49,105,15,88,93,94,101,95,96,97,98,216, 222,228,99,153,219,155,221,217,85,223)

AND thread.visible = 1
AND post.visible = 1
AND thread.open 10
AND post.dateline > 1264352298


ORDER BY post.dateline DESC
LIMIT 0,8
---

what on the site executes that query and if they have any advise with regard to preventing it from overloading MySQL.

Best regards,
Fady
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 05:40 PM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML