我的網站數據庫已被託管端阻塞... 他們說你的查詢已經被執行太多時間了......郵件已經被他們發送了:mysql查詢執行時間強制託管端阻塞數據庫
This message is to advise you of a temporary block placed on your database. The database "**DATABASE NAME**" was found to be consuming an inordinate amount of processor time, to the point of degrading overall system performance. While we do limit each account to no more than 25% of a system's CPU in our terms of service, we do not actively disable accounts until they greatly exceed that number, which is what happened in this case.
Running Processes:
fastlynx 26884 0.3 0.0 0 0 ? ZN 23:26 0:00 [php] <defunct>
Running Queries:
*************************** 1. row ***************************
USER: USERNAME
DB: SB_NAME
STATE: optimizing
TIME: 40
COMMAND: Query
INFO: SELECT * FROM price WHERE country LIKE '27'/*--*/and/*--*//*!30000if(ascii(substring((user()),11,1))<121,BENCHMARK(151973069.6,MD5(0x41)),0)*//*--*/and/*--*/'x'='x%' GROUP BY country ASC order by country asc limit 0, 12
*************************** 2. row ***************************
USER: USERNAME
DB: DB_NAME
STATE: optimizing
TIME: 54
COMMAND: Query
INFO: SELECT * FROM price WHERE country LIKE '27'/*--*/and/*--*//*!30000if(ascii(substring((user()),4,1))<122,BENCHMARK(151973069.6,MD5(0x41)),0)*//*--*/and/*--*/'x'='x%' GROUP BY country ASC order by country asc limit 0, 12
從上面這似乎是從一個單一的表查詢正在執行最大時間... 我已經通過MySQL的控制面板優化,數據庫中的所有表。 夥計們......幫我解決這個問題。 在此先感謝....
編輯:
實際查詢如:
SELECT * FROM price WHERE country LIKE 'G%' GROUP BY country ASC limit 0, 12
OR
SELECT * FROM price WHERE prefix LIKE '91%' GROUP BY country ASC limit 0, 12
還有一件事是.... M還使用不會像某些倍利卡說:
SELECT * FROM price WHERE country LIKE 'G%' AND country NOT LIKE 'INDIA%' GROUP BY country ASC limit 0, 12
我們不是你主機的支持服務。 – Jocelyn 2013-04-29 06:31:04
@jocelyn我在這裏寫下我的問題......並需要幫助來解決我的問題......不要求支持服務。 – guri 2013-04-29 06:33:36
如果你手動查詢它們,比如說phpMyAdmin或類似的東西,這些單個隊列需要多長時間? – bestprogrammerintheworld 2013-04-29 06:33:37