Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.009338
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 = 'f5781c316facf935ad799abbc6530263' LIMIT 0, 1
Time:0.002279
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='f5781c316facf935ad799abbc6530263',uid='0',ip_address='104.167.77.90',content='',last_time='1775682000',last_url='/hefei/gov/guestbook-sid-97880.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.003060
Query4:SELECT * FROM modoer_subject WHERE sid = '97880' LIMIT 0, 1
Time:0.002309
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 = '97880' LIMIT 0, 1
Time:0.020127
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_guestbook WHERE sid = '97880' AND status = '1'