Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002146
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 = 'eb4b82146aade5584d2967be64c08cbd' LIMIT 0, 1
Time:0.002981
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='eb4b82146aade5584d2967be64c08cbd',uid='0',ip_address='104.167.77.90',content='',last_time='1775845884',last_url='/daqing/gov/album-sid-82667.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.006026
Query4:SELECT * FROM modoer_subject WHERE sid = '82667' LIMIT 0, 1
Time:0.002532
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 = '82667' LIMIT 0, 1
Time:0.005555
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 = '82667'
Time:0.002029
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 = '82667' ORDER BY lastupdate DESC
Time:0.002018
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 filesort
Query8:SELECT * FROM modoer_subjectgrade
Time:0.001974
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Query9:SELECT COUNT(*) FROM modoer_session WHERE last_time>='1775844984'