No. |
time |
query |
1 |
0.001777 |
connect
|
2 |
0.000607 |
DESCRIBE `summary_count_school`
|
3 |
0.000907 |
SELECT `s_c_s`.* FROM `summary_count_school` AS `s_c_s` WHERE (s_c_s.is_latest = 1) AND (s_c_s.category_id IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) AND (s_c_s.prefecture_id = 0) AND (s_c_s.city_id = 0) AND (s_c_s.station_id = 0) AND (s_c_s.station_unit_id = 0) AND (s_c_s.major_city_id = 0) AND (s_c_s.count > 0)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_s |
range |
multi |
multi |
28 |
|
17 |
Using index condition; Using where |
|
4 |
0.000647 |
DESCRIBE `school`
|
5 |
0.000527 |
DESCRIBE `category_school`
|
6 |
0.001347 |
SELECT `c_s`.* FROM `category_school` AS `c_s` WHERE (c_s.category_id = 8)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_s |
ref |
ix_category_id_category_school |
ix_category_id_category_school |
4 |
const |
322 |
|
|
7 |
0.002087 |
SELECT COUNT(1) AS `zend_paginator_row_count` FROM `school` AS `s` WHERE (s.registration_status = 1) AND (s.is_opening = 1) AND (s.id IN ('3013181', '3013189', '3013194', '3013195', '3013196', '3013197', '3013226', '3013234', '3013247', '3013253', '3013256', '3013264', '3013265', '3013266', '3013272', '3013289', '3013301', '3013302', '3013435', '3013438', '3013467', '3013504', '3013952', '3013959', '3013960', '3013995', '3014008', '3014015', '3014019', '3014020', '3014022', '3014026', '3014031', '3014044', '3014048', '3014052', '3014054', '3014075', '3014077', '3014087', '3014088', '3014091', '3014093', '3014099', '3014112', '3014135', '3014143', '3014144', '3014167', '3014113', '3014176', '3014188', '3014204', '3014211', '3014212', '3014230', '3014231', '3014232', '3014233', '3014251', '3014252', '3014270', '3014281', '3014287', '3014299', '3014313', '3014315', '3014316', '3014322', '3014327', '3014328', '3014329', '3014344', '3014356', '3014377', '3014382', '3014393', '3014401', '3014402', '3014422', '3014094', '3014429', '3014431', '3014436', '3014446', '3014450', '3014453', '3014454', '3014456', '3014459', '3014460', '3014462', '3014467', '3014472', '3014492', '3014498', '3014531', '3014510', '3014534', '3014549', '3014554', '3014122', '3014571', '3014581', '3014596', '3014591', '3014598', '3014599', '3014618', '3014627', '3014628', '3014639', '3014647', '3014655', '3014656', '3014690', '3014699', '3014705', '3014722', '3014725', '3014726', '3014733', '3014739', '3014659', '3014743', '3014759', '3014763', '3014771', '3014784', '3014785', '3014804', '3014816', '3014823', '3014826', '3014828', '3014830', '3014836', '3014844', '3014849', '3014854', '3014856', '3014861', '3014862', '3014869', '3014871', '3014882', '3014883', '3014886', '3014909', '3014910', '3014922', '3014928', '3014929', '3014930', '3014933', '3014939', '3014944', '3014952', '3014954', '3014971', '3014972', '3014977', '3014992', '3014994', '3015004', '3015019', '3015032', '3015035', '3015053', '3015067', '3015063', '3015082', '3015093', '3015122', '3013312', '3015124', '3015129', '3015156', '3015157', '3015158', '3015165', '3015178', '3015198', '3015205', '3015277', '3015283', '3015295', '3015296', '3015303', '3015310', '3015313', '3015314', '3015328', '3014415', '3015338', '3014926', '3015361', '3015362', '3015363', '3015364', '3013268', '3015368', '3014802', '3015379', '3015382', '3015383', '3015384', '3015396', '3015439', '3015442', '3015446', '3015447', '3015468', '3015480', '3015485', '3015493', '3015497', '3015508', '3015510', '3015516', '3015524', '3015525', '3015531', '3015532', '3015541', '3015555', '3015587', '3015593', '3015402', '3015607', '3015626', '3015629', '3015635', '3015660', '3015669', '3015670', '3015671', '3015672', '3015687', '3015688', '3015701', '3015703', '3015716', '3015719', '3015741', '3015746', '3015747', '3015758', '3015759', '3015761', '3015767', '3015783', '3015784', '3015803', '3015807', '3015813', '3015839', '3015840', '3015844', '3015845', '3015846', '3015847', '3015848', '3015851', '3015335', '3015854', '3015856', '3015859', '3015864', '3015865', '3015880', '3015895', '3015896', '3015913', '3015914', '3015915', '3014964', '3015929', '3015942', '3015961', '3015284', '3015967', '3015970', '3015971', '3015974', '3015976', '3015977', '3015989', '3016030', '3016040', '3016058', '3016074', '3016079', '3014716', '3016115', '3016126', '3016130', '3016146', '3016147', '3015033', '3016183', '3016188', '3016209', '3016227', '3016236', '3016254', '3016256', '3016259', '3016261', '3016286', '3016310', '3014227', '3016337', '3016346', '3016370', '3016374', '3016375', '3016377', '3016380', '3016383', '3016384', '3016392'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
PRIMARY |
PRIMARY |
4 |
|
322 |
Using where |
|
8 |
0.001577 |
SELECT `s`.* FROM `school` AS `s` WHERE (s.registration_status = 1) AND (s.is_opening = 1) AND (s.id IN ('3013181', '3013189', '3013194', '3013195', '3013196', '3013197', '3013226', '3013234', '3013247', '3013253', '3013256', '3013264', '3013265', '3013266', '3013272', '3013289', '3013301', '3013302', '3013435', '3013438', '3013467', '3013504', '3013952', '3013959', '3013960', '3013995', '3014008', '3014015', '3014019', '3014020', '3014022', '3014026', '3014031', '3014044', '3014048', '3014052', '3014054', '3014075', '3014077', '3014087', '3014088', '3014091', '3014093', '3014099', '3014112', '3014135', '3014143', '3014144', '3014167', '3014113', '3014176', '3014188', '3014204', '3014211', '3014212', '3014230', '3014231', '3014232', '3014233', '3014251', '3014252', '3014270', '3014281', '3014287', '3014299', '3014313', '3014315', '3014316', '3014322', '3014327', '3014328', '3014329', '3014344', '3014356', '3014377', '3014382', '3014393', '3014401', '3014402', '3014422', '3014094', '3014429', '3014431', '3014436', '3014446', '3014450', '3014453', '3014454', '3014456', '3014459', '3014460', '3014462', '3014467', '3014472', '3014492', '3014498', '3014531', '3014510', '3014534', '3014549', '3014554', '3014122', '3014571', '3014581', '3014596', '3014591', '3014598', '3014599', '3014618', '3014627', '3014628', '3014639', '3014647', '3014655', '3014656', '3014690', '3014699', '3014705', '3014722', '3014725', '3014726', '3014733', '3014739', '3014659', '3014743', '3014759', '3014763', '3014771', '3014784', '3014785', '3014804', '3014816', '3014823', '3014826', '3014828', '3014830', '3014836', '3014844', '3014849', '3014854', '3014856', '3014861', '3014862', '3014869', '3014871', '3014882', '3014883', '3014886', '3014909', '3014910', '3014922', '3014928', '3014929', '3014930', '3014933', '3014939', '3014944', '3014952', '3014954', '3014971', '3014972', '3014977', '3014992', '3014994', '3015004', '3015019', '3015032', '3015035', '3015053', '3015067', '3015063', '3015082', '3015093', '3015122', '3013312', '3015124', '3015129', '3015156', '3015157', '3015158', '3015165', '3015178', '3015198', '3015205', '3015277', '3015283', '3015295', '3015296', '3015303', '3015310', '3015313', '3015314', '3015328', '3014415', '3015338', '3014926', '3015361', '3015362', '3015363', '3015364', '3013268', '3015368', '3014802', '3015379', '3015382', '3015383', '3015384', '3015396', '3015439', '3015442', '3015446', '3015447', '3015468', '3015480', '3015485', '3015493', '3015497', '3015508', '3015510', '3015516', '3015524', '3015525', '3015531', '3015532', '3015541', '3015555', '3015587', '3015593', '3015402', '3015607', '3015626', '3015629', '3015635', '3015660', '3015669', '3015670', '3015671', '3015672', '3015687', '3015688', '3015701', '3015703', '3015716', '3015719', '3015741', '3015746', '3015747', '3015758', '3015759', '3015761', '3015767', '3015783', '3015784', '3015803', '3015807', '3015813', '3015839', '3015840', '3015844', '3015845', '3015846', '3015847', '3015848', '3015851', '3015335', '3015854', '3015856', '3015859', '3015864', '3015865', '3015880', '3015895', '3015896', '3015913', '3015914', '3015915', '3014964', '3015929', '3015942', '3015961', '3015284', '3015967', '3015970', '3015971', '3015974', '3015976', '3015977', '3015989', '3016030', '3016040', '3016058', '3016074', '3016079', '3014716', '3016115', '3016126', '3016130', '3016146', '3016147', '3015033', '3016183', '3016188', '3016209', '3016227', '3016236', '3016254', '3016256', '3016259', '3016261', '3016286', '3016310', '3014227', '3016337', '3016346', '3016370', '3016374', '3016375', '3016377', '3016380', '3016383', '3016384', '3016392')) ORDER BY `s`.`is_charged` DESC, `s`.`score` DESC LIMIT 20
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
PRIMARY |
PRIMARY |
4 |
|
322 |
Using where; Using filesort |
|
9 |
0.000547 |
DESCRIBE `city`
|
10 |
0.000427 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.id IN ('675', '1515', '914', '1153', '752', '1451', '1456', '1450', '887', '806', '887', '887', '887', '744', '754', '754', '1413', '513', '753', '745'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
range |
PRIMARY |
PRIMARY |
4 |
|
16 |
Using where |
|
11 |
0.000537 |
DESCRIBE `prefecture`
|
12 |
0.000367 |
SELECT `p`.* FROM `prefecture` AS `p`
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
ALL |
|
|
|
|
47 |
|
|
13 |
0.000507 |
DESCRIBE `school_station`
|
14 |
0.000727 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id IN ('3014659', '3015703', '3015198', '3014446', '3014977', '3015019', '3015284', '3013265', '3014816', '3014054', '3014322', '3014836', '3014329', '3014087', '3015379', '3014882', '3014647', '3015929', '3014402', '3015035'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
school_id |
school_id |
4 |
|
79 |
Using index condition |
|
15 |
0.000467 |
DESCRIBE `station_station_unit`
|
16 |
0.000527 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id IN ('2847', '2845', '2849', '2846', '2848', '6177', '8160', '1296', '1298', '5344', '5143', '1407', '5063', '7752', '6146', '8081', '1679', '5144', '6805', '1319', '1320', '5349', '5350', '5368', '1550', '1549', '1504', '5372', '5410', '5337', '5371', '5411', '5336', '6772', '1321', '5335', '3187', '3188', '3189', '6330', '1301', '1511', '4953', '5356', '5357', '5433', '6763', '6963', '6964', '8184', '6176', '6178', '8145', '6175', '6218', '6177', '6217', '1319', '1320', '1503', '1504', '1522', '1546', '1547', '1548', '1549', '1550', '5349', '5350', '5351', '5368', '5369', '6805', '3252', '6285', '6286', '1126'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s_s |
ALL |
station_id |
|
|
|
46 |
Using where |
|
17 |
0.000537 |
DESCRIBE `station_unit`
|
18 |
0.000337 |
SELECT `s_s`.* FROM `station_unit` AS `s_s` WHERE (s_s.id IN ('1', '1', '3', '3', '7', '7', '12'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
PRIMARY |
PRIMARY |
4 |
|
4 |
Using where |
|
19 |
0.000477 |
DESCRIBE `city_major_city`
|
20 |
0.000477 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.city_id IN ('675', '1515', '914', '1153', '752', '1451', '1456', '1450', '887', '806', '887', '887', '887', '744', '754', '754', '1413', '513', '753', '745'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_m_c |
ALL |
city_id |
|
|
|
99 |
Using where |
|
21 |
0.000497 |
DESCRIBE `major_city`
|
22 |
0.000397 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.id IN ('5', '3', '6'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
range |
PRIMARY |
PRIMARY |
4 |
|
3 |
Using where |
|
23 |
0.000927 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id IN ('3014659', '3015703', '3015198', '3014446', '3014977', '3015019', '3015284', '3013265', '3014816', '3014054', '3014322', '3014836', '3014329', '3014087', '3015379', '3014882', '3014647', '3015929', '3014402', '3015035'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
school_id |
school_id |
4 |
|
79 |
Using index condition |
|
24 |
0.000467 |
DESCRIBE `station`
|
25 |
0.000427 |
SELECT `s`.* FROM `station` AS `s` WHERE (s.id IN ('2847', '1296', '5143', '1407', '5063', '7752', '8081', '1679', '5144', '6805', '5372', '3187', '1511', '6963', '8184', '5368', '6286', '1126')) GROUP BY `s`.`id`
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
PRIMARY,city_id,ix_lat_lon_station |
PRIMARY |
4 |
|
18 |
Using where |
|
26 |
0.000457 |
DESCRIBE `school_score`
|
27 |
0.460297 |
SELECT `s_s`.* FROM `school_score` AS `s_s` WHERE (s_s.school_id IN ('3014659', '3015703', '3015198', '3014446', '3014977', '3015019', '3015284', '3013265', '3014816', '3014054', '3014322', '3014836', '3014329', '3014087', '3015379', '3014882', '3014647', '3015929', '3014402', '3015035')) AND (s_s.is_latest = 1)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
school_id |
school_id |
4 |
|
536523 |
Using index condition; Using where |
|
28 |
0.001047 |
SELECT `c_s`.* FROM `category_school` AS `c_s` WHERE (c_s.school_id IN ('3014659', '3015703', '3015198', '3014446', '3014977', '3015019', '3015284', '3013265', '3014816', '3014054', '3014322', '3014836', '3014329', '3014087', '3015379', '3014882', '3014647', '3015929', '3014402', '3015035'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_s |
range |
school_id |
school_id |
4 |
|
98 |
Using index condition |
|
29 |
0.001777 |
connect
|
30 |
0.000597 |
SELECT `s_c_s`.* FROM `summary_count_school` AS `s_c_s` WHERE (s_c_s.is_latest = 1) AND (s_c_s.category_id = 0) AND (s_c_s.prefecture_id = 0) AND (s_c_s.city_id = 0) AND (s_c_s.station_id = 0) AND (s_c_s.station_unit_id = 0) AND (s_c_s.major_city_id = 0) LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_s |
ref |
multi |
multi |
28 |
const,const,const,const,const,const,const |
1 |
|
|
31 |
0.000487 |
SELECT `p`.* FROM `prefecture` AS `p`
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
ALL |
|
|
|
|
47 |
|
|
32 |
0.000777 |
DESCRIBE `summary_count_kuchikomi`
|
33 |
0.000467 |
SELECT `s_c_k`.* FROM `summary_count_kuchikomi` AS `s_c_k` WHERE (s_c_k.is_latest = 1) AND (s_c_k.category_id = 8) AND (s_c_k.prefecture_id = 0) AND (s_c_k.city_id = 0) AND (s_c_k.station_id = 0) AND (s_c_k.station_unit_id = 0) LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_k |
ref |
multi |
multi |
20 |
const,const,const,const,const |
13 |
Using index condition |
|
34 |
0.000577 |
DESCRIBE `dancer`
|
35 |
0.000517 |
SELECT `c`.`id` FROM `dancer` AS `c`
INNER JOIN `dancer_column` AS `d_c` ON c.id = d_c.dancer_id AND d_c.valid = 1 ORDER BY `d_c`.`timestamp_created` DESC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
d_c |
ALL |
ix_dancer_id_dancer_column |
|
|
|
29 |
Using where; Using filesort |
1 |
SIMPLE |
c |
eq_ref |
PRIMARY |
PRIMARY |
4 |
jobikai_dance.d_c.dancer_id |
1 |
Using index |
|
36 |
0.000397 |
SELECT `c`.* FROM `dancer` AS `c` WHERE (c.id IN ('17', '16', '15', '14', '13'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
range |
PRIMARY |
PRIMARY |
4 |
|
5 |
Using where |
|
37 |
0.000517 |
DESCRIBE `dancer_column`
|
38 |
0.000427 |
SELECT `c`.* FROM `dancer_column` AS `c` WHERE (c.valid = 1) AND (c.dancer_id = '17') ORDER BY `timestamp_created` ASC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
ix_dancer_id_dancer_column |
ix_dancer_id_dancer_column |
5 |
const |
2 |
Using index condition; Using where; Using filesort |
|
39 |
0.000397 |
SELECT `c`.* FROM `dancer_column` AS `c` WHERE (c.valid = 1) AND (c.dancer_id = '16') ORDER BY `timestamp_created` ASC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
ix_dancer_id_dancer_column |
ix_dancer_id_dancer_column |
5 |
const |
2 |
Using index condition; Using where; Using filesort |
|
40 |
0.000387 |
SELECT `c`.* FROM `dancer_column` AS `c` WHERE (c.valid = 1) AND (c.dancer_id = '15') ORDER BY `timestamp_created` ASC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
ix_dancer_id_dancer_column |
ix_dancer_id_dancer_column |
5 |
const |
2 |
Using index condition; Using where; Using filesort |
|
41 |
0.000427 |
SELECT `c`.* FROM `dancer_column` AS `c` WHERE (c.valid = 1) AND (c.dancer_id = '14') ORDER BY `timestamp_created` ASC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
ix_dancer_id_dancer_column |
ix_dancer_id_dancer_column |
5 |
const |
2 |
Using index condition; Using where; Using filesort |
|
42 |
0.000377 |
SELECT `c`.* FROM `dancer_column` AS `c` WHERE (c.valid = 1) AND (c.dancer_id = '13') ORDER BY `timestamp_created` ASC
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
ix_dancer_id_dancer_column |
ix_dancer_id_dancer_column |
5 |
const |
1 |
Using index condition; Using where; Using filesort |
|