Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002346
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 = 'a908df7e5df1a87e5588e9390519f219' LIMIT 0, 1
Time:0.002298
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
no matching row in const table
Exec 3:INSERT modoer_session SET uniq='a908df7e5df1a87e5588e9390519f219',uid='0',ip_address='17.246.19.111',content='',last_time='1775846073',last_url='/beijing/gov/6668.html',is_mobile='0',user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)'
Time:0.003179
Query4:SELECT * FROM modoer_subject WHERE sid = '6668' LIMIT 0, 1
Time:0.002282
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
Query5:SELECT * FROM modoer_subject_hangye WHERE sid = '6668' LIMIT 0, 1
Time:0.002237
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
Query6:SELECT * FROM modoer_subjectgrade
Time:0.002226
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Exec 7:UPDATE modoer_subject SET pageviews=pageviews+'1' WHERE sid = '6668'
Time:0.002850
Query8:SELECT * FROM modoer_mysubject WHERE sid = '6668' LIMIT 0, 1
Time:0.002276
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 = '6668' ORDER BY id DESC LIMIT 0, 1
Time:0.002278
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 * FROM modoer_subject s LEFT JOIN modoer_subject_baike sf ON (s.sid = sf.sid) WHERE s.sid IN ('5879','5979','5983','5984','6179','6180') AND s.status = '1' LIMIT 0, 10
Time:0.011030
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
range
PRIMARY,addtime,finer,idx_status_sid,idx_status
PRIMARY
3
6
50.00
Using where
Query11:SELECT * FROM modoer_subject WHERE pid=119 AND aid=3510 AND sid!=6668 ORDER BY reviews DESC LIMIT 0,3