با سلام و تشکر از شما
به استحضار مي رساند که اکانت شما توسط اجرا کردن کوئری های سنگین مای اس کیو ال به شدت باعث مشغول شدن cpu سرور شده است. نمونه ای از کوئری های اجرا شده در سرور توسط برنامه شما:
بعد از این متن پایین هم نوشته :
همانطور که ملاحظه میکنید زمان اجرا شدن کوئری های برنامه شما بسیار بالا میباشد و این امرمیتواند به شدت بر روی کارایی سرور تاثیر گذار باشد. این مشکل میتواند مربوط به پلاگین های نصب شده بر روی برنامه شما، حجم بالای دیتابیس و یا علت الگوریتم غیر بهینه قسمتی از برنامه شما باشد. بنابراین به شما پیشنهاد میکنیم که هرچه سریعتر این مشکل را با شرکت سازنده برنامه و یا برنامه نویس خود مطرح کنید و در جهت رفع آن اقدامات لازم را انجام دهید. لطفا توجه کنيد که بر اساس قوانين شرکت نت فراز اکانت شما مجاز به استفاده و مشغول کردن بيش از 10 درصد منابع سروربراي مدت طولاني نمي باشد. توجه داشته باشيد که اکانت شما از نوع اشتراکي است و اين مساله به شدت بر روي کارايي ساير اکانت ها تاثير مي گذارد. در صورت عدم توجه شما به این مورد و بروز مجدد این مشکل شرکت نت افراز باالاجبار برنامه مذکور را غير فعال خواهد کرد.
| # Time: 150315 16:17:49
# User@Host: tpasokhg_db[tpasokhg_db] @ localhost []
# Query_time: 6.134447 Lock_time: 0.000782 Rows_sent: 8 Rows_examined: 81793
use tpasokhg_db;
SET timestamp=1426423669;
SELECT a.fulltext, a.id, a.title, a.alias, a.introtext, a.state, a.images, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.ordering, c.alias AS category_alias, LENGTH(a.fulltext) AS readmore,a.fulltext, a.id, a.title, a.alias, a.introtext, a.state, a.images, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.ordering, c.alias AS category_alias, LENGTH(a.fulltext) AS readmore,c.title AS category_title, c.path AS category_route, c.accessAS category_access, c.alias AS category_alias,CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,(
SELECT MAX(contact.id) AS id
FROM blgmp_contact_details AS contact
WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published, CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM blgmp_content AS a
LEFT JOIN blgmp_content_frontpage AS fp ON fp.content_id = a.id
LEFT JOIN blgmp_categories AS c ON c.id = a.catid
LEFT JOIN blgmp_users AS ua ON ua.id = a.created_by
LEFT JOIN blgmp_users AS uam ON uam.id = a.modified_by
LEFT JOIN blgmp_categories as parent ON parent.id = c.parent_id
LEFT JOIN blgmp_content_rating AS v ON a.id =v.content_id
LEFT OUTER JOIN (SELECT cat.id as id FROM blgmp_categories AS cat JOIN blgmp_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = 'com_content' AND parent.published != 1 GROUP BY cat.id ) AS badcats ON badcats.id = c.id
WHERE a.access IN (1,1) AND c.access IN (1,1) AND CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1 AND a.catid IN(97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,348,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,345,183,184,185,186,187,188,190,191,192,346,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,224,227,226,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,368,246,247,248,249,250,251,252,253,254,255,256,257,258,347,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,291,292,293,294,295,328,329,330,331,332,333,334,335,336,337,296,297,298,299,300,301,302,303,324,325,326,339) AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-03-15 12:47:36') AND (a.publish_down ='0000-00-00 00:00:00' OR a.publish_down >= '2015-03-15 12:47:36')
ORDER BY a.hits DESC LIMIT 0, 8;
# Time: 150315 16:17:50
# User@Host: tpasokhg_db[tpasokhg_db] @ localhost []
# Query_time: 4.005645 Lock_time: 0.000365 Rows_sent: 8 Rows_examined: 132027
SET timestamp=1426423670;
SELECT a.fulltext, a.id, a.title, a.alias, a.introtext, a.state, a.images, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.ordering, c.alias AS category_alias, LENGTH(a.fulltext) AS readmore,a.fulltext, a.id, a.title, a.alias, a.introtext, a.state, a.images, a.catid, a.created, a.created_by, a.created_by_alias, a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.featured, a.ordering, c.alias AS category_alias, LENGTH(a.fulltext) ASreadmore,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,(
SELECT MAX(contact.id) AS id
FROM blgmp_contact_details AS contact
WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published, CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM blgmp_content AS a
LEFT JOIN blgmp_content_frontpage AS fp ON fp.content_id = a.id
LEFT JOIN blgmp_categories AS c ON c.id = a.catid
LEFT JOIN blgmp_users AS ua ON ua.id = a.created_by
LEFT JOIN blgmp_users AS uam ON uam.id = a.modified_by
LEFT JOIN blgmp_categories as parent ONparent.id = c.parent_id
LEFT JOIN blgmp_content_rating AS v ON a.id = v.content_id
LEFT OUTER JOIN (SELECT cat.id as id FROM blgmp_categories AS cat JOIN blgmp_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = 'com_content' AND parent.published != 1 GROUP BY cat.id ) AS badcats ON badcats.id = c.id
WHERE a.access IN (1,1) AND c.access IN (1,1) AND CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1 AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-03-15 12:47:41') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-03-15 12:47:41')
ORDER BY a.created DESC LIMIT 0, 8; |
|