Query5:SELECT s.sid,pid,catid,domain,name,avgsort,sort1,sort2,sort3,sort4,sort5,sort6,sort7,sort8,best,finer,pageviews,reviews,pictures,favorites,thumb,aid,map_lat,map_lng,subname,description,c_shangchang FROM modoer_subject s LEFT JOIN modoer_subject_hangye sf ON (s.sid = sf.sid) WHERE status = '1' AND pid = '119' AND city_id = '2943' ORDER BY finer DESC LIMIT 0, 20
Query6:SELECT r.rid, r.id, r.content, r.uid, r.username
FROM modoer_review r
WHERE r.id IN (6569,6495,6497,6507,6520,6521,6522,6523,6568,6492,6573,6575,6580,6599,6600,6636,27163,6017,6477,6400)
AND r.status = 1
AND (
SELECT COUNT(*)
FROM modoer_review r2
WHERE r2.id = r.id
AND r2.status = 1
AND r2.posttime >= r.posttime
) <= 4
ORDER BY r.id, r.posttime DESC
Time:0.004034
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
PRIMARY
r
ALL
sid
1
100.00
Using where; Using filesort
Query7:SELECT * FROM modoer_category WHERE pid = '39'
Time:0.219533
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query8:SELECT * FROM modoer_category WHERE pid = '59'
Time:0.035369
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
12
100.00
Query9:SELECT * FROM modoer_category WHERE pid = '312'
Time:0.010474
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query10:SELECT * FROM modoer_category WHERE pid = '313'
Time:0.007322
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query11:SELECT * FROM modoer_category WHERE pid = '314'
Time:0.005411
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query12:SELECT * FROM modoer_category WHERE pid = '315'
Time:0.004374
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query13:SELECT * FROM modoer_category WHERE pid = '316'
Time:0.003012
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query14:SELECT * FROM modoer_category WHERE pid = '317'
Time:0.021018
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query15:SELECT * FROM modoer_category WHERE pid = '319'
Time:0.010720
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query16:SELECT * FROM modoer_category WHERE pid = '682'
Time:0.003036
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query17:SELECT * FROM modoer_category WHERE pid = '727'
Time:0.002522
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query18:SELECT * FROM modoer_category WHERE pid = '728'
Time:0.003296
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query19:SELECT * FROM modoer_category WHERE pid = '729'
Time:0.003039
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query20:SELECT * FROM modoer_category WHERE pid = '749'
Time:0.011373
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query21:SELECT * FROM modoer_category WHERE pid = '54'
Time:0.002392
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query22:SELECT * FROM modoer_category WHERE pid = '193'
Time:0.012166
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query23:SELECT * FROM modoer_category WHERE pid = '653'
Time:0.003397
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query24:SELECT * FROM modoer_category WHERE pid = '63'
Time:0.009499
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_category
ref
pid
pid
3
const
1
100.00
Query25:SELECT name,subname,sid,thumb FROM modoer_subject WHERE status=1 and catid IN (63) AND city_id IN (0,2943) ORDER BY finer DESC LIMIT 0,4