Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.010335
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 = '81ecfdfe22783a950af3a92d21857309' LIMIT 0, 1
Time:0.006564
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='81ecfdfe22783a950af3a92d21857309',uid='0',ip_address='17.241.75.232',content='',last_time='1775686866',last_url='/taiwan/gov/map.html',is_mobile='0',user_agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)'
Time:0.003643
Query4:SELECT COUNT(*) FROM modoer_subject s WHERE city_id = '3641' AND status = '1' AND map_lng != '0'
Time:0.092477
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
ref
addtime,finer,tops,idx_status_sid,idx_status
tops
2
const
72
45.00
Using index condition; Using where
Query5:SELECT * FROM modoer_subject s WHERE city_id = '3641' AND status = '1' AND map_lng != '0' ORDER BY addtime DESC LIMIT 0, 10
Time:0.008563
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
ref
addtime,finer,tops,idx_status_sid,idx_status
tops
2
const
72
45.00
Using index condition; Using where; Using filesort