Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002376
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 = '78653ad696641590127c68b5cee20b86' LIMIT 0, 1
Time:0.002334
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='78653ad696641590127c68b5cee20b86',uid='0',ip_address='104.167.77.90',content='',last_time='1775844124',last_url='/beijing/gov/album-sid-95788.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.003084
Query4:SELECT * FROM modoer_subject WHERE sid = '95788' LIMIT 0, 1
Time:0.002436
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 = '95788' LIMIT 0, 1
Time:0.002277
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 = '95788'
Time:0.002316
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 = '95788' ORDER BY lastupdate DESC