السلام عليكم ورحمة الله وبركاته ،،
منتداي راح فيها وما اعرف كيف ارجعه ، وقوم الهلب دسك عقدوني وما فهمت عليهم تراهم انجليز وما اعرف شو يبون مني.
السالفة ياجماعة الخير .. كنت بفتح المنتدى ظهرت لي هذه الرسالة (Database error) كانت تظهر مرات في المنتدى وتختفي، بس هالمرة طولت اكثر من ساعتين ، قلت اشوف الهلب دسك مال المستضيف وخبرته السالفة ، قال تريا شوية الناس شغالين عليها ، تميت اشوف المنتدى من فترة لآخرى ما في فايدة ، بعده الخطأ موجود ، رحت اشوف phpmyadmin لقيت ان قاعدة بيانات المنتدى فاضية ( فارغة) ما فيها ولا جدول !!!
طلبت من الهلب دسك مرة ثانة انه يعيدون آخر باك اب للقاعدة ويحطونها ..
ردوا علي عقب فترة ، بس ما فهمت شي من ردهم . بحطه لكم اهني وشوفوا شو سالفتهم .
----------------------------------------
Ticket Status was changed from On-Hold to Waiting
Amount of complex queries to your database can't be handled by shared sql server.
Total quantity of slow sql queries per day: 685
Total execution time of slow queries: 2.38 hours
Quantity of examined/sent rows per day: 5269181 / 1712461
Most common slow queries:
1. Time: 76% (6558 sec)
Amount: 76% (524 queries)
Rows Examined/Sent: 2289880 / 1711538
Avg. Query Exec/Lock Time: 12 / 0 sec.
Query example: use almahra_vb; SELECT msgpopup.*, msgpopupuser.id AS idpopuser, msgpopupuser.userid, msgpopupuser.msgid, msgpopupuser.done FROM msgpopup AS msgpopup LEFT JOIN msgpopupuser AS msgpopupuser ON(msgpopup.id = msgpopupuser.msgid) WHERE msgpopup.active = 1 AND msgpopupuser.done = 0;
2. Time: 6% (581 sec)
Amount: 7% (54 queries)
Avg. Query Exec/Lock Time: 10 / 1 sec.
Query example: use almahra_vb; SELECT * FROM datastore WHERE title IN ('','options','bitfields' ,'attachmentcache','forum cache', 'usergroupcache','styleca che','languagecache','pro ducts', 'pluginlist','cron','prof ilefield','userstats','bi rthdaycache', 'maxloggedin','iconcache' ,'eventcache','mailqueue' );
3. Time: 4% (347 sec)
Amount: 3% (21 queries)
Avg. Query Exec/Lock Time: 16 / 0 sec.
Query example: SELECT * FROM thread ORDER BY replycount DESC;
Database almahra_vb was chmoded to 000
Please consider if you would like to optimize your database and go on hosting with us or move to the dedicated server.
------------------------------------------------------
والرد الثاني ..
------------------------------------------------------
You need to optimize you queries. We cannot fix this problem as this problem from your side (your scripts).
read as example
http://www.databasejournal.com/featu...le.php/1382791
or you can find a lot of other articles about query optimisation in Internet.
-----------------------------------------------------
وما فهمت شي ..
شو يبون ما دري
والمنتدى موقف للحين يومين !
بارك الله فيكم
مواقع النشر (المفضلة)