No. |
time |
query |
1 |
0.001967 |
connect
|
2 |
0.025567 |
DESCRIBE `summary_count_school`
|
3 |
0.000987 |
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.001207 |
DESCRIBE `school`
|
5 |
0.010507 |
DESCRIBE `category_school`
|
6 |
0.024927 |
SELECT `c_s`.* FROM `category_school` AS `c_s` WHERE (c_s.category_id = 9)
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 |
343 |
|
|
7 |
0.006357 |
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', '3013182', '3013187', '3013188', '3013189', '3013190', '3013191', '3013194', '3013195', '3013196', '3013197', '3013202', '3013206', '3013208', '3013226', '3013236', '3013237', '3013238', '3013240', '3013247', '3013254', '3013256', '3013264', '3013265', '3013266', '3013293', '3013292', '3013289', '3013301', '3013302', '3013438', '3013467', '3013948', '3013949', '3013950', '3013959', '3013960', '3014015', '3014019', '3014020', '3014022', '3014026', '3014041', '3014046', '3014048', '3014052', '3014065', '3014075', '3014082', '3014088', '3014099', '3014112', '3014114', '3014171', '3014113', '3014188', '3014212', '3014217', '3014218', '3014219', '3014226', '3014250', '3014295', '3014313', '3014315', '3014322', '3014367', '3014372', '3014373', '3014387', '3014392', '3014393', '3014398', '3014416', '3014094', '3014426', '3014428', '3014429', '3014439', '3014441', '3014442', '3014445', '3014446', '3014459', '3014462', '3014463', '3014465', '3014467', '3014475', '3014492', '3014464', '3014498', '3014499', '3014521', '3014522', '3014523', '3014534', '3014563', '3014565', '3014566', '3014567', '3014560', '3014122', '3014571', '3014579', '3014581', '3014583', '3014586', '3014588', '3014608', '3014609', '3014613', '3014618', '3014619', '3014622', '3014627', '3014628', '3014621', '3014646', '3014647', '3014676', '3014692', '3014693', '3014705', '3014712', '3014725', '3014735', '3014759', '3014762', '3014763', '3014771', '3014773', '3014778', '3014796', '3014798', '3014800', '3014806', '3014809', '3014815', '3014826', '3014834', '3014841', '3014844', '3014849', '3014850', '3014854', '3014856', '3014861', '3014862', '3014883', '3014886', '3014889', '3014890', '3014891', '3014892', '3014901', '3014909', '3014911', '3014922', '3014961', '3014963', '3014967', '3014972', '3014977', '3014979', '3014980', '3014981', '3014985', '3014994', '3015020', '3015026', '3015053', '3015058', '3015063', '3015076', '3015077', '3015078', '3015079', '3015082', '3015115', '3015122', '3013312', '3015125', '3015142', '3015145', '3015156', '3015157', '3015158', '3015165', '3015178', '3015277', '3015278', '3015284', '3014423', '3015295', '3015296', '3015297', '3015298', '3015310', '3015313', '3015314', '3015353', '3015354', '3015355', '3015356', '3013268', '3015365', '3015366', '3015369', '3015378', '3015395', '3015396', '3015400', '3015413', '3015416', '3015425', '3015427', '3015428', '3015429', '3015431', '3015444', '3015445', '3015450', '3015463', '3015465', '3015475', '3015498', '3015499', '3015508', '3015511', '3015523', '3015531', '3015532', '3015534', '3015535', '3015543', '3015545', '3015554', '3015555', '3015562', '3015571', '3015572', '3015584', '3015588', '3015589', '3015601', '3015607', '3015612', '3015629', '3015634', '3015635', '3015639', '3015640', '3015651', '3015658', '3015663', '3015527', '3015686', '3015688', '3015696', '3015697', '3015700', '3015701', '3015707', '3015716', '3015734', '3015743', '3015749', '3015750', '3015757', '3015773', '3015796', '3015802', '3015805', '3015809', '3015830', '3015836', '3015838', '3015335', '3015854', '3015864', '3015880', '3015882', '3015889', '3015660', '3015929', '3015954', '3015963', '3015985', '3015989', '3015990', '3015993', '3015994', '3015995', '3015996', '3016006', '3016030', '3016033', '3016040', '3016058', '3016061', '3016074', '3016085', '3014716', '3016119', '3016146', '3016147', '3016167', '3016176', '3016179', '3016180', '3016182', '3016187', '3016198', '3016199', '3016200', '3016202', '3016215', '3016216', '3016222', '3016236', '3016254', '3016259', '3016267', '3016279', '3016286', '3016290', '3016291', '3016313', '3016323', '3016330', '3016337', '3016359', '3016361', '3016370', '3016383', '3016384', '3016385', '3016392', '3016427', '3016430', '3016440', '3016444'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
PRIMARY |
PRIMARY |
4 |
|
343 |
Using where |
|
8 |
0.002077 |
SELECT `s`.* FROM `school` AS `s` WHERE (s.registration_status = 1) AND (s.is_opening = 1) AND (s.id IN ('3013181', '3013182', '3013187', '3013188', '3013189', '3013190', '3013191', '3013194', '3013195', '3013196', '3013197', '3013202', '3013206', '3013208', '3013226', '3013236', '3013237', '3013238', '3013240', '3013247', '3013254', '3013256', '3013264', '3013265', '3013266', '3013293', '3013292', '3013289', '3013301', '3013302', '3013438', '3013467', '3013948', '3013949', '3013950', '3013959', '3013960', '3014015', '3014019', '3014020', '3014022', '3014026', '3014041', '3014046', '3014048', '3014052', '3014065', '3014075', '3014082', '3014088', '3014099', '3014112', '3014114', '3014171', '3014113', '3014188', '3014212', '3014217', '3014218', '3014219', '3014226', '3014250', '3014295', '3014313', '3014315', '3014322', '3014367', '3014372', '3014373', '3014387', '3014392', '3014393', '3014398', '3014416', '3014094', '3014426', '3014428', '3014429', '3014439', '3014441', '3014442', '3014445', '3014446', '3014459', '3014462', '3014463', '3014465', '3014467', '3014475', '3014492', '3014464', '3014498', '3014499', '3014521', '3014522', '3014523', '3014534', '3014563', '3014565', '3014566', '3014567', '3014560', '3014122', '3014571', '3014579', '3014581', '3014583', '3014586', '3014588', '3014608', '3014609', '3014613', '3014618', '3014619', '3014622', '3014627', '3014628', '3014621', '3014646', '3014647', '3014676', '3014692', '3014693', '3014705', '3014712', '3014725', '3014735', '3014759', '3014762', '3014763', '3014771', '3014773', '3014778', '3014796', '3014798', '3014800', '3014806', '3014809', '3014815', '3014826', '3014834', '3014841', '3014844', '3014849', '3014850', '3014854', '3014856', '3014861', '3014862', '3014883', '3014886', '3014889', '3014890', '3014891', '3014892', '3014901', '3014909', '3014911', '3014922', '3014961', '3014963', '3014967', '3014972', '3014977', '3014979', '3014980', '3014981', '3014985', '3014994', '3015020', '3015026', '3015053', '3015058', '3015063', '3015076', '3015077', '3015078', '3015079', '3015082', '3015115', '3015122', '3013312', '3015125', '3015142', '3015145', '3015156', '3015157', '3015158', '3015165', '3015178', '3015277', '3015278', '3015284', '3014423', '3015295', '3015296', '3015297', '3015298', '3015310', '3015313', '3015314', '3015353', '3015354', '3015355', '3015356', '3013268', '3015365', '3015366', '3015369', '3015378', '3015395', '3015396', '3015400', '3015413', '3015416', '3015425', '3015427', '3015428', '3015429', '3015431', '3015444', '3015445', '3015450', '3015463', '3015465', '3015475', '3015498', '3015499', '3015508', '3015511', '3015523', '3015531', '3015532', '3015534', '3015535', '3015543', '3015545', '3015554', '3015555', '3015562', '3015571', '3015572', '3015584', '3015588', '3015589', '3015601', '3015607', '3015612', '3015629', '3015634', '3015635', '3015639', '3015640', '3015651', '3015658', '3015663', '3015527', '3015686', '3015688', '3015696', '3015697', '3015700', '3015701', '3015707', '3015716', '3015734', '3015743', '3015749', '3015750', '3015757', '3015773', '3015796', '3015802', '3015805', '3015809', '3015830', '3015836', '3015838', '3015335', '3015854', '3015864', '3015880', '3015882', '3015889', '3015660', '3015929', '3015954', '3015963', '3015985', '3015989', '3015990', '3015993', '3015994', '3015995', '3015996', '3016006', '3016030', '3016033', '3016040', '3016058', '3016061', '3016074', '3016085', '3014716', '3016119', '3016146', '3016147', '3016167', '3016176', '3016179', '3016180', '3016182', '3016187', '3016198', '3016199', '3016200', '3016202', '3016215', '3016216', '3016222', '3016236', '3016254', '3016259', '3016267', '3016279', '3016286', '3016290', '3016291', '3016313', '3016323', '3016330', '3016337', '3016359', '3016361', '3016370', '3016383', '3016384', '3016385', '3016392', '3016427', '3016430', '3016440', '3016444')) 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 |
|
343 |
Using where; Using filesort |
|
9 |
0.000707 |
DESCRIBE `city`
|
10 |
0.000467 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.id IN ('820', '1153', '1456', '752', '1479', '1456', '1450', '1938', '887', '1513', '750', '1413', '513', '738', '1410', '1450', '748', '775', '744', '513'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
range |
PRIMARY |
PRIMARY |
4 |
|
17 |
Using where |
|
11 |
0.000747 |
DESCRIBE `prefecture`
|
12 |
0.000657 |
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.000727 |
DESCRIBE `school_station`
|
14 |
0.011807 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id IN ('3015463', '3014446', '3013948', '3014977', '3014981', '3015284', '3013265', '3015076', '3014322', '3016167', '3014890', '3014647', '3015929', '3014439', '3014082', '3014416', '3015499', '3013236', '3013256', '3013312'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
school_id |
school_id |
4 |
|
70 |
Using index condition |
|
15 |
0.000677 |
DESCRIBE `station_station_unit`
|
16 |
0.001157 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id IN ('1405', '1295', '2847', '2845', '2849', '2846', '2848', '6177', '8160', '1126', '8162', '8196', '8163', '5143', '6177', '6217', '6177', '2845', '2845', '6178', '6218', '6217', '2849', '6808', '6809', '1525', '7752', '6146', '8081', '1348', '7202', '7203', '1347', '7201', '5372', '5410', '5337', '5371', '5411', '5336', '6772', '1321', '5335', '6293', '6294', '8114', '8887', '8888', '4155', '4156', '8184', '6176', '6178', '8145', '6175', '6218', '6177', '6217', '5028', '6938', '6939', '5185', '5186', '5202', '5232', '5233', '1126', '6309', '6310'))
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.003777 |
DESCRIBE `station_unit`
|
18 |
0.001147 |
SELECT `s_s`.* FROM `station_unit` AS `s_s` WHERE (s_s.id IN ('1', '1', '4', '9', '11', '12', '16'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
ALL |
PRIMARY |
|
|
|
16 |
Using where |
|
19 |
0.001167 |
DESCRIBE `city_major_city`
|
20 |
0.000667 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.city_id IN ('820', '1153', '1456', '752', '1479', '1456', '1450', '1938', '887', '1513', '750', '1413', '513', '738', '1410', '1450', '748', '775', '744', '513'))
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.001707 |
DESCRIBE `major_city`
|
22 |
0.000427 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.id IN ('11'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
23 |
0.000757 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id IN ('3015463', '3014446', '3013948', '3014977', '3014981', '3015284', '3013265', '3015076', '3014322', '3016167', '3014890', '3014647', '3015929', '3014439', '3014082', '3014416', '3015499', '3013236', '3013256', '3013312'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
range |
school_id |
school_id |
4 |
|
70 |
Using index condition |
|
24 |
0.000637 |
DESCRIBE `station`
|
25 |
0.000547 |
SELECT `s`.* FROM `station` AS `s` WHERE (s.id IN ('1405', '1295', '2847', '1126', '8162', '5143', '6177', '6808', '7752', '8081', '1348', '5372', '6293', '8887', '8184', '5028', '5202', '1126', '6309')) 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.000627 |
DESCRIBE `school_score`
|
27 |
0.545317 |
SELECT `s_s`.* FROM `school_score` AS `s_s` WHERE (s_s.school_id IN ('3015463', '3014446', '3013948', '3014977', '3014981', '3015284', '3013265', '3015076', '3014322', '3016167', '3014890', '3014647', '3015929', '3014439', '3014082', '3014416', '3015499', '3013236', '3013256', '3013312')) 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 |
|
560346 |
Using index condition; Using where |
|
28 |
0.008917 |
SELECT `c_s`.* FROM `category_school` AS `c_s` WHERE (c_s.school_id IN ('3015463', '3014446', '3013948', '3014977', '3014981', '3015284', '3013265', '3015076', '3014322', '3016167', '3014890', '3014647', '3015929', '3014439', '3014082', '3014416', '3015499', '3013236', '3013256', '3013312'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_s |
range |
school_id |
school_id |
4 |
|
131 |
Using index condition |
|
29 |
0.004667 |
connect
|
30 |
0.001847 |
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.000617 |
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.000797 |
DESCRIBE `summary_count_kuchikomi`
|
33 |
0.000477 |
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 = 9) 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.000647 |
DESCRIBE `dancer`
|
35 |
0.000577 |
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.000507 |
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.000617 |
DESCRIBE `dancer_column`
|
38 |
0.000487 |
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.056067 |
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.000577 |
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.002387 |
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.000477 |
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 |
|