Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002499
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 = '6aa6232fd0bb6664da54698704c81124' LIMIT 0, 1
Time:0.002347
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 = '18593' LIMIT 0, 1
Time:0.014548
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_yuqi WHERE sid = '18593' LIMIT 0, 1
Time:0.010350
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_yuqi
const
PRIMARY
PRIMARY
3
const
1
100.00
Query5:SELECT * FROM modoer_subjectgrade
Time:0.012466
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Query6:SELECT * FROM modoer_review_opt WHERE gid = '0' AND enable = '1' ORDER BY listorder,id
Time:0.021987
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_review_opt
ALL
48
2.08
Using where; Using filesort
Exec 7:UPDATE modoer_subject SET pageviews=pageviews+'1' WHERE sid = '18593'
Time:0.011921
Query8:SELECT * FROM modoer_mysubject WHERE sid = '18593' LIMIT 0, 1
Time:0.003298
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
Query9:SELECT * FROM modoer_subjectgourd WHERE sid = '18593' ORDER BY id DESC LIMIT 0, 1
Time:0.012629
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
Query10: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 = '18593' AND sl.flag = 'article' AND a.status = '1' ORDER BY sl.dateline DESC LIMIT 0, 13
Time:0.019410
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
Query11:SELECT * FROM modoer_subject WHERE pid=306 AND aid=7461 AND sid!=18593 ORDER BY reviews DESC LIMIT 0,4
Time:0.002602
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
1
79.60
Using index condition; Using filesort
Query12:SELECT name,subname,finer,sid,thumb,avgsort,pageviews FROM modoer_subject WHERE status=1 and pid = 258 AND city_id IN (0,7456) ORDER BY addtime DESC LIMIT 0,3