No. |
time |
query |
1 |
0.001787 |
connect
|
2 |
0.000487 |
DESCRIBE `prefecture`
|
3 |
0.000317 |
SELECT `p`.* FROM `prefecture` AS `p` WHERE (p.id = '11') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
4 |
0.000557 |
DESCRIBE `summary_count_kuchikomi`
|
5 |
0.000597 |
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 IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) AND (s_c_k.prefecture_id = '11') AND (s_c_k.city_id = 0) AND (s_c_k.station_id = 0) AND (s_c_k.station_unit_id = 0) AND (s_c_k.major_city_id = 0) AND (s_c_k.count > 0)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_k |
range |
multi |
multi |
28 |
|
17 |
Using index condition; Using where |
|
6 |
0.000447 |
DESCRIBE `city`
|
7 |
0.000557 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.prefecture_id = '11')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
prefecture_id |
prefecture_id |
5 |
const |
58 |
|
|
8 |
0.000807 |
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 IN ('634', '635', '636', '639', '640', '645', '646', '647', '648', '649', '650', '651', '652', '656', '660', '661', '662', '663', '664', '665', '670', '671', '672', '673', '674', '675', '676', '677', '678', '679', '680', '681', '682', '683', '684', '685', '690', '691', '692', '693', '694', '695', '696', '697', '698', '699', '700', '708', '709', '710', '711', '712', '713', '714', '717', '718', '719', '720')) AND (s_c_k.station_id = 0) AND (s_c_k.station_unit_id = 0) AND (s_c_k.major_city_id = 0) AND (s_c_k.count > 0)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_k |
range |
multi |
multi |
28 |
|
58 |
Using index condition; Using where |
|
9 |
0.000477 |
DESCRIBE `station_unit`
|
10 |
0.000337 |
SELECT `s_s`.* FROM `station_unit` AS `s_s` WHERE (s_s.prefecture_id = '11')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
ref |
prefecture_id |
prefecture_id |
4 |
const |
1 |
|
|
11 |
0.000487 |
DESCRIBE `major_city`
|
12 |
0.000347 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.prefecture_id = '11')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
ref |
prefecture_id |
prefecture_id |
4 |
const |
1 |
|
|
13 |
0.000437 |
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) AND (s_c_k.major_city_id IN ('5')) AND (s_c_k.count > 0)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_c_k |
ref |
multi |
multi |
28 |
const,const,const,const,const,const,const |
1 |
Using where |
|
14 |
0.000637 |
DESCRIBE `school`
|
15 |
0.000557 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.prefecture_id = '11')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
prefecture_id |
prefecture_id |
5 |
const |
58 |
|
|
16 |
0.001397 |
SELECT `s`.`id` FROM `school` AS `s` WHERE (s.registration_status = 1) AND (s.is_opening = 1) AND (s.city_id IN ('634', '635', '636', '639', '640', '645', '646', '647', '648', '649', '650', '651', '652', '656', '660', '661', '662', '663', '664', '665', '670', '671', '672', '673', '674', '675', '676', '677', '678', '679', '680', '681', '682', '683', '684', '685', '690', '691', '692', '693', '694', '695', '696', '697', '698', '699', '700', '708', '709', '710', '711', '712', '713', '714', '717', '718', '719', '720'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
city_id |
city_id |
5 |
|
277 |
Using index condition; Using where |
|
17 |
0.000437 |
DESCRIBE `kuchikomi`
|
18 |
0.000497 |
DESCRIBE `kuchikomi_category`
|
19 |
0.000377 |
SELECT `k_c`.`kuchikomi_id` FROM `kuchikomi_category` AS `k_c` WHERE (k_c.category_id = 8)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k_c |
ref |
category_id |
category_id |
4 |
const |
41 |
|
|
20 |
0.001037 |
SELECT COUNT(1) AS `zend_paginator_row_count` FROM `kuchikomi` AS `k` WHERE (k.valid = 1) AND (k.school_id IN ('3013309', '3014689', '3014870', '3015568', '3016067', '3014805', '3013315', '3014872', '3013316', '3013317', '3015639', '3014350', '3013318', '3013290', '3013319', '3013320', '3013321', '3013322', '3013984', '3014112', '3014213', '3014403', '3014497', '3014618', '3014631', '3015540', '3015717', '3015751', '3016169', '3013324', '3013325', '3013326', '3013327', '3015253', '3015409', '3015870', '3016006', '3016416', '3013328', '3013905', '3015588', '3013329', '3016188', '3016353', '3016147', '3016359', '3016420', '3013330', '3013331', '3013332', '3013333', '3013334', '3014762', '3015232', '3015797', '3016326', '3016412', '3013335', '3013336', '3013337', '3013338', '3013339', '3013340', '3014739', '3015380', '3016146', '3016149', '3016272', '3013341', '3013342', '3014050', '3014568', '3014715', '3014896', '3015404', '3015434', '3016374', '3016479', '3016510', '3013343', '3013344', '3013345', '3016014', '3014233', '3014332', '3014659', '3015800', '3014061', '3015542', '3015688', '3013346', '3013347', '3015528', '3016375', '3015143', '3013348', '3014534', '3015781', '3014114', '3014304', '3016212', '3013350', '3013351', '3013352', '3015335', '3016008', '3016213', '3015082', '3015600', '3016114', '3014744', '3014984', '3013353', '3013354', '3013355', '3013356', '3013902', '3014150', '3014232', '3014926', '3015493', '3014065', '3016191', '3016433', '3013357', '3016366', '3014218', '3014408', '3014611', '3013906', '3015320', '3015483', '3015484', '3014869', '3015527', '3016437')) AND (k.id IN ('2', '11', '14', '21', '23', '34', '37', '41', '47', '55', '72', '108', '111', '116', '126', '136', '169', '201', '202', '208', '349', '611', '667', '668', '741', '925', '926', '966', '1113', '1116', '1117', '1123', '1183', '1248', '1249', '1250', '1251', '1252', '1253', '1254', '1298'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k |
range |
PRIMARY,ix_school_id_kuchikomi |
PRIMARY |
4 |
|
41 |
Using where |
|
21 |
0.001077 |
SELECT `k`.* FROM `kuchikomi` AS `k` WHERE (k.valid = 1) AND (k.school_id IN ('3013309', '3014689', '3014870', '3015568', '3016067', '3014805', '3013315', '3014872', '3013316', '3013317', '3015639', '3014350', '3013318', '3013290', '3013319', '3013320', '3013321', '3013322', '3013984', '3014112', '3014213', '3014403', '3014497', '3014618', '3014631', '3015540', '3015717', '3015751', '3016169', '3013324', '3013325', '3013326', '3013327', '3015253', '3015409', '3015870', '3016006', '3016416', '3013328', '3013905', '3015588', '3013329', '3016188', '3016353', '3016147', '3016359', '3016420', '3013330', '3013331', '3013332', '3013333', '3013334', '3014762', '3015232', '3015797', '3016326', '3016412', '3013335', '3013336', '3013337', '3013338', '3013339', '3013340', '3014739', '3015380', '3016146', '3016149', '3016272', '3013341', '3013342', '3014050', '3014568', '3014715', '3014896', '3015404', '3015434', '3016374', '3016479', '3016510', '3013343', '3013344', '3013345', '3016014', '3014233', '3014332', '3014659', '3015800', '3014061', '3015542', '3015688', '3013346', '3013347', '3015528', '3016375', '3015143', '3013348', '3014534', '3015781', '3014114', '3014304', '3016212', '3013350', '3013351', '3013352', '3015335', '3016008', '3016213', '3015082', '3015600', '3016114', '3014744', '3014984', '3013353', '3013354', '3013355', '3013356', '3013902', '3014150', '3014232', '3014926', '3015493', '3014065', '3016191', '3016433', '3013357', '3016366', '3014218', '3014408', '3014611', '3013906', '3015320', '3015483', '3015484', '3014869', '3015527', '3016437')) AND (k.id IN ('2', '11', '14', '21', '23', '34', '37', '41', '47', '55', '72', '108', '111', '116', '126', '136', '169', '201', '202', '208', '349', '611', '667', '668', '741', '925', '926', '966', '1113', '1116', '1117', '1123', '1183', '1248', '1249', '1250', '1251', '1252', '1253', '1254', '1298')) ORDER BY `k`.`posted_at` DESC LIMIT 10
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k |
range |
PRIMARY,ix_school_id_kuchikomi |
PRIMARY |
4 |
|
41 |
Using where; Using filesort |
|
22 |
0.000377 |
SELECT `k_c`.* FROM `kuchikomi_category` AS `k_c` WHERE (k_c.kuchikomi_id IN ('926'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k_c |
ref |
kuchikomi_id |
kuchikomi_id |
4 |
const |
1 |
|
|
23 |
0.000597 |
DESCRIBE `member`
|
24 |
0.000367 |
SELECT `m`.* FROM `member` AS `m` WHERE (m.id IN ('1752'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
25 |
0.000387 |
SELECT `s`.* FROM `school` AS `s` WHERE (s.id IN ('3014659'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
26 |
0.000457 |
DESCRIBE `access_count_kuchikomi`
|
27 |
0.000317 |
SELECT `a_c_k`.* FROM `access_count_kuchikomi` AS `a_c_k` WHERE (a_c_k.kuchikomi_id IN ('926'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
a_c_k |
ref |
kuchikomi_id |
kuchikomi_id |
4 |
const |
1 |
|
|
28 |
0.000487 |
DESCRIBE `kuchikomi_questionnaire_answer`
|
29 |
0.000337 |
SELECT `k_q_a`.* FROM `kuchikomi_questionnaire_answer` AS `k_q_a` WHERE (k_q_a.kuchikomi_id IN ('926'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k_q_a |
ref |
ix_kuchikomi_id_kuchikomi_questionnaire_answer |
ix_kuchikomi_id_kuchikomi_questionnaire_answer |
4 |
const |
6 |
|
|
30 |
0.001697 |
connect
|
31 |
0.000497 |
DESCRIBE `summary_count_school`
|
32 |
0.000417 |
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 |
|
|
33 |
0.000437 |
SELECT `p`.* FROM `prefecture` AS `p`
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
ALL |
|
|
|
|
47 |
|
|
34 |
0.000507 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.prefecture_id = '11')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
prefecture_id |
prefecture_id |
5 |
const |
58 |
|
|
35 |
0.000367 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.id = '675') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
36 |
0.000337 |
SELECT `p`.* FROM `prefecture` AS `p` WHERE (p.id = '11') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
37 |
0.003007 |
DESCRIBE `school_station`
|
38 |
0.000437 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id = '3014659')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
ref |
school_id |
school_id |
4 |
const |
1 |
|
|
39 |
0.000447 |
DESCRIBE `station_station_unit`
|
40 |
0.000347 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '1679')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s_s |
ref |
station_id |
station_id |
4 |
const |
1 |
|
|
41 |
0.000307 |
SELECT `s_s`.* FROM `station_unit` AS `s_s` WHERE (false)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
|
|
|
|
|
|
|
Impossible WHERE |
|
42 |
0.000457 |
DESCRIBE `city_major_city`
|
43 |
0.000357 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.city_id = '675')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_m_c |
ref |
city_id |
city_id |
4 |
const |
1 |
|
|
44 |
0.000377 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.id IN ('5'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
45 |
0.000737 |
DESCRIBE `schoolgroup`
|
46 |
0.000427 |
SELECT `sg`.* FROM `schoolgroup` AS `sg` WHERE (sg.id = '97') AND (sg.registration_status = 1) LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
sg |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
47 |
0.081127 |
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 = 8) AND (s_c_s.prefecture_id = '11') AND (s_c_s.city_id = 0) AND (s_c_s.station_id = 0) AND (s_c_s.station_unit_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 |
20 |
const,const,const,const,const |
2642 |
Using index condition |
|
48 |
0.000637 |
DESCRIBE `dancer`
|
49 |
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 |
|
50 |
0.000377 |
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 |
|
51 |
0.000497 |
DESCRIBE `dancer_column`
|
52 |
0.000417 |
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 |
|
53 |
0.000367 |
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 |
|
54 |
0.000397 |
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 |
|
55 |
0.000387 |
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 |
|
56 |
0.000347 |
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 |
|