No. |
time |
query |
1 |
0.001797 |
connect
|
2 |
0.000497 |
DESCRIBE `prefecture`
|
3 |
0.000317 |
SELECT `p`.* FROM `prefecture` AS `p` WHERE (p.id = '14') 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.000427 |
DESCRIBE `major_city`
|
5 |
0.000307 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.id = '6') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
6 |
0.000447 |
DESCRIBE `summary_count_kuchikomi`
|
7 |
0.000627 |
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 = 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 = '6') 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 |
|
8 |
0.000427 |
DESCRIBE `city`
|
9 |
0.000437 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.prefecture_id = '14')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
prefecture_id |
prefecture_id |
5 |
const |
49 |
|
|
10 |
0.000667 |
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 = 5) AND (s_c_k.prefecture_id = 0) AND (s_c_k.city_id IN ('862', '864', '869', '872', '873', '874', '875', '876', '877', '878', '879', '880', '881', '882', '883', '884', '885', '886', '887', '888', '889', '890', '894', '896', '897', '898', '899', '900', '901', '902', '903', '904', '905', '906', '907', '908', '909', '910', '911', '912', '913', '914', '915', '916', '917', '918', '919', '920', '921')) 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 |
|
49 |
Using index condition; Using where |
|
11 |
0.000447 |
DESCRIBE `station_unit`
|
12 |
0.000317 |
SELECT `s_s`.* FROM `station_unit` AS `s_s` WHERE (s_s.prefecture_id = '14')
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 |
|
|
13 |
0.000317 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.prefecture_id = '14')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
ref |
prefecture_id |
prefecture_id |
4 |
const |
2 |
|
|
14 |
0.000417 |
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 = 5) 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 ('6', '7')) 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 |
|
2 |
Using index condition; Using where |
|
15 |
0.000627 |
DESCRIBE `school`
|
16 |
0.000497 |
DESCRIBE `city_major_city`
|
17 |
0.000357 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.major_city_id = '6')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c_m_c |
ref |
major_city_id |
major_city_id |
4 |
const |
18 |
|
|
18 |
0.001227 |
SELECT `s`.`id` FROM `school` AS `s` WHERE (s.registration_status = 1) AND (s.is_opening = 1) AND (s.city_id IN ('904', '905', '906', '907', '908', '909', '910', '911', '912', '913', '914', '915', '916', '917', '918', '919', '920', '921'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
range |
city_id |
city_id |
5 |
|
287 |
Using index condition; Using where |
|
19 |
0.000487 |
DESCRIBE `kuchikomi`
|
20 |
0.000417 |
DESCRIBE `kuchikomi_category`
|
21 |
0.000357 |
SELECT `k_c`.`kuchikomi_id` FROM `kuchikomi_category` AS `k_c` WHERE (k_c.category_id = 5)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k_c |
ref |
category_id |
category_id |
4 |
const |
24 |
|
|
22 |
0.000917 |
SELECT COUNT(1) AS `zend_paginator_row_count` FROM `kuchikomi` AS `k` WHERE (k.valid = 1) AND (k.school_id IN ('3013614', '3013615', '3013616', '3013618', '3014328', '3014337', '3014501', '3014580', '3014698', '3014826', '3015321', '3015451', '3015552', '3015637', '3015638', '3015692', '3015810', '3015837', '3015857', '3016173', '3016185', '3016288', '3016289', '3016295', '3016347', '3013619', '3014211', '3016296', '3014056', '3015775', '3016168', '3016239', '3016262', '3016436', '3013620', '3013621', '3016349', '3013622', '3013623', '3013624', '3013940', '3014110', '3015324', '3015572', '3015667', '3015808', '3015895', '3015967', '3016197', '3016378', '3016476', '3016507', '3013625', '3015169', '3015197', '3015574', '3015908', '3015979', '3015980', '3015987', '3015988', '3015989', '3016364', '3013626', '3015231', '3013275', '3013303', '3013627', '3013629', '3013630', '3014116', '3014117', '3014340', '3014342', '3014368', '3014468', '3014677', '3014686', '3014863', '3015755', '3015866', '3015876', '3015947', '3016220', '3016231', '3016357', '3013631', '3014051', '3015812', '3013200', '3013632', '3013633', '3013634', '3013635', '3014026', '3014127', '3014543', '3014638', '3014665', '3015198', '3015492', '3015695', '3015787', '3015798', '3015869', '3015968', '3015999', '3016123', '3013636', '3013637', '3013638', '3013639', '3013640', '3013942', '3014200', '3014771', '3014851', '3015938', '3013641', '3013642', '3013643', '3014294', '3015146', '3015238', '3015587', '3015636', '3015745', '3015919', '3016224', '3016261', '3016417', '3016443', '3013295', '3013644', '3013645', '3013646', '3014547', '3014581', '3014887', '3015337', '3015401', '3015410', '3015473', '3015593', '3015827', '3016419', '3013291', '3013648', '3013649', '3014709', '3015744', '3015765', '3015983', '3013650', '3014741', '3016331', '3013651', '3013652', '3013653', '3013654', '3013655', '3015652', '3015668', '3016066', '3013656', '3013657', '3013658', '3013659', '3014949', '3015167', '3016351')) AND (k.id IN ('3', '19', '47', '53', '67', '81', '123', '165', '170', '183', '195', '196', '209', '228', '419', '435', '532', '539', '601', '950', '1101', '1178', '1303', '1341'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k |
range |
PRIMARY,ix_school_id_kuchikomi |
PRIMARY |
4 |
|
24 |
Using where |
|
23 |
0.001047 |
SELECT `k`.* FROM `kuchikomi` AS `k` WHERE (k.valid = 1) AND (k.school_id IN ('3013614', '3013615', '3013616', '3013618', '3014328', '3014337', '3014501', '3014580', '3014698', '3014826', '3015321', '3015451', '3015552', '3015637', '3015638', '3015692', '3015810', '3015837', '3015857', '3016173', '3016185', '3016288', '3016289', '3016295', '3016347', '3013619', '3014211', '3016296', '3014056', '3015775', '3016168', '3016239', '3016262', '3016436', '3013620', '3013621', '3016349', '3013622', '3013623', '3013624', '3013940', '3014110', '3015324', '3015572', '3015667', '3015808', '3015895', '3015967', '3016197', '3016378', '3016476', '3016507', '3013625', '3015169', '3015197', '3015574', '3015908', '3015979', '3015980', '3015987', '3015988', '3015989', '3016364', '3013626', '3015231', '3013275', '3013303', '3013627', '3013629', '3013630', '3014116', '3014117', '3014340', '3014342', '3014368', '3014468', '3014677', '3014686', '3014863', '3015755', '3015866', '3015876', '3015947', '3016220', '3016231', '3016357', '3013631', '3014051', '3015812', '3013200', '3013632', '3013633', '3013634', '3013635', '3014026', '3014127', '3014543', '3014638', '3014665', '3015198', '3015492', '3015695', '3015787', '3015798', '3015869', '3015968', '3015999', '3016123', '3013636', '3013637', '3013638', '3013639', '3013640', '3013942', '3014200', '3014771', '3014851', '3015938', '3013641', '3013642', '3013643', '3014294', '3015146', '3015238', '3015587', '3015636', '3015745', '3015919', '3016224', '3016261', '3016417', '3016443', '3013295', '3013644', '3013645', '3013646', '3014547', '3014581', '3014887', '3015337', '3015401', '3015410', '3015473', '3015593', '3015827', '3016419', '3013291', '3013648', '3013649', '3014709', '3015744', '3015765', '3015983', '3013650', '3014741', '3016331', '3013651', '3013652', '3013653', '3013654', '3013655', '3015652', '3015668', '3016066', '3013656', '3013657', '3013658', '3013659', '3014949', '3015167', '3016351')) AND (k.id IN ('3', '19', '47', '53', '67', '81', '123', '165', '170', '183', '195', '196', '209', '228', '419', '435', '532', '539', '601', '950', '1101', '1178', '1303', '1341')) 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 |
|
24 |
Using where; Using filesort |
|
24 |
0.000357 |
SELECT `k_c`.* FROM `kuchikomi_category` AS `k_c` WHERE (k_c.kuchikomi_id IN ('1101'))
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 |
|
|
25 |
0.000567 |
DESCRIBE `member`
|
26 |
0.000357 |
SELECT `m`.* FROM `member` AS `m` WHERE (m.id IN ('1948'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
27 |
0.000417 |
SELECT `s`.* FROM `school` AS `s` WHERE (s.id IN ('3015146'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
28 |
0.000467 |
DESCRIBE `access_count_kuchikomi`
|
29 |
0.000397 |
SELECT `a_c_k`.* FROM `access_count_kuchikomi` AS `a_c_k` WHERE (a_c_k.kuchikomi_id IN ('1101'))
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 |
|
|
30 |
0.000497 |
DESCRIBE `kuchikomi_questionnaire_answer`
|
31 |
0.000387 |
SELECT `k_q_a`.* FROM `kuchikomi_questionnaire_answer` AS `k_q_a` WHERE (k_q_a.kuchikomi_id IN ('1101'))
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 |
|
|
32 |
0.001837 |
connect
|
33 |
0.000617 |
DESCRIBE `summary_count_school`
|
34 |
0.000467 |
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 |
|
|
35 |
0.000447 |
SELECT `p`.* FROM `prefecture` AS `p`
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
ALL |
|
|
|
|
47 |
|
|
36 |
0.000497 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.prefecture_id = '14')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
ref |
prefecture_id |
prefecture_id |
5 |
const |
49 |
|
|
37 |
0.000387 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.id = '916') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
38 |
0.000317 |
SELECT `p`.* FROM `prefecture` AS `p` WHERE (p.id = '14') LIMIT 1
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
p |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
39 |
0.000577 |
DESCRIBE `school_station`
|
40 |
0.000377 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id = '3015146')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
ref |
school_id |
school_id |
4 |
const |
2 |
|
|
41 |
0.000517 |
DESCRIBE `station_station_unit`
|
42 |
0.000327 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '1276')
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 |
|
|
43 |
0.000307 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '6982')
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 |
|
|
44 |
0.000297 |
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 |
|
45 |
0.000327 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.city_id = '916')
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 |
|
|
46 |
0.000317 |
SELECT `m_c`.* FROM `major_city` AS `m_c` WHERE (m_c.id IN ('6'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
m_c |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
47 |
0.007907 |
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 = 5) 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) 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 |
60270 |
Using index condition |
|
48 |
0.000637 |
DESCRIBE `dancer`
|
49 |
0.000487 |
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.000407 |
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.000547 |
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.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 |
|
54 |
0.000377 |
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.000367 |
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.000357 |
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 |
|