Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002449
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 = '838d06d51193a3a5bebe4cc81702da45' LIMIT 0, 1
Time:0.002370
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='838d06d51193a3a5bebe4cc81702da45',uid='0',ip_address='104.167.77.90',content='',last_time='1775844429',last_url='/baoding/gov/album-id-49792.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.003173
Exec 4:UPDATE modoer_album SET pageview=pageview+'1' WHERE albumid = '49792'
Time:0.008585
Query5:SELECT * FROM modoer_album WHERE albumid = '49792'
Time:0.002460
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_album
const
PRIMARY
PRIMARY
3
const
1
100.00
Query6:SELECT * FROM modoer_subject WHERE sid = '49791' LIMIT 0, 1
Time:0.002453
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
Query7:SELECT * FROM modoer_subject_youhua WHERE sid = '49791' LIMIT 0, 1
Time:0.004514
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
Query8:SELECT * FROM modoer_pictures WHERE albumid = '49792' AND status = '1' ORDER BY picid DESC LIMIT 0, 1
Time:0.031665
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_pictures
index
PRIMARY
3
1
5.00
Using where; Backward index scan
Query9:SELECT COUNT(*) FROM modoer_pictures WHERE albumid = '49792' AND status = '1' AND picid>='54231'
Time:0.015895
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_pictures
range
PRIMARY
PRIMARY
3
43558
1.00
Using where
Query10:SELECT COUNT(*) FROM modoer_pictures p WHERE albumid = '49792' AND status = '1'
Time:0.018842
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
p
ALL
87116
1.00
Using where
Query11:SELECT * FROM modoer_pictures p WHERE albumid = '49792' AND status = '1' ORDER BY picid DESC LIMIT 0, 4