Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002339
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_dbcache
range
PRIMARY
PRIMARY
600
4
100.00
Using where
Query2:SELECT * FROM modoer_session WHERE uniq = 'cbe5c008f1c44f3ade2f4762fb87170e' LIMIT 0, 1
Time:0.002229
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_session
const
uniq
uniq
96
const
1
100.00
Query3:SELECT * FROM modoer_subject WHERE sid = '7135' LIMIT 0, 1
Time:0.002240
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject
const
PRIMARY
PRIMARY
3
const
1
100.00
Query4:SELECT * FROM modoer_subject_hangye WHERE sid = '7135' LIMIT 0, 1
Time:0.002180
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_hangye
const
PRIMARY,idx_sid
PRIMARY
3
const
1
100.00
Query5:SELECT * FROM modoer_subjectgrade
Time:0.002181
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Exec 6:UPDATE modoer_subject SET pageviews=pageviews+'1' WHERE sid = '7135'
Time:0.003154
Query7:SELECT * FROM modoer_mysubject WHERE sid = '7135' LIMIT 0, 1
Time:0.002217
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_mysubject
ref
sid
sid
3
const
1
100.00
Query8:SELECT * FROM modoer_subjectgourd WHERE sid = '7135' ORDER BY id DESC LIMIT 0, 1
Time:0.002316
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgourd
ref
sid
sid
3
const
1
100.00
Using filesort
Query9:SELECT articleid,catid,subject,thumb,uid,author,introduce,comments,digg,a.dateline FROM modoer_subjectlink sl JOIN modoer_articles a ON (sl.flagid = a.articleid) WHERE sl.sid = '7135' AND sl.flag = 'article' AND a.status = '1' ORDER BY sl.dateline DESC LIMIT 0, 10
Time:0.002418
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
sl
ref
flagid,sid
sid
96
const,const
1
100.00
Backward index scan
Query10:SELECT * FROM modoer_subject WHERE pid=119 AND aid=3547 AND sid!=7135 ORDER BY reviews DESC LIMIT 0,3
Time:0.002631
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject
ref
PRIMARY,list_aid,pid,aid,list_city
list_aid
4
const,const
24
52.70
Using index condition; Using filesort
Query11:SELECT name,subname,finer,sid,thumb,avgsort,pageviews FROM modoer_subject WHERE status=1 and pid = 1 AND city_id IN (0,3525) ORDER BY addtime DESC LIMIT 0,3