No. |
time |
query |
1 |
0.001877 |
connect
|
2 |
0.000587 |
DESCRIBE `prefecture`
|
3 |
0.000367 |
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.000547 |
DESCRIBE `major_city`
|
5 |
0.000367 |
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.000587 |
DESCRIBE `summary_count_kuchikomi`
|
7 |
0.000837 |
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.000577 |
DESCRIBE `city`
|
9 |
0.000477 |
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.001057 |
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 = 7) 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.000567 |
DESCRIBE `station_unit`
|
12 |
0.000367 |
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.000407 |
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.000497 |
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 = 7) 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.000887 |
DESCRIBE `school`
|
16 |
0.000547 |
DESCRIBE `city_major_city`
|
17 |
0.000477 |
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.001857 |
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.000497 |
DESCRIBE `kuchikomi`
|
20 |
0.000597 |
DESCRIBE `kuchikomi_category`
|
21 |
0.000427 |
SELECT `k_c`.`kuchikomi_id` FROM `kuchikomi_category` AS `k_c` WHERE (k_c.category_id = 7)
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k_c |
ref |
category_id |
category_id |
4 |
const |
25 |
|
|
22 |
0.001317 |
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 ('1', '9', '26', '47', '58', '127', '128', '143', '163', '169', '192', '197', '210', '431', '471', '875', '965', '1132', '1149', '1170', '1196', '1350', '1351', '1352', '1354'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
k |
range |
PRIMARY,ix_school_id_kuchikomi |
PRIMARY |
4 |
|
25 |
Using where |
|
23 |
0.001347 |
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 ('1', '9', '26', '47', '58', '127', '128', '143', '163', '169', '192', '197', '210', '431', '471', '875', '965', '1132', '1149', '1170', '1196', '1350', '1351', '1352', '1354')) 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 |
|
25 |
Using where; Using filesort |
|
24 |
0.000397 |
SELECT `k_c`.* FROM `kuchikomi_category` AS `k_c` WHERE (k_c.kuchikomi_id IN ('210'))
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.000767 |
DESCRIBE `member`
|
26 |
0.000387 |
SELECT `m`.* FROM `member` AS `m` WHERE (m.id IN (''))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
|
|
|
|
|
|
|
no matching row in const table |
|
27 |
0.000437 |
SELECT `s`.* FROM `school` AS `s` WHERE (s.id IN ('3014709'))
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s |
const |
PRIMARY |
PRIMARY |
4 |
const |
1 |
|
|
28 |
0.000477 |
DESCRIBE `access_count_kuchikomi`
|
29 |
0.000427 |
SELECT `a_c_k`.* FROM `access_count_kuchikomi` AS `a_c_k` WHERE (a_c_k.kuchikomi_id IN ('210'))
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.000557 |
DESCRIBE `kuchikomi_questionnaire_answer`
|
31 |
0.000377 |
SELECT `k_q_a`.* FROM `kuchikomi_questionnaire_answer` AS `k_q_a` WHERE (k_q_a.kuchikomi_id IN ('210'))
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.000607 |
DESCRIBE `summary_count_school`
|
34 |
0.000447 |
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.000307 |
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.000477 |
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.000357 |
SELECT `c`.* FROM `city` AS `c` WHERE (c.id = '918') 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.000297 |
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.000527 |
DESCRIBE `school_station`
|
40 |
0.000337 |
SELECT `s_s`.* FROM `school_station` AS `s_s` WHERE (s_s.school_id = '3014709')
id |
select_type |
table |
type |
possible_keys |
key |
key_len |
ref |
rows |
Extra |
1 |
SIMPLE |
s_s |
ref |
school_id |
school_id |
4 |
const |
5 |
|
|
41 |
0.000427 |
DESCRIBE `station_station_unit`
|
42 |
0.000297 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '1427')
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.000287 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '5284')
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.000277 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '5435')
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 |
|
|
45 |
0.000277 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '5436')
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 |
|
|
46 |
0.000277 |
SELECT `s_s_s`.* FROM `station_station_unit` AS `s_s_s` WHERE (s_s_s.station_id = '5437')
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 |
|
|
47 |
0.000257 |
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 |
|
48 |
0.000297 |
SELECT `c_m_c`.* FROM `city_major_city` AS `c_m_c` WHERE (c_m_c.city_id = '918')
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 |
|
|
49 |
0.000287 |
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 |
|
|
50 |
0.000557 |
DESCRIBE `schoolgroup`
|
51 |
0.000367 |
SELECT `sg`.* FROM `schoolgroup` AS `sg` WHERE (sg.id = '94') 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 |
|
|
52 |
0.004877 |
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 = 7) 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 |
67782 |
Using index condition |
|
53 |
0.000507 |
DESCRIBE `dancer`
|
54 |
0.000427 |
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 |
|
55 |
0.000357 |
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 |
|
56 |
0.000457 |
DESCRIBE `dancer_column`
|
57 |
0.000357 |
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 |
|
58 |
0.000377 |
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 |
|
59 |
0.000337 |
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 |
|
60 |
0.000327 |
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 |
|
61 |
0.000327 |
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 |
|