SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`published_dt` AS `t0_c11`, `t0`.`priority` AS `t0_c12`, `t0`.`is_latest_show` AS `t0_c13`, `t0`.`top_show` AS `t0_c14`, `t0`.`article_form` AS `t0_c15`, `t0`.`article_category` AS `t0_c16`, `t0`.`article_subject` AS `t0_c17`, `t0`.`article_link_url` AS `t0_c18`, `t0`.`article_heading` AS `t0_c19`, `t0`.`article_body` AS `t0_c20`, `t0`.`top_pattern` AS `t0_c21`, `t0`.`top_title` AS `t0_c22`, `t0`.`top_body` AS `t0_c23`, `t0`.`top_order` AS `t0_c24` FROM `web_articles` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`history_of_id` = 69670 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_articles` AS `t0` WHERE `t0`.`history_of_id` = 69670 AND `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) LIMIT 1Connection name: default Speed: 8.116 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: range · Rows: 2 (Using index condition; Using where) · Query: DEPENDENT SUBQUERY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: ref · Rows: 2 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/article.php, line 784File: APPPATH/classes/controller/news.php, line 114File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_article_id` AS `t0_c1`, `t0`.`tag` AS `t0_c2` FROM `web_article_to_tags` AS `t0` WHERE `t0`.`web_article_id` = '69689'Connection name: default Speed: 3.169 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_article_to_tags_idx_1 · Key Used: web_article_to_tags_idx_1 · Type: ref · Rows: 5 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/hasmany.php, line 79File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: APPPATH/classes/model/web/article.php, line 1046File: APPPATH/classes/controller/news.php, line 130File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT * FROM `web_article_to_tags` WHERE `tag` IN ('新着記事', '鈴木 愛', '2024年度', '42nd フジサンケイレディスクラシック', '126') AND EXISTS (SELECT 1 FROM (SELECT MAX(`id`) AS `icd` FROM `web_articles` WHERE `deleted_at` IS NULL AND `is_visibility` = 1 AND `is_draft` = 1 GROUP BY `history_of_id` ) as `lastest_article` WHERE `web_article_to_tags`.`web_article_id` = `lastest_article`.`icd`) AND `web_article_id` <> 69689 GROUP BY `web_article_id` ORDER BY COUNT(*) DESC LIMIT 1000Connection name: default Speed: 921.617 ms Query analysis: · Query: PRIMARY on <derived3> · Type: ALL · Rows: 205 (Using where; Using temporary; Using filesort; Start temporary) · Query: PRIMARY on web_article_to_tags · Possible keys: web_article_to_tags_idx_1,web_article_to_tags_idx_2 · Key Used: web_article_to_tags_idx_1 · Type: ref · Rows: 4 (Using where; End temporary) · Query: DERIVED on web_articles · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: ref · Rows: 20528 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/article/to/tag.php, line 204File: APPPATH/classes/model/web/article.php, line 804File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT MAX(`id`) AS `icd`
FROM `web_articles`
WHERE `deleted_at` IS NULL
AND `id` IN (69716,69603,69718,69659,69640,69684,69686,69625,69654,69648,69630,69662,69151,69681,69656,69632,69704,69717,69608,68974,69284,68835,68088,69001,68804,69210,68913,68231,68893,69184,69231,69995,66818,68106,67520,68152,68510,68878,68764,69443,69959,70113,65720,68553,38671,66579,66986,68536,68621,68857,68903,68954,68928,68862,68950,69072,69093,69123,69028,69135,69493,69550,69127,69955,69991,69935,69579,61943,62028,64666,69649,68777,68181,70072,67559,69167,65902,69848,68496,68280,65522,68873,69431,68122,69692,69967,64735,68219,68632,68607,68234,66694,69064,69537,69468,69188,66367,69883,70111,70125,69781,69733,64700,68041,68148,68133,67621,65699,68372,68318,68187,68540,68669,68658,68506,65561,68779,68982,69095,69074,68980,68832,69345,69290,69438,69560,69530,69426,68821,64649,69879,70011,69853,70067,21753,66017,67010,65769,64744,68097,68128,68158,68120,68091,64717,68239,68179,68285,68415,68401,68266,68259,68578,68580,68629,68701,68700,68609,68519,68190,64609,68780,68871,68930,68919,68792,69040,69007,68964,69058,69120,69118,69068,68994,69208,69166,69281,69408,69329,69273,69190,69496,69460,69403,69542,69584,69565,69543,69189,68735,65379,69719,69785,69783,69926,69922,69819,69979,70028,70016,69875,70062,70096,70068,33482,33508,65674,64785,64561,66198,65745,66552,67297,66527,65722,64316,67666,67502,68084,68109,68099,68090,67396,68138,68130,68121,68149,68160,68155,68141,68114,67387,63533,68173,68242,68270,68240,68204,68171,68344,68330,68264,68435,68758,68468,68332,68258,68168,68537,68505,68545,68606,68585,68527,68657,68603,68639,68718,68691,68635,68608,68473,68164,63356,68802,68839,68831,68798,68730,68897,68869,68901,68856,68984,68999,69025,69035,68997,68951,69089,69063,69113,69085,68952,68749,69158,69192,69234,69225,69185,69352,69283,69248,69391,69409,69328,69351,69275,69433,69405,69455,69609,69449,69384,69557,69541,69508,69561,69589,69591,69516,69401,68746,63196,69693,69732,69734,69771,69815,69779,69759,69614,69899,69818,69884,69911,69918,69880,69822,70020,69972,70021,70026,70019,69826,70075,70094,70086,70039,70035,70033,63144,61349,61393,61606,61807,61961,62007,62085,62115,62136,62478,62508,62524,62543,62540,62541,62557,62578,62575,62576,62605,62606,62592,62634,62623,62716,62680,62690,62756,62890,63140,23367,23088,23087,23085,22903,22902,22751,22750,22203,22202,65306,65305,64846,64845,64844,64843,5663,5664,7655,5478,5449,5438,65234,65024,64991,64988,5965,6010,6659,6681,6682,6683,6695,6701,6705,6707,6728,6724,6727,6726,9992,10142,10220,44217,14474,14977,15354,15495,15522,15601,15737,15692,15683,44201,15736,15729,44200,15765,15763,15761,15766,15867,15872,15889,16200,16231,16280,16317,16404,16862,17125,17991,18040,18233,18261,18380,18429,18443,18471,18566,18582,18609,21581,21665,21707,21706,21710,21709,21723,21724,21729,21751,21754,21750,21852,21906,22067,22452,22478,22503,22546,22674,23909,23940,24296,24707,24934,25017,25029,25075,25145,44171,25199,25227,25295,25707,25728,25926,25952,26009,26044,26084,26129,26149,26196,26221,26222,26242,26268,26289,26324,26327,26349,26423,26453,26471,26505,26522,26538,26555,26570,26604,26620,26652,26679,26695,26708,26723,32006,26801,26912,27163,27186,27225,27251,27294,27331,27356,27404,27412,27436,27447,27464,27490,27504,44156,27847,27892,31690,31712,31748,31755,31876,32550,31960,44080,32105,32113,44078,32137,32688,32696,32750,32767,32780,32817,32841,32862,32890,44067,33188,33225,33289,33279,33385,33416,33411,33425,33413,33470,33450,33453,33447,33474,33484,33483,33509,33507,33506,33532,33589,33598,33655,44064,33771,33812,33821,33843,34083,44062,34236,34419,34317,34405,34401,44068,34458,34494,34523,34529,34560,34563,34596,34619,34643,34661,34682,34869,44059,35543,36115,35596,35633,36114,35771,35823,35899,35943,35972,36017,36051,36072,36095,36274,36328,36365,36433,36445,36484,36585,36533,44055,36898,37050,37087,37247,40797,37301,37330,37362,37374,37431,37475,38414,37526,37587,37585,37588,37603,37635,37654,37706,44052,37765,37761,37785,37821,37844,37884,37921,37902,37950,37953,37971,37985,38004,38039,38082,44051,38871,38439,38440,38436,38632,38486,38672,38870,38631,38676,39214,38682,38683,38689,38693,39213,39212,39210,39209,39208,39460,39075,39169,39182,39273,39433,39439,39991,39742,40009,40041,40135,40507,40570,44048,40685,40738,51396,51616,51834,51925,52125,52147,52326,52420,52499,53456,53667,53821,53862,53915,53937,53985,54342,54437,54436,54479,54508,54863,54905,54980,55034,55059,55102,55112,55120,55135,55133,55127,55147,55153,55180,55202,55252,55193,55207,55212,55251,55241,55253,55259,55262,55289,55284,55271,64065,55490,55511,55549,55857,55813,55900,56185,56814,56823,56898,57006,56997,57080,57041,57210,57508,57990,58021,58037,58577,59299,59407,59517,59876,59922,59939,60185,60209,60237,60268,60273,60558,60365,60399,64090,60493,61811,61133,61134,61135,61136,61138,61139,61140,61141,61281,61144,61239,66446,62896,61275,61284,61290,61296,61567,61486,66904,61338,61346,61371,61387,61392,61407,61410,61400,61428,61444,61434,62206,61446,61467,61465,61474,61472,61487,61510,61542,61597,61566,61596,61595,61575,61592,61593,61594,61603,68528,61640,61625,61633,61658,62213,61686,61698,61691,61706,61742,61739,61737,61734,61766,61769,61759,61991,61764,61783,61781,61780,62212,61804,67264,61826,61824,61833,61831,62057,61839,63553,61877,61886,61895,61900,61909,61911,61915,61918,61924,61939,61941,61938,61946,62058,62104,61980,62005,62002,61996,62211,62022,62210,62040,62086,62069,62209,63388,62083,62088,62099,62110,62111,62117,62163,62127,62135,62147,62208,62154,66903,62162,62207,62180,62191,62185,67044,63452,62319,62225,62254,62268,62267,62266,62258,62469,62292,62287,62300,62310,62316,62337,62329,62345,62362,62408,62419,62409,62415,62399,62414,62397,62423,62434,62441,62439,62449,62450,62466,62460,62471,62472,62486,62495,62488,62492,62551,62655,62648,63896,62681,62675,62705,62715,62713,62720,62730,62737,62739,62740,62749,62752,62766,62765,62773,62789,62786,62775,62805,62814,62810,66896,62807,62836,62832,62834,62851,62865,62868,62867,62889,62893,63208,62918,62961,62954)
GROUP BY `history_of_id`Connection name: default Speed: 39.449 ms Query analysis: · Query: SIMPLE on web_articles · Possible keys: PRIMARY,id,web_articles_idx_1 · Key Used: PRIMARY · Type: range · Rows: 1000 (Using where; Using temporary) Call trace for this query:File: APPPATH/classes/model/web/article/to/tag.php, line 222File: APPPATH/classes/model/web/article.php, line 804File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`published_dt` AS `t0_c11`, `t0`.`priority` AS `t0_c12`, `t0`.`is_latest_show` AS `t0_c13`, `t0`.`top_show` AS `t0_c14`, `t0`.`article_form` AS `t0_c15`, `t0`.`article_category` AS `t0_c16`, `t0`.`article_subject` AS `t0_c17`, `t0`.`article_link_url` AS `t0_c18`, `t0`.`article_heading` AS `t0_c19`, `t0`.`article_body` AS `t0_c20`, `t0`.`top_pattern` AS `t0_c21`, `t0`.`top_title` AS `t0_c22`, `t0`.`top_body` AS `t0_c23`, `t0`.`top_order` AS `t0_c24` FROM `web_articles` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (5438, 5449, 5478, 5663, 5664, 5965, 6010, 6659, 6681, 6682, 6683, 6695, 6701, 6705, 6707, 6724, 6726, 6727, 6728, 7655, 9992, 10142, 10220, 14474, 14977, 15354, 15495, 15522, 15601, 15683, 15692, 15729, 15736, 15737, 15761, 15763, 15765, 15766, 15867, 15872, 15889, 16200, 16231, 16280, 16317, 16404, 16862, 17125, 17991, 18040, 18233, 18261, 18380, 18429, 18443, 18471, 18566, 18582, 18609, 21581, 21665, 21706, 21707, 21709, 21710, 21723, 21724, 21729, 21750, 21751, 21753, 21754, 21852, 21906, 22067, 22202, 22203, 22452, 22478, 22503, 22546, 22674, 22750, 22751, 22902, 22903, 23085, 23087, 23088, 23367, 23909, 23940, 24296, 24707, 24934, 25017, 25029, 25075, 25145, 25199, 25227, 25295, 25707, 25728, 25926, 25952, 26009, 26044, 26084, 26129, 26149, 26196, 26221, 26222, 26242, 26268, 26289, 26324, 26327, 26349, 26423, 26453, 26471, 26505, 26522, 26538, 26555, 26570, 26604, 26620, 26652, 26679, 26695, 26708, 26723, 26801, 26912, 27163, 27186, 27225, 27251, 27294, 27331, 27356, 27404, 27412, 27436, 27447, 27464, 27490, 27504, 27847, 27892, 31690, 31712, 31748, 31755, 31876, 31960, 32006, 32105, 32113, 32137, 32550, 32688, 32696, 32750, 32767, 32780, 32817, 32841, 32862, 32890, 33188, 33225, 33279, 33289, 33385, 33411, 33413, 33416, 33425, 33447, 33450, 33453, 33470, 33474, 33482, 33483, 33484, 33506, 33507, 33508, 33509, 33532, 33589, 33598, 33655, 33771, 33812, 33821, 33843, 34083, 34236, 34317, 34401, 34405, 34419, 34458, 34494, 34523, 34529, 34560, 34563, 34596, 34619, 34643, 34661, 34682, 34869, 35543, 35596, 35633, 35771, 35823, 35899, 35943, 35972, 36017, 36051, 36072, 36095, 36114, 36115, 36274, 36328, 36365, 36433, 36445, 36484, 36533, 36585, 36898, 37050, 37087, 37247, 37301, 37330, 37362, 37374, 37431, 37475, 37526, 37585, 37587, 37588, 37603, 37635, 37654, 37706, 37761, 37765, 37785, 37821, 37844, 37884, 37902, 37921, 37950, 37953, 37971, 37985, 38004, 38039, 38082, 38414, 38436, 38439, 38440, 38486, 38631, 38632, 38671, 38672, 38676, 38682, 38683, 38689, 38693, 38870, 38871, 39075, 39169, 39182, 39208, 39209, 39210, 39212, 39213, 39214, 39273, 39433, 39439, 39460, 39742, 39991, 40009, 40041, 40135, 40507, 40570, 40685, 40738, 40797, 44048, 44051, 44052, 44055, 44059, 44062, 44064, 44067, 44068, 44078, 44080, 44156, 44171, 44200, 44201, 44217, 51396, 51616, 51834, 51925, 52125, 52147, 52326, 52420, 52499, 53456, 53667, 53821, 53862, 53915, 53937, 53985, 54342, 54436, 54437, 54479, 54508, 54863, 54905, 54980, 55034, 55059, 55102, 55112, 55120, 55127, 55133, 55135, 55147, 55153, 55180, 55193, 55202, 55207, 55212, 55241, 55251, 55252, 55253, 55259, 55262, 55271, 55284, 55289, 55490, 55511, 55549, 55813, 55857, 55900, 56185, 56814, 56823, 56898, 56997, 57006, 57041, 57080, 57210, 57508, 57990, 58021, 58037, 58577, 59299, 59407, 59517, 59876, 59922, 59939, 60185, 60209, 60237, 60268, 60273, 60365, 60399, 60493, 60558, 61133, 61134, 61135, 61136, 61138, 61139, 61140, 61141, 61144, 61239, 61275, 61281, 61284, 61290, 61296, 61338, 61346, 61349, 61371, 61387, 61392, 61393, 61400, 61407, 61410, 61428, 61434, 61444, 61446, 61465, 61467, 61472, 61474, 61486, 61487, 61510, 61542, 61566, 61567, 61575, 61592, 61593, 61594, 61595, 61596, 61597, 61603, 61606, 61625, 61633, 61640, 61658, 61686, 61691, 61698, 61706, 61734, 61737, 61739, 61742, 61759, 61764, 61766, 61769, 61780, 61781, 61783, 61804, 61807, 61811, 61824, 61826, 61831, 61833, 61839, 61877, 61886, 61895, 61900, 61909, 61911, 61915, 61918, 61924, 61938, 61939, 61941, 61943, 61946, 61961, 61980, 61991, 61996, 62002, 62005, 62007, 62022, 62028, 62040, 62057, 62058, 62069, 62083, 62085, 62086, 62088, 62099, 62104, 62110, 62111, 62115, 62117, 62127, 62135, 62136, 62147, 62154, 62162, 62163, 62180, 62185, 62191, 62206, 62207, 62208, 62209, 62210, 62211, 62212, 62213, 62225, 62254, 62258, 62266, 62267, 62268, 62287, 62292, 62300, 62310, 62316, 62319, 62329, 62337, 62345, 62362, 62397, 62399, 62408, 62409, 62414, 62415, 62419, 62423, 62434, 62439, 62441, 62449, 62450, 62460, 62466, 62469, 62471, 62472, 62478, 62486, 62488, 62492, 62495, 62508, 62524, 62540, 62541, 62543, 62551, 62557, 62575, 62576, 62578, 62592, 62605, 62606, 62623, 62634, 62648, 62655, 62675, 62680, 62681, 62690, 62705, 62713, 62715, 62716, 62720, 62730, 62737, 62739, 62740, 62749, 62752, 62756, 62765, 62766, 62773, 62775, 62786, 62789, 62805, 62807, 62810, 62814, 62832, 62834, 62836, 62851, 62865, 62867, 62868, 62889, 62890, 62893, 62896, 62918, 62954, 62961, 63140, 63144, 63196, 63208, 63356, 63388, 63452, 63533, 63553, 63896, 64065, 64090, 64316, 64561, 64609, 64649, 64666, 64700, 64717, 64735, 64744, 64785, 64843, 64844, 64845, 64846, 64988, 64991, 65024, 65234, 65305, 65306, 65379, 65522, 65561, 65674, 65699, 65720, 65722, 65745, 65769, 65902, 66017, 66198, 66367, 66446, 66527, 66552, 66579, 66694, 66818, 66896, 66903, 66904, 66986, 67010, 67044, 67264, 67297, 67387, 67396, 67502, 67520, 67559, 67621, 67666, 68041, 68084, 68088, 68090, 68091, 68097, 68099, 68106, 68109, 68114, 68120, 68121, 68122, 68128, 68130, 68133, 68138, 68141, 68148, 68149, 68152, 68155, 68158, 68160, 68164, 68168, 68171, 68173, 68179, 68181, 68187, 68190, 68204, 68219, 68231, 68234, 68239, 68240, 68242, 68258, 68259, 68264, 68266, 68270, 68280, 68285, 68318, 68330, 68332, 68344, 68372, 68401, 68415, 68435, 68468, 68473, 68496, 68505, 68506, 68510, 68519, 68527, 68528, 68536, 68537, 68540, 68545, 68553, 68578, 68580, 68585, 68603, 68606, 68607, 68608, 68609, 68621, 68629, 68632, 68635, 68639, 68657, 68658, 68669, 68691, 68700, 68701, 68718, 68730, 68735, 68746, 68749, 68758, 68764, 68777, 68779, 68780, 68792, 68798, 68802, 68804, 68821, 68831, 68832, 68835, 68839, 68856, 68857, 68862, 68869, 68871, 68873, 68878, 68893, 68897, 68901, 68903, 68913, 68919, 68928, 68930, 68950, 68951, 68952, 68954, 68964, 68974, 68980, 68982, 68984, 68994, 68997, 68999, 69001, 69007, 69025, 69028, 69035, 69040, 69058, 69063, 69064, 69068, 69072, 69074, 69085, 69089, 69093, 69095, 69113, 69118, 69120, 69123, 69127, 69135, 69151, 69158, 69166, 69167, 69184, 69185, 69188, 69189, 69190, 69192, 69208, 69210, 69225, 69231, 69234, 69248, 69273, 69275, 69281, 69283, 69284, 69290, 69328, 69329, 69345, 69351, 69352, 69384, 69391, 69401, 69403, 69405, 69408, 69409, 69426, 69431, 69433, 69438, 69443, 69449, 69455, 69460, 69468, 69493, 69496, 69508, 69516, 69530, 69537, 69541, 69542, 69543, 69550, 69557, 69560, 69561, 69565, 69579, 69584, 69589, 69591, 69603, 69608, 69609, 69614, 69625, 69630, 69632, 69640, 69648, 69649, 69654, 69656, 69659, 69662, 69681, 69684, 69686, 69692, 69693, 69704, 69716, 69717, 69718, 69719, 69732, 69733, 69734, 69759, 69771, 69779, 69781, 69783, 69785, 69815, 69818, 69819, 69822, 69826, 69848, 69853, 69875, 69879, 69880, 69883, 69884, 69899, 69911, 69918, 69922, 69926, 69935, 69955, 69959, 69967, 69972, 69979, 69991, 69995, 70011, 70016, 70019, 70020, 70021, 70026, 70028, 70033, 70035, 70039, 70062, 70067, 70068, 70072, 70075, 70086, 70094, 70096, 70111, 70113, 70125) AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW())) ORDER BY `t0`.`published_dt` DESCConnection name: default Speed: 192.559 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_articles_idx_1 · Key Used: PRIMARY · Type: range · Rows: 1000 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/article.php, line 821File: APPPATH/classes/controller/news.php, line 131File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_article_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`display_target` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_article_to_s3s` AS `t0` WHERE `t0`.`web_article_id` = '69689' AND `t0`.`display_target` = 3 LIMIT 1Connection name: default Speed: 2.800 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_article_to_s3s_idx_1 · Key Used: web_article_to_s3s_idx_1 · Type: ref · Rows: 2 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/controller/news.php, line 138File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44451') LIMIT 1Connection name: default Speed: 2.109 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/controller/news.php, line 138File: COREPATH/classes/request.php, line 444File: DOCROOT/index.php, line 53 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 5.782 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/sp/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 141File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 23.825 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/sp/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 141File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 18.231 ms · DUPLICATE Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 63File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 11 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 5.069 ms · DUPLICATE Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/top.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 63File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 12 AND `t0`.`device` = 1 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 25.239 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 397File: APPPATH/classes/presenter/web/layout/sub/banner/lower/bottom.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 66File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`history_of_id` AS `t0_c6`, `t0`.`is_visibility` AS `t0_c7`, `t0`.`is_draft` AS `t0_c8`, `t0`.`published_dt_begin` AS `t0_c9`, `t0`.`published_dt_end` AS `t0_c10`, `t0`.`banner_place` AS `t0_c11`, `t0`.`device` AS `t0_c12`, `t0`.`banner_type` AS `t0_c13`, `t0`.`cms_s3_id` AS `t0_c14`, `t0`.`description` AS `t0_c15`, `t0`.`priority` AS `t0_c16`, `t0`.`tag` AS `t0_c17`, `t0`.`link` AS `t0_c18` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 AND (`t0`.`published_dt_begin` IS null OR `t0`.`published_dt_begin` <= NOW()) AND (`t0`.`published_dt_end` IS null OR `t0`.`published_dt_end` >= NOW()) AND `t0`.`banner_place` = 12 AND `t0`.`device` = 2 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_banners` AS `t0` WHERE `t0`.`deleted_at` IS null AND `t0`.`is_visibility` = 1 AND `t0`.`is_draft` = 1 GROUP BY `t0`.`history_of_id`)) ORDER BY `t0`.`priority` DESC, `t0`.`updated_at` DESCConnection name: default Speed: 10.486 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using index condition; Using where; Using filesort) · Query: SUBQUERY on t0 · Possible keys: web_banners_idx_1 · Key Used: web_banners_idx_1 · Type: ref · Rows: 1268 (Using where; Using index) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/banner.php, line 413File: APPPATH/classes/presenter/web/layout/sub/banner/lower/bottom.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/news/info.php, line 66File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: APPPATH/views/web/layout/template.php, line 149File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`apply_target` AS `t0_c1`, `t0`.`published_dt_begin` AS `t0_c2`, `t0`.`status_year` AS `t0_c3` FROM `web_status_years` AS `t0` WHERE `t0`.`apply_target` = 1 AND `t0`.`published_dt_begin` <= '2024/05/16 11:48:49' ORDER BY `t0`.`status_year` DESC LIMIT 1Connection name: default Speed: 4.600 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_status_years_idx_1 · Key Used: web_status_years_idx_1 · Type: range · Rows: 15 (Using index condition; Using where; Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/status/year.php, line 217File: APPPATH/classes/model/web/tournament.php, line 2583File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/16 11:48:49')Connection name: default Speed: 31.148 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/16 11:48:49' AND `t0`.`tournament_type` IN ('01')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 38.118 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20241190' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.603 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44170') LIMIT 1Connection name: default Speed: 1.444 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 2.605 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 1 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 8.261 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT web_members.id, web_members.affiliation, web_members.name_kana, web_tournament_players.web_member_id, web_tournament_players.web_member_name, web_tournament_players.web_member_name_en, web_tournament_players.is_amateur FROM `web_tournament_players` LEFT JOIN `web_members` ON (`web_members`.`id` = `web_tournament_players`.`web_member_id`) WHERE web_tournament_players.is_visibility = 1 AND web_tournament_players.web_tournament_id = 20241190 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 4.703 ms Query analysis: · Query: SIMPLE on web_tournament_players · Possible keys: web_tournament_players_idx_2 · Key Used: web_tournament_players_idx_2 · Type: ref · Rows: 109 (Using where; Using filesort) · Query: SIMPLE on web_members · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: eq_ref · Rows: 1 Call trace for this query:File: APPPATH/classes/model/web/tournament/player.php, line 276File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190) GROUP BY `t0`.`round_no`Connection name: default Speed: 1.257 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.182 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 4 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.676 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 4 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 3.758 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 4 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.957 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 4 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241190
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241190
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 2.817 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 3.665 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20241190 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/16 11:48:49' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 3.495 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20241190) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 5.933 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.460 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 2.401 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 2.413 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 3.662 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241190
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241190
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 3.419 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 2.915 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 4.112 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.280 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 1.234 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.134 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241190
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241190
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 7.670 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 2.711 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 5.371 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 2.183 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 3.344 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 5.238 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20241190
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20241190
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20241190
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 2.450 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 2.664 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 1.797 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20241190
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.805 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 3.133 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20241190 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.180 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20241190 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 6.471 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2585File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/16 11:48:49')Connection name: default Speed: 19.114 ms · DUPLICATE Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/16 11:48:49' AND `t0`.`tournament_type` IN ('02')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 33.727 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248420' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 1.722 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44331') LIMIT 1Connection name: default Speed: 4.418 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 1.680 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 1 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 7.197 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT web_members.id, web_members.affiliation, web_members.name_kana, web_tournament_players.web_member_id, web_tournament_players.web_member_name, web_tournament_players.web_member_name_en, web_tournament_players.is_amateur FROM `web_tournament_players` LEFT JOIN `web_members` ON (`web_members`.`id` = `web_tournament_players`.`web_member_id`) WHERE web_tournament_players.is_visibility = 1 AND web_tournament_players.web_tournament_id = 20248420 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 5.164 ms Query analysis: · Query: SIMPLE on web_tournament_players · Possible keys: web_tournament_players_idx_2 · Key Used: web_tournament_players_idx_2 · Type: ref · Rows: 118 (Using where; Using filesort) · Query: SIMPLE on web_members · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: eq_ref · Rows: 1 Call trace for this query:File: APPPATH/classes/model/web/tournament/player.php, line 276File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420) GROUP BY `t0`.`round_no`Connection name: default Speed: 8.575 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 7.970 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.442 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.636 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.903 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248420
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248420
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 2.353 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 4.350 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20248420 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/16 11:48:49' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 4.851 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20248420) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 9.646 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.581 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.714 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 12.865 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.208 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248420
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248420
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 2.097 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 8.353 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 4.073 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.701 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 5.033 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.138 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248420
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248420
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 11.638 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 2.705 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 5.461 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 2.162 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 3.075 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.092 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248420
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248420
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248420
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 7.976 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 2.637 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.883 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248420
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.670 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 1.258 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248420 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.202 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248420 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 8.317 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2586File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/16 11:48:49')Connection name: default Speed: 29.216 ms · DUPLICATE Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1062File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` NOT IN (20179840, 20179910, 20179930) AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`holding_dt_begin` <= '2024/05/16 11:48:49' AND `t0`.`tournament_type` IN ('05')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` ASC LIMIT 1Connection name: default Speed: 31.889 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1110File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248950' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 1.905 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`s3_path` AS `t0_c6`, `t0`.`description` AS `t0_c7`, `t0`.`file_size_kb` AS `t0_c8`, `t0`.`private_note` AS `t0_c9` FROM `cms_s3s` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` = '44053') LIMIT 1Connection name: default Speed: 4.477 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1115File: APPPATH/classes/model/web/tournament.php, line 931File: APPPATH/classes/model/web/tournament.php, line 831File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`tournament_type` AS `t0_c10`, `t0`.`tournament_name` AS `t0_c11`, `t0`.`tournament_name_en` AS `t0_c12`, `t0`.`web_member_id` AS `t0_c13`, `t0`.`web_member_name` AS `t0_c14`, `t0`.`web_member_name_en` AS `t0_c15`, `t0`.`is_amateur` AS `t0_c16`, `t0`.`ranking` AS `t0_c17`, `t0`.`ranking_type` AS `t0_c18`, `t0`.`official_type` AS `t0_c19`, `t0`.`against_par` AS `t0_c20`, `t0`.`round_sum` AS `t0_c21`, `t0`.`qualifier_flag` AS `t0_c22`, `t0`.`not_be_continued_type` AS `t0_c23`, `t0`.`not_be_continued_reason` AS `t0_c24`, `t0`.`1r` AS `t0_c25`, `t0`.`2r` AS `t0_c26`, `t0`.`3r` AS `t0_c27`, `t0`.`4r` AS `t0_c28`, `t0`.`earnings` AS `t0_c29`, `t0`.`is_earnings_non_addition` AS `t0_c30`, `t0`.`ranking_1r` AS `t0_c31`, `t0`.`ranking_1r_type` AS `t0_c32`, `t0`.`ranking_2r` AS `t0_c33`, `t0`.`ranking_2r_type` AS `t0_c34`, `t0`.`ranking_3r` AS `t0_c35`, `t0`.`ranking_3r_type` AS `t0_c36`, `t0`.`ranking_4r` AS `t0_c37`, `t0`.`ranking_4r_type` AS `t0_c38`, `t0`.`second_cut_flag` AS `t0_c39` FROM `web_tournament_records` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248950) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 1.846 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_records_idx_2 · Key Used: web_tournament_records_idx_2 · Type: ref · Rows: 90 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/record.php, line 260File: APPPATH/classes/model/web/tournament/record.php, line 556File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248950 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 2.729 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament/record.php, line 560File: APPPATH/classes/model/web/tournament.php, line 846File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_dt_tour_detail` AS `t0_c8`, `t0`.`published_dt_tour_top` AS `t0_c9`, `t0`.`course_description` AS `t0_c10`, `t0`.`last_year_winner_1` AS `t0_c11`, `t0`.`last_year_winner_2` AS `t0_c12`, `t0`.`winner_1` AS `t0_c13`, `t0`.`winner_2` AS `t0_c14` FROM `web_tournament_supplements` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`published_dt_tour_top` <= '2024/05/16 11:48:50')Connection name: default Speed: 18.124 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_supplements_idx_1 · Type: ALL · Rows: 2663 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 987File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20150011, 20150020, 20150033, 20150040, 20151020, 20151031, 20151073, 20151113, 20151121, 20151130, 20151152, 20151160, 20151190, 20151213, 20151242, 20151260, 20151270, 20151312, 20151340, 20151890, 20151900, 20151922, 20151940, 20151963, 20152010, 20152020, 20152031, 20152080, 20152090, 20152100, 20152120, 20152130, 20152140, 20152150, 20152160, 20152170, 20155027, 20158190, 20158250, 20158262, 20158300, 20158310, 20158321, 20158330, 20158340, 20158350, 20158360, 20158370, 20158380, 20158390, 20158400, 20156220, 20156240, 20157010, 20158901, 20158910, 20158930, 20160011, 20160020, 20160033, 20160040, 20161020, 20161031, 20161073, 20161113, 20161121, 20161130, 20161152, 20161160, 20161190, 20161213, 20161242, 20161260, 20161270, 20161312, 20161340, 20161890, 20161900, 20161922, 20161940, 20161963, 20162010, 20162020, 20162031, 20162080, 20162090, 20162100, 20162120, 20162130, 20162140, 20162150, 20162160, 20162170, 20162180, 20165027, 20166220, 20166240, 20167010, 20168190, 20168250, 20168262, 20168300, 20168310, 20168321, 20168330, 20168340, 20168350, 20168360, 20168370, 20168380, 20168390, 20168400, 20168410, 20168420, 20168430, 20168440, 20168901, 20168910, 20168930, 20168940, 20169011, 20169012, 20169013, 20169021, 20169022, 20169023, 20169000, 20169024, 20169111, 20169112, 20169113, 20169121, 20169122, 20169100, 20169123, 20169124, 20169131, 20169132, 20169201, 20169202, 20169930, 20170011, 20170020, 20170033, 20170040, 20171020, 20171031, 20171073, 20171113, 20171121, 20171130, 20171152, 20171160, 20171190, 20171213, 20171242, 20171260, 20171270, 20171312, 20171340, 20171890, 20171900, 20171922, 20171940, 20171963, 20172010, 20172020, 20172031, 20172080, 20172090, 20172100, 20172120, 20172130, 20172140, 20172150, 20172160, 20172170, 20172180, 20175027, 20176220, 20176240, 20177010, 20178190, 20178250, 20178262, 20178300, 20178310, 20178321, 20178330, 20178340, 20178350, 20178360, 20178370, 20178380, 20178390, 20178400, 20178410, 20178420, 20178430, 20178440, 20178450, 20178460, 20178470, 20178840, 20178901, 20178910, 20178930, 20178940, 20179011, 20179012, 20179013, 20179840, 20179910, 20179930, 20179301, 20179021, 20179022, 20179023, 20179024, 20179000, 20179111, 20179112, 20179113, 20179201, 20179202, 20179121, 20179122, 20179123, 20179124, 20179131, 20179132, 20179100, 20180011, 20180020, 20180033, 20180040, 20181020, 20181031, 20181073, 20181113, 20181121, 20181130, 20181152, 20181160, 20181190, 20181213, 20181242, 20181260, 20181270, 20181312, 20181340, 20181890, 20181900, 20181922, 20181940, 20181963, 20182010, 20182020, 20182031, 20182080, 20182090, 20182100, 20182120, 20182130, 20182140, 20182150, 20182160, 20182170, 20182180, 20185027, 20186220, 20187010, 20188190, 20188250, 20188262, 20188300, 20188310, 20188321, 20188330, 20188340, 20188350, 20188360, 20188370, 20188380, 20188390, 20188400, 20188410, 20188420, 20188430, 20188440, 20188450, 20188460, 20188840, 20188901, 20188910, 20188940, 20189301, 20189840, 20189940, 20189950, 20189960, 20189970, 20189302, 20189011, 20189012, 20189013, 20189000, 20189021, 20189023, 20189014, 20189111, 20189112, 20189113, 20189114, 20189121, 20189122, 20189123, 20189124, 20189201, 20189202, 20189131, 20189132, 20189100, 20190011, 20190020, 20190033, 20190040, 20191020, 20191031, 20191073, 20191121, 20191130, 20191152, 20191160, 20191213, 20191242, 20191260, 20191270, 20191340, 20191890, 20191900, 20191922, 20191940, 20191963, 20192010, 20192020, 20192031, 20192080, 20192090, 20192100, 20192120, 20192130, 20192140, 20192150, 20192160, 20192170, 20192180, 20192190, 20195027, 20196220, 20198190, 20198250, 20198262, 20198300, 20198310, 20198321, 20198330, 20198340, 20198350, 20198360, 20198370, 20198380, 20198390, 20198400, 20198420, 20198430, 20198440, 20198450, 20198460, 20198470, 20198840, 20198901, 20198910, 20199840, 20199950, 20199960, 20199970, 20199301, 20199302, 20199011, 20199012, 20191113, 20191190, 20191312, 20199013, 20199014, 20199015, 20199021, 20199023, 20199000, 20199027, 20199201, 20199100, 20199111, 20199112, 20199113, 20200011, 20200020, 20200033, 20200040, 20201020, 20201031, 20201073, 20201113, 20201121, 20201130, 20201152, 20201160, 20201190, 20201213, 20201260, 20201270, 20201312, 20201340, 20201890, 20201900, 20201922, 20201940, 20201963, 20202010, 20202020, 20202031, 20202080, 20202090, 20202100, 20202120, 20202130, 20202140, 20202150, 20202170, 20202180, 20202190, 20205027, 20206220, 20207010, 20208190, 20208250, 20208262, 20208300, 20208310, 20208330, 20208350, 20208360, 20208370, 20208380, 20208390, 20208400, 20208420, 20208430, 20208440, 20208450, 20208460, 20208470, 20208840, 20208901, 20208910, 20209840, 20209950, 20209960, 20209970, 20209301, 20209302, 20209000, 20209011, 20209012, 20209013, 20209014, 20209015, 20209021, 20209023, 20209027, 20209100, 20209111, 20209112, 20209113, 20209201, 20209202, 20210011, 20210020, 20210033, 20210040, 20211020, 20211031, 20211073, 20211113, 20211121, 20211130, 20211152, 20211160, 20211190, 20211213, 20211260, 20211270, 20211312, 20211340, 20211890, 20211900, 20211922, 20211940, 20211963, 20212010, 20212020, 20212031, 20212080, 20212090, 20212100, 20212120, 20212130, 20212140, 20212150, 20212170, 20212180, 20212190, 20215027, 20216220, 20217010, 20218300, 20218310, 20218330, 20218350, 20218360, 20218370, 20218380, 20218390, 20218400, 20218420, 20218430, 20218440, 20218470, 20218901, 20218910, 20218950, 20218960, 20219970, 20219301, 20219302, 20218480, 20212200, 20219000, 20219011, 20219012, 20219013, 20219014, 20219015, 20219021, 20219023, 20219027, 20219100, 20219111, 20219112, 20219113, 20219201, 20219202, 20220011, 20220020, 20220033, 20220040, 20221020, 20221031, 20221073, 20221113, 20221121, 20221130, 20221152, 20221160, 20221190, 20221213, 20221242, 20221260, 20221270, 20221312, 20221340, 20221890, 20221900, 20221922, 20221940, 20221963, 20222010, 20222020, 20222031, 20222080, 20222090, 20222100, 20222120, 20222130, 20222150, 20222170, 20222180, 20222190, 20222200, 20225027, 20226220, 20227010, 20228300, 20228310, 20228330, 20228350, 20228360, 20228370, 20228380, 20228390, 20228400, 20228420, 20228430, 20228440, 20228450, 20228460, 20228470, 20228480, 20228901, 20228950, 20228960, 20228970, 20228980, 20229970, 20229301, 20229302, 20229404, 20229401, 20229402, 20229403, 20229202, 20229201, 20229011, 20229012, 20229013, 20229014, 20229015, 20229021, 20229023, 20229027, 20229000, 20039011, 20039012, 20039013, 20039014, 20039015, 20039016, 20039021, 20039022, 20039023, 20039024, 20039025, 20039026, 20039027, 20039028, 20039029, 20039030, 20039031, 20039032, 20039033, 20039034, 20039035, 20039100, 20039111, 20039112, 20039113, 20039121, 20039122, 20039123, 20039124, 20039131, 20039132, 20228490, 20229111, 20229112, 20229113, 20229100, 20230011, 20230020, 20230033, 20230040, 20231020, 20231031, 20231073, 20231113, 20231121, 20231130, 20231152, 20231160, 20231190, 20231213, 20231242, 20231260, 20231270, 20231312, 20231340, 20231890, 20231900, 20231922, 20231940, 20231963, 20232010, 20232020, 20232031, 20232080, 20232090, 20232100, 20232120, 20232130, 20232150, 20232170, 20232180, 20232190, 20232200, 20235027, 20236220, 20237011, 20238300, 20238310, 20238321, 20238330, 20238350, 20238360, 20238370, 20238380, 20238390, 20238400, 20238420, 20238430, 20238440, 20238450, 20238460, 20238470, 20238480, 20238490, 20238500, 20238510, 20238520, 20238901, 20238950, 20238960, 20238970, 20238980, 20239970, 20239404, 20239301, 20239302, 20238530, 20239401, 20239402, 20239403, 20239011, 20239012, 20239013, 20239014, 20239015, 20239021, 20239000, 20239023, 20239027, 20238540, 20239100, 20239111, 20239112, 20239113, 20239141, 20239201, 20239202, 20240040, 20241113, 20241121, 20241160, 20241190, 20241260, 20241340, 20241922, 20241940, 20241963, 20242020, 20242031, 20242080, 20242090, 20242100, 20242130, 20242150, 20242190, 20248350, 20248400, 20248420, 20248430, 20248450, 20248500, 20248530, 20248901, 20248950, 20248960, 20249700, 20249970, 20249301, 20249302, 20249401, 20249411) AND `t0`.`id` <> '20248950' AND `t0`.`is_visibility` = 1 AND `t0`.`status_year` = 2024 AND `t0`.`tournament_type` IN ('05') AND DATE_FORMAT(holding_dt_end, '%Y-%m-%d') >= '2024-05-16') ORDER BY `t0`.`holding_dt_begin` ASC, `t0`.`holding_dt_end` ASC, `t0`.`id` ASC LIMIT 2Connection name: default Speed: 27.108 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: web_tournaments_idx_1 · Type: ref · Rows: 2573 (Using index condition; Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1015File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20248901' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 2.207 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1020File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = 20248901 AND `t0`.`resourse_type` = 15 ORDER BY `t0`.`id` DESCConnection name: default Speed: 3.008 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1035File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = '20249970' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 4.057 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: PKGPATH/exorm/classes/hasone.php, line 69File: PKGPATH/exorm/classes/model.php, line 1116File: PKGPATH/exorm/classes/model.php, line 952File: PKGPATH/exorm/classes/model.php, line 2301File: COREPATH/classes/arr.php, line 73File: APPPATH/classes/ex/core/arr.php, line 26File: APPPATH/classes/model/web/tournament.php, line 1020File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`web_tournament_id` AS `t0_c1`, `t0`.`cms_s3_id` AS `t0_c2`, `t0`.`resourse_type` AS `t0_c3`, `t0`.`description` AS `t0_c4` FROM `web_tournament_to_s3s` AS `t0` WHERE `t0`.`web_tournament_id` = 20249970 AND `t0`.`resourse_type` = 15 ORDER BY `t0`.`id` DESCConnection name: default Speed: 2.266 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_to_s3s_idx_1 · Key Used: web_tournament_to_s3s_idx_1 · Type: ref · Rows: 1 (Backward index scan) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament.php, line 1035File: APPPATH/classes/model/web/tournament.php, line 848File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 7.890 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2223File: APPPATH/classes/model/web/tournament/player.php, line 239File: APPPATH/classes/model/web/tournament.php, line 865File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`class_no` AS `t0_c11`, `t0`.`out_in_type` AS `t0_c12`, `t0`.`time_begin` AS `t0_c13`, `t0`.`batting_order` AS `t0_c14`, `t0`.`web_member_id` AS `t0_c15`, `t0`.`web_member_name` AS `t0_c16`, `t0`.`web_member_name_en` AS `t0_c17`, `t0`.`belonging_name_short` AS `t0_c18`, `t0`.`is_amateur` AS `t0_c19`, `t0`.`country_name_short` AS `t0_c20`, `t0`.`country_name_en` AS `t0_c21`, `t0`.`1r` AS `t0_c22`, `t0`.`2r` AS `t0_c23`, `t0`.`3r` AS `t0_c24`, `t0`.`4r` AS `t0_c25`, `t0`.`round_total` AS `t0_c26`, `t0`.`against_par` AS `t0_c27` FROM `web_tournament_pairings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901) GROUP BY `t0`.`round_no`Connection name: default Speed: 3.448 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_pairings_idx_1,web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/web/tournament/pairing.php, line 174File: APPPATH/classes/model/web/tournament.php, line 867File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 4.348 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 222File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 1.177 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 223File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 3.989 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 224File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`status_year` AS `t0_c8`, `t0`.`tournament_code` AS `t0_c9`, `t0`.`course_detail_number` AS `t0_c10`, `t0`.`par_1` AS `t0_c11`, `t0`.`par_2` AS `t0_c12`, `t0`.`par_3` AS `t0_c13`, `t0`.`par_4` AS `t0_c14`, `t0`.`par_5` AS `t0_c15`, `t0`.`par_6` AS `t0_c16`, `t0`.`par_7` AS `t0_c17`, `t0`.`par_8` AS `t0_c18`, `t0`.`par_9` AS `t0_c19`, `t0`.`par_10` AS `t0_c20`, `t0`.`par_11` AS `t0_c21`, `t0`.`par_12` AS `t0_c22`, `t0`.`par_13` AS `t0_c23`, `t0`.`par_14` AS `t0_c24`, `t0`.`par_15` AS `t0_c25`, `t0`.`par_16` AS `t0_c26`, `t0`.`par_17` AS `t0_c27`, `t0`.`par_18` AS `t0_c28`, `t0`.`distance_1` AS `t0_c29`, `t0`.`distance_2` AS `t0_c30`, `t0`.`distance_3` AS `t0_c31`, `t0`.`distance_4` AS `t0_c32`, `t0`.`distance_5` AS `t0_c33`, `t0`.`distance_6` AS `t0_c34`, `t0`.`distance_7` AS `t0_c35`, `t0`.`distance_8` AS `t0_c36`, `t0`.`distance_9` AS `t0_c37`, `t0`.`distance_10` AS `t0_c38`, `t0`.`distance_11` AS `t0_c39`, `t0`.`distance_12` AS `t0_c40`, `t0`.`distance_13` AS `t0_c41`, `t0`.`distance_14` AS `t0_c42`, `t0`.`distance_15` AS `t0_c43`, `t0`.`distance_16` AS `t0_c44`, `t0`.`distance_17` AS `t0_c45`, `t0`.`distance_18` AS `t0_c46`, `t0`.`round_no` AS `t0_c47` FROM `web_tournament_courses` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 5.185 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_courses_idx_1 · Key Used: web_tournament_courses_idx_1 · Type: ref · Rows: 3 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/course.php, line 123File: APPPATH/classes/model/web/tournament/course.php, line 225File: APPPATH/classes/model/web/tournament.php, line 1716File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `1r`
,NULL AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 1
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 4.016 ms Query analysis: · Query: SIMPLE on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: SIMPLE on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 3.108 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `web_tournaments`.`id` FROM `web_tournaments` LEFT JOIN `web_tournament_supplements` ON (`web_tournament_supplements`.`web_tournament_id` = `web_tournaments`.`id`) WHERE web_tournaments.is_visibility = 1 AND web_tournament_supplements.is_visibility = 1 AND web_tournaments.id = 20248901 AND CASE WHEN web_tournament_supplements.published_dt_tour_detail IS NULL THEN (CASE WHEN web_tournaments.holding_dt_begin <= '2024-07-01 00:00:00' THEN 1 ELSE 0 END) ELSE (CASE WHEN web_tournament_supplements.published_dt_tour_detail <= '2024/05/16 11:48:50' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 6.088 ms Query analysis: · Query: SIMPLE on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: SIMPLE on web_tournament_supplements · Key Used: web_tournament_supplements_idx_1 · Type: index · Rows: 2663 (Using where; Using index) Call trace for this query:File: APPPATH/classes/model/web/tournament.php, line 1634File: APPPATH/classes/model/web/tournament.php, line 744File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`published_dt_begin` AS `t0_c7`, `t0`.`published_dt_end` AS `t0_c8`, `t0`.`status_year` AS `t0_c9`, `t0`.`tournament_code` AS `t0_c10`, `t0`.`tournament_type` AS `t0_c11`, `t0`.`lpga_tour_type` AS `t0_c12`, `t0`.`tournament_name` AS `t0_c13`, `t0`.`tournament_name_short_1` AS `t0_c14`, `t0`.`tournament_name_short_2` AS `t0_c15`, `t0`.`tournament_name_short_3` AS `t0_c16`, `t0`.`tournament_name_kana` AS `t0_c17`, `t0`.`tournament_name_en` AS `t0_c18`, `t0`.`holding_dt_begin` AS `t0_c19`, `t0`.`holding_dt_end` AS `t0_c20`, `t0`.`holding_course_name` AS `t0_c21`, `t0`.`holding_course_name_en` AS `t0_c22`, `t0`.`holding_course_link_url` AS `t0_c23`, `t0`.`holding_course_pref` AS `t0_c24`, `t0`.`holding_course_address` AS `t0_c25`, `t0`.`holding_course_yards` AS `t0_c26`, `t0`.`holding_course_par` AS `t0_c27`, `t0`.`holding_course_out` AS `t0_c28`, `t0`.`holding_course_in` AS `t0_c29`, `t0`.`games_round` AS `t0_c30`, `t0`.`web_member_id` AS `t0_c31`, `t0`.`web_member_name` AS `t0_c32`, `t0`.`web_member_name_en` AS `t0_c33`, `t0`.`earnings` AS `t0_c34`, `t0`.`winner_prize` AS `t0_c35`, `t0`.`currency_class` AS `t0_c36`, `t0`.`purse_us_dollar` AS `t0_c37`, `t0`.`prize_money_us_dollar` AS `t0_c38`, `t0`.`official_site` AS `t0_c39`, `t0`.`ticket` AS `t0_c40`, `t0`.`ticket_url` AS `t0_c41`, `t0`.`access` AS `t0_c42`, `t0`.`telecast` AS `t0_c43`, `t0`.`telecast_url` AS `t0_c44`, `t0`.`event` AS `t0_c45`, `t0`.`supplementary_prize` AS `t0_c46`, `t0`.`special_prize` AS `t0_c47`, `t0`.`office_name` AS `t0_c48`, `t0`.`office_telephone_number` AS `t0_c49`, `t0`.`qualifier_cut_round` AS `t0_c50`, `t0`.`qualifier_order` AS `t0_c51`, `t0`.`qualifier_order_t_flag` AS `t0_c52`, `t0`.`qualifier_number` AS `t0_c53`, `t0`.`qualifier_score` AS `t0_c54`, `t0`.`qualifier_ap` AS `t0_c55`, `t0`.`qualifier_number_pro` AS `t0_c56`, `t0`.`qualifier_number_ama` AS `t0_c57`, `t0`.`execution_type_of_tour` AS `t0_c58`, `t0`.`discontinuance_tour_reason` AS `t0_c59`, `t0`.`qualify_id` AS `t0_c60`, `t0`.`stage_number` AS `t0_c61`, `t0`.`district_number` AS `t0_c62`, `t0`.`second_cut_round` AS `t0_c63`, `t0`.`initial_second_cut_order` AS `t0_c64`, `t0`.`second_cut_order` AS `t0_c65`, `t0`.`second_cut_order_t_flag` AS `t0_c66`, `t0`.`second_cut_number` AS `t0_c67`, `t0`.`second_cut_score` AS `t0_c68`, `t0`.`second_cut_ap` AS `t0_c69`, `t0`.`second_cut_number_pro` AS `t0_c70`, `t0`.`second_cut_number_ama` AS `t0_c71` FROM `web_tournaments` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`id` IN (20248901) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 8.327 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: PRIMARY,id,web_tournaments_idx_1 · Key Used: PRIMARY · Type: const · Rows: 1 Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament.php, line 754File: APPPATH/classes/model/web/tournament.php, line 2072File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.421 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`score_total` AS `1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 1
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`started` ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.823 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 4.845 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 1 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.262 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `2r`
,NULL AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 2
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 7.552 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 2.829 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.825 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`score_total` AS `2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 2
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 7.845 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 2.491 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 2 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.637 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `3r`
,NULL AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 3
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 8.771 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 3.494 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 2.057 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`score_total` AS `3r`
,`web_realtimes`.`4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END +
CASE WHEN `web_realtimes`.`4r` IS NULL THEN 0 ELSE `web_realtimes`.`4r` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 3
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 3.045 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 4.122 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 3 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 1.775 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 2 AS `data_source`
,`main`.`id`
,`main`.`web_member_id`
,`main`.`web_member_name`
,`main`.`web_member_name_en`
,`main`.`is_amateur`
,`main`.`ranking`
,`main`.`ranking_type`
,`main`.`stroke_1`
,`main`.`stroke_2`
,`main`.`stroke_3`
,`main`.`stroke_4`
,`main`.`stroke_5`
,`main`.`stroke_6`
,`main`.`stroke_7`
,`main`.`stroke_8`
,`main`.`stroke_9`
,`main`.`stroke_10`
,`main`.`stroke_11`
,`main`.`stroke_12`
,`main`.`stroke_13`
,`main`.`stroke_14`
,`main`.`stroke_15`
,`main`.`stroke_16`
,`main`.`stroke_17`
,`main`.`stroke_18`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `sum_stroke`
,NULL AS `qualifier_flag`
,`main`.`second_cut_flag`
,TRIM(`main`.`not_be_continued_type`) AS `not_be_continued_type`
,`main`.`not_be_continued_reason`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 1
AND `web_member_id` = `main`.`web_member_id`) AS `1r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 2
AND `web_member_id` = `main`.`web_member_id`) AS `2r`
, (SELECT `stroke_1` + `stroke_2` + `stroke_3` + `stroke_4` + `stroke_5` + `stroke_6` + `stroke_7` + `stroke_8` + `stroke_9` + `stroke_10` + `stroke_11` + `stroke_12` + `stroke_13` + `stroke_14` + `stroke_15` + `stroke_16` + `stroke_17` + `stroke_18` as `sum`
FROM `web_tournament_results`
WHERE `is_visibility` = 1
AND `web_tournament_id` = 20248901
AND `round_no` = 3
AND `web_member_id` = `main`.`web_member_id`) AS `3r`
,(CASE WHEN `main`.`stroke_1` IS NULL THEN 0 ELSE `main`.`stroke_1` END
+
CASE WHEN `main`.`stroke_2` IS NULL THEN 0 ELSE `main`.`stroke_2` END
+
CASE WHEN `main`.`stroke_3` IS NULL THEN 0 ELSE `main`.`stroke_3` END
+
CASE WHEN `main`.`stroke_4` IS NULL THEN 0 ELSE `main`.`stroke_4` END
+
CASE WHEN `main`.`stroke_5` IS NULL THEN 0 ELSE `main`.`stroke_5` END
+
CASE WHEN `main`.`stroke_6` IS NULL THEN 0 ELSE `main`.`stroke_6` END
+
CASE WHEN `main`.`stroke_7` IS NULL THEN 0 ELSE `main`.`stroke_7` END
+
CASE WHEN `main`.`stroke_8` IS NULL THEN 0 ELSE `main`.`stroke_8` END
+
CASE WHEN `main`.`stroke_9` IS NULL THEN 0 ELSE `main`.`stroke_9` END
+
CASE WHEN `main`.`stroke_10` IS NULL THEN 0 ELSE `main`.`stroke_10` END
+
CASE WHEN `main`.`stroke_11` IS NULL THEN 0 ELSE `main`.`stroke_11` END
+
CASE WHEN `main`.`stroke_12` IS NULL THEN 0 ELSE `main`.`stroke_12` END
+
CASE WHEN `main`.`stroke_13` IS NULL THEN 0 ELSE `main`.`stroke_13` END
+
CASE WHEN `main`.`stroke_14` IS NULL THEN 0 ELSE `main`.`stroke_14` END
+
CASE WHEN `main`.`stroke_15` IS NULL THEN 0 ELSE `main`.`stroke_15` END
+
CASE WHEN `main`.`stroke_16` IS NULL THEN 0 ELSE `main`.`stroke_16` END
+
CASE WHEN `main`.`stroke_17` IS NULL THEN 0 ELSE `main`.`stroke_17` END
+
CASE WHEN `main`.`stroke_18` IS NULL THEN 0 ELSE `main`.`stroke_18` END) AS `4r`
,`web_tournament_pairings`.`out_in_type`
,`web_tournament_pairings`.`time_begin`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `score`
,NULL AS `hole`
,NULL AS `today`
,`web_qualify_results`.`qualify_success_flag`
FROM `web_tournament_results` AS `main`
LEFT JOIN `web_tournament_pairings`
ON `web_tournament_pairings`.`web_tournament_id` = 20248901
AND `web_tournament_pairings`.`round_no` = 4
AND `web_tournament_pairings`.`web_member_id` = `main`.`web_member_id`
LEFT JOIN `web_tournaments`
ON `web_tournaments`.`id` = `main`.`web_tournament_id`
LEFT JOIN `web_qualify_results`
ON `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`qualify_id` = `web_tournaments`.`qualify_id`
AND `web_qualify_results`.`stage_number` = `web_tournaments`.`stage_number`
AND `web_qualify_results`.`district_number` = `web_tournaments`.`district_number`
AND `web_qualify_results`.`web_member_id` = `main`.`web_member_id`
WHERE `main`.`is_visibility` = 1
AND `main`.`web_tournament_id` = 20248901
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 6.185 ms Query analysis: · Query: PRIMARY on main · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using filesort) · Query: PRIMARY on web_tournament_pairings · Possible keys: web_tournament_pairings_idx_2 · Key Used: web_tournament_pairings_idx_2 · Type: ref · Rows: 1 · Query: PRIMARY on web_tournaments · Possible keys: PRIMARY,id · Key Used: PRIMARY · Type: const · Rows: 1 · Query: PRIMARY on web_qualify_results · Possible keys: PRIMARY · Key Used: PRIMARY · Type: eq_ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) · Query: DEPENDENT SUBQUERY on web_tournament_results · Possible keys: web_tournament_results_idx_2,web_tournament_results_idx_3,web_tournament_results_idx_4 · Key Used: web_tournament_results_idx_2 · Type: ref · Rows: 1 (Using where) Call trace for this query:File: APPPATH/classes/model/web/tournament/result.php, line 509File: APPPATH/classes/model/web/tournament.php, line 1726File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 2.457 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2247File: APPPATH/classes/model/web/tournament.php, line 1729File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASC
LIMIT 20Connection name: default Speed: 3.826 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1735File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT 1 AS `data_source`
,`web_realtimes`.`id`
,`web_realtimes`.`created_at`
,`web_realtimes`.`updated_at`
,`web_realtimes`.`web_member_id`
,`web_realtimes`.`web_member_name`
,`web_realtimes`.`web_member_name_en`
,`web_realtimes`.`is_amateur`
,NULL AS `ranking`
,NULL AS `ranking_type`
,NULL AS `qualifier_flag`
,`web_realtimes`.`score_1` AS `stroke_1`
,`web_realtimes`.`score_2` AS `stroke_2`
,`web_realtimes`.`score_3` AS `stroke_3`
,`web_realtimes`.`score_4` AS `stroke_4`
,`web_realtimes`.`score_5` AS `stroke_5`
,`web_realtimes`.`score_6` AS `stroke_6`
,`web_realtimes`.`score_7` AS `stroke_7`
,`web_realtimes`.`score_8` AS `stroke_8`
,`web_realtimes`.`score_9` AS `stroke_9`
,`web_realtimes`.`score_10` AS `stroke_10`
,`web_realtimes`.`score_11` AS `stroke_11`
,`web_realtimes`.`score_12` AS `stroke_12`
,`web_realtimes`.`score_13` AS `stroke_13`
,`web_realtimes`.`score_14` AS `stroke_14`
,`web_realtimes`.`score_15` AS `stroke_15`
,`web_realtimes`.`score_16` AS `stroke_16`
,`web_realtimes`.`score_17` AS `stroke_17`
,`web_realtimes`.`score_18` AS `stroke_18`
,`web_realtimes`.`score` AS `score`
,`web_realtimes`.`holeout_time_1` AS `holeout_time_1`
,`web_realtimes`.`holeout_time_2` AS `holeout_time_2`
,`web_realtimes`.`holeout_time_3` AS `holeout_time_3`
,`web_realtimes`.`holeout_time_4` AS `holeout_time_4`
,`web_realtimes`.`holeout_time_5` AS `holeout_time_5`
,`web_realtimes`.`holeout_time_6` AS `holeout_time_6`
,`web_realtimes`.`holeout_time_7` AS `holeout_time_7`
,`web_realtimes`.`holeout_time_8` AS `holeout_time_8`
,`web_realtimes`.`holeout_time_9` AS `holeout_time_9`
,`web_realtimes`.`holeout_time_10` AS `holeout_time_10`
,`web_realtimes`.`holeout_time_11` AS `holeout_time_11`
,`web_realtimes`.`holeout_time_12` AS `holeout_time_12`
,`web_realtimes`.`holeout_time_13` AS `holeout_time_13`
,`web_realtimes`.`holeout_time_14` AS `holeout_time_14`
,`web_realtimes`.`holeout_time_15` AS `holeout_time_15`
,`web_realtimes`.`holeout_time_16` AS `holeout_time_16`
,`web_realtimes`.`holeout_time_17` AS `holeout_time_17`
,`web_realtimes`.`holeout_time_18` AS `holeout_time_18`
,`web_realtimes`.`class_no` AS `class_no`
,`web_realtimes`.`score_total` AS `sum_stroke`
,CASE WHEN `web_realtimes`.`score_total` = 0 THEN 1 ELSE 0 END AS `started`
,TRIM(`web_realtimes`.`not_be_continued_type`) AS `not_be_continued_type`
,`web_realtimes`.`not_be_continued_reason`
,`web_realtimes`.`1r`
,`web_realtimes`.`2r`
,`web_realtimes`.`3r`
,`web_realtimes`.`score_total` AS `4r`
,`web_realtimes`.`out_in_type`
,`web_realtimes`.`time_begin`
,`web_realtimes`.`attest_no`
,NULL AS `score_1r`
,NULL AS `score_2r`
,NULL AS `score_3r`
,NULL AS `score_4r`
,NULL AS `earnings`
,NULL AS `hole`
,NULL AS `today`
,NULL AS `stop_period_message`
,(
CASE WHEN `web_realtimes`.`1r` IS NULL THEN 0 ELSE `web_realtimes`.`1r` END +
CASE WHEN `web_realtimes`.`2r` IS NULL THEN 0 ELSE `web_realtimes`.`2r` END +
CASE WHEN `web_realtimes`.`3r` IS NULL THEN 0 ELSE `web_realtimes`.`3r` END +
CASE WHEN `web_realtimes`.`score_total` IS NULL THEN 0 ELSE `web_realtimes`.`score_total` END
) AS `round_sum`
FROM `web_realtimes`
WHERE `web_realtimes`.`is_visibility` = 1
AND `web_realtimes`.`web_tournament_id` = 20248901
AND `web_realtimes`.`round_no` = 4
ORDER BY TRIM(`web_realtimes`.`not_be_continued_type`) ASC
,`web_realtimes`.`score` ASC
,`web_realtimes`.`attest_no` ASC
,`web_realtimes`.`time_begin` ASC
,`web_realtimes`.`class_no` ASC
,`web_realtimes`.`tea_off_no` ASCConnection name: default Speed: 1.737 ms Query analysis: · Query: SIMPLE on web_realtimes · Possible keys: web_realtimes_idx_2 · Key Used: web_realtimes_idx_2 · Type: ref · Rows: 1 (Using filesort) Call trace for this query:File: APPPATH/classes/model/web/realtime.php, line 246File: APPPATH/classes/model/web/tournament.php, line 1736File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`stop_period_type` AS `t0_c8`, `t0`.`stop_period_class_no` AS `t0_c9`, `t0`.`stop_period_hole_no` AS `t0_c10`, `t0`.`stop_period_class_dt_end` AS `t0_c11`, `t0`.`stop_period_dt_begin` AS `t0_c12`, `t0`.`stop_period_dt_end` AS `t0_c13`, `t0`.`stop_period_message` AS `t0_c14` FROM `cms_realtime_settings` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 5.216 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: cms_realtime_settings_idx_1 · Key Used: cms_realtime_settings_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/cms/realtime/setting.php, line 239File: APPPATH/classes/model/web/tournament.php, line 1737File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`web_tournament_id` AS `t0_c6`, `t0`.`round_no` AS `t0_c7`, `t0`.`web_member_id` AS `t0_c8`, `t0`.`web_member_name` AS `t0_c9`, `t0`.`web_member_name_en` AS `t0_c10`, `t0`.`not_be_continued_type` AS `t0_c11`, `t0`.`not_be_continued_reason` AS `t0_c12` FROM `cms_realtime_not_continueds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`web_tournament_id` = 20248901 AND `t0`.`round_no` = 4 AND `t0`.`not_be_continued_type` <> 0) ORDER BY TRIM(not_be_continued_type) ASC, TRIM(web_member_name) ASCConnection name: default Speed: 4.054 ms Query analysis: · Query: SIMPLE on t0 · Type: ALL · Rows: 524 (Using where; Using filesort) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: APPPATH/classes/model/cms/realtime/not/continued.php, line 174File: APPPATH/classes/model/web/tournament.php, line 1738File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |
SELECT `t0`.`id` AS `t0_c0`, `t0`.`created_at` AS `t0_c1`, `t0`.`updated_at` AS `t0_c2`, `t0`.`deleted_at` AS `t0_c3`, `t0`.`created_id` AS `t0_c4`, `t0`.`updated_id` AS `t0_c5`, `t0`.`is_visibility` AS `t0_c6`, `t0`.`web_tournament_id` AS `t0_c7`, `t0`.`published_target` AS `t0_c8`, `t0`.`published_type` AS `t0_c9`, `t0`.`round_no` AS `t0_c10`, `t0`.`published_dt_begin` AS `t0_c11` FROM `web_tournament_publisheds` AS `t0` WHERE `t0`.`deleted_at` IS null AND (`t0`.`is_visibility` = 1 AND `t0`.`web_tournament_id` = 20248901 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 3.002 ms Query analysis: · Query: SIMPLE on t0 · Possible keys: web_tournament_publisheds_idx_1 · Key Used: web_tournament_publisheds_idx_1 · Type: ref · Rows: 1 (Using index condition) Call trace for this query:File: PKGPATH/exorm/classes/query.php, line 1223File: PKGPATH/exorm/classes/query/soft.php, line 49File: PKGPATH/exorm/classes/query.php, line 1295File: APPPATH/classes/model/web/tournament/published.php, line 177File: APPPATH/classes/model/web/tournament.php, line 2069File: APPPATH/classes/model/web/tournament.php, line 2258File: APPPATH/classes/model/web/tournament.php, line 1788File: APPPATH/classes/model/web/tournament.php, line 869File: APPPATH/classes/model/web/tournament.php, line 2587File: APPPATH/classes/model/web/tournament.php, line 2622File: APPPATH/classes/presenter/web/layout/realtimebutton.php, line 17File: COREPATH/classes/presenter.php, line 300File: COREPATH/classes/presenter.php, line 320File: APPPATH/views/web/layout/template.php, line 313File: COREPATH/classes/view.php, line 240File: COREPATH/classes/view.php, line 254File: COREPATH/classes/view.php, line 565File: COREPATH/classes/view.php, line 207File: COREPATH/classes/response.php, line 355File: DOCROOT/index.php, line 81 |