Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002389
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 = '587eaf2bc065820dc0c7734bf5e1e01f' LIMIT 0, 1
Time:0.002386
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='587eaf2bc065820dc0c7734bf5e1e01f',uid='0',ip_address='104.167.77.90',content='',last_time='1775844484',last_url='/chengdu/gov/album-sid-21276.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.003183
Query4:SELECT * FROM modoer_subject WHERE sid = '21276' LIMIT 0, 1
Time:0.002458
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_youhua WHERE sid = '21276' LIMIT 0, 1
Time:0.002321
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_youhua
const
PRIMARY,idx_sid
PRIMARY
3
const
1
100.00
Query6:SELECT COUNT(*) FROM modoer_album a WHERE sid = '21276'
Time:0.002300
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
a
ref
sid
sid
3
const
1
100.00
Using index
Query7:SELECT * FROM modoer_album a WHERE sid = '21276' ORDER BY lastupdate DESC