Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002487
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 = '3bbcd85d3b409ebede298a5cce9600e3' LIMIT 0, 1
Time:0.004066
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_review_opt WHERE gid = '0' AND enable = '1' ORDER BY listorder,id
Time:0.003448
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
Query4:SELECT COUNT(*) FROM modoer_subject s JOIN modoer_subject_youhua sf ON (s.sid = sf.sid) WHERE city_id = '12299' AND pid = '258' AND status = '1'
Query5:SELECT s.sid,pid,catid,name,subname,avgsort,sort1,sort2,sort3,sort4,sort5,sort6,sort7,sort8,best,pageviews,reviews,pictures,thumb FROM modoer_subject s JOIN modoer_subject_youhua sf ON (s.sid = sf.sid) WHERE city_id = '12299' AND pid = '258' AND status = '1' ORDER BY avgsort DESC LIMIT 0, 100
Query6:SELECT sid,pid,catid,name,subname,reviews,avgsort,pageviews,thumb FROM modoer_subject WHERE pid='258' AND pageviews>0 ORDER BY pageviews DESC LIMIT 0,5
Time:0.152403
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject
ref
list_aid,pid,aid,list_city
list_aid
2
const
41712
33.33
Using where; Using filesort
Query7:SELECT catid,pid,name,total FROM modoer_category WHERE pid=258 AND total>0 ORDER BY total DESC LIMIT 0,10