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` = 69669 AND `t0`.`id` IN (SELECT MAX(id) AS `t0_c0` FROM `web_articles` AS `t0` WHERE `t0`.`history_of_id` = 69669 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: 3.106 ms Query analysis: · Query: PRIMARY on t0 · Possible keys: web_articles_idx_1 · Key Used: web_articles_idx_1 · Type: range · Rows: 3 (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: 3 (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` = '69686'Connection name: default Speed: 3.705 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` <> 69686 GROUP BY `web_article_id` ORDER BY COUNT(*) DESC LIMIT 1000Connection name: default Speed: 1.931 s 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 (69632,69603,69648,69717,69659,69625,69704,68928,69662,69654,69608,69684,69716,69151,69127,69630,69656,69640,69681,69718,69689,68088,69955,69543,68106,69734,69822,68621,68831,61943,69120,69158,69189,68982,69537,69591,69935,70011,69991,69979,69875,68152,68231,68536,68792,68780,68893,69028,69135,69284,69231,69550,69493,69771,67520,69918,69995,70113,65720,66017,66579,66818,69818,68980,68527,68204,69403,69184,68149,70035,68764,68635,68128,69064,69614,69001,68372,69880,68258,68608,68903,68839,68580,68168,69248,69185,68984,69455,69693,69433,69095,68155,70125,69853,70020,69967,68097,68239,68758,68332,68242,68120,68862,68700,68545,68798,68871,68804,68632,68084,69074,69040,55102,69166,69351,69281,69208,69007,69561,69541,69431,69609,68974,68148,69819,70062,70039,69922,69884,68179,61594,61606,68171,68141,68109,61807,68280,68264,68259,68505,68473,68344,68240,68099,68603,61895,68519,68639,68746,68585,68779,68913,68873,68802,68607,61961,68090,69058,62007,69118,69068,62028,68994,69192,69273,69329,69391,62209,69275,69468,69405,69560,69508,69438,69759,69733,69649,69426,68964,68121,69899,70094,70096,70033,70072,69848,62399,69826,62478,62508,62524,62543,62540,62541,62557,62578,62575,62576,62605,62606,62592,62634,62623,62716,62690,68130,62756,62890,63533,68122,68114,68091,68158,68138,68164,68181,68173,68160,68133,68041,68219,68234,68270,68285,68266,68190,68401,68435,68318,68415,68510,68468,68330,68187,67621,68540,68606,68629,68609,68578,68537,68691,68669,68658,68718,68730,68749,68701,68657,68506,68777,68821,68856,68832,68835,68869,68878,68901,68930,68919,68897,68857,68735,68496,67559,68999,69025,69035,68997,68950,69089,69072,69063,69093,69123,69113,69085,68951,69167,69190,69225,69210,69188,69283,69234,69352,69328,69345,69290,68952,69384,69449,69496,69460,69443,69401,69530,69542,69516,69584,69565,69557,69409,69692,69579,69719,69732,64316,69589,69408,68954,69883,69879,69815,69959,69911,70016,70021,69972,69926,64440,69785,70075,70026,70068,70111,70086,70067,70028,70019,69779,64700,69783,64744,68531,65456,65522,65561,69781,67502,65647,66084,66367,66663,66988,66986,67016,67476,23367,23088,23087,23085,22905,22903,22902,22751,22750,22203,22202,65306,65305,64846,64845,64844,64843,5663,5664,6695,6701,6707,6728,6724,6727,6726,6739,6737,15601,15646,44202,15737,15692,15683,44201,15736,15729,44200,15765,15763,15761,15766,28078,28082,28132,28137,28170,28171,28160,28156,28192,28195,28194,28193,33411,33425,33413,33470,33450,33453,33447,33482,33474,33484,33483,33509,33508,33507,33506,68553,39742,45520,45846,45889,45901,45911,45924,48481,45978,45944,45935,45949,46079,45969,45967,45984,55262,55289,64065,56125,58203,58234,64064,58961,59037,59043,60254,60283,60628,60658,60945,61811,61133,61134,61135,61136,61137,64040,61138,61139,61140,61141,61239,66446,62896,61275,61284,61290,61296,61567,61486,66904,61338,61346,61349,61371,61393,61387,61392,61407,61410,61400,61428,61444,61434,62206,61446,61467,61465,61474,61472,61487,61510,61542,61597,61566,61596,61595,61575,61592,61593,61603,68528,61640,61625,61633,61658,62213,61686,61698,61691,61706,61742,61739,61737,61734,61766,61769,61759,61991,61764,61783,61781,61780,62258,62469,62292,62287,62316,62337,62329,62345,62362,62408,62419,62409,62415,62414,62397,62423,62434,62441,62439,62450,62466,62460,62471,62472,62486,62495,62488,62492,62551,62655,62648,63896,62681,62680,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,62951,62960,62964,62988,62986,63032,62979,63027,63023,63021,63031,63017,63057,63061,63043,63053,63064,63070,63073,63081,63097,63093,63091,63100,63125,63113,63126,63121,63140,63144,63145,63149,63153,63175,63166,63180,63173,63179,63200,63203,63196,63225,63226,63224,63234,63240,63237,63242,63267,63274,63263,63269,63302,63300,63305,63288,63307,63333,63335,63339,63336,63355,63354,63349,63356,63364,63367,63379,63381,65329,63389,63907,63404,63432,63505,63429,63438,63436,63450,63478,63471,63486,63494,63498,63502,63521,63528,63514,63527,63542,63537,63736,64501,64495,64497,64504,64506,64524,64512,64564,64561,64557,64554,64567,64595,64586,64609,64612,64599,64603,64616,64620,64649,64647,64651,64646,64653,64669,64666,64664,64678,64682,64697,64694,64690,64715,64717,64710,64721,64722,64739,64737,64743,64785,64765,64759,64764,64767,64789,64803,64806,64797,64891,64938,64936,68529,64945,64949,68530,68522,65121,65120,65122,65136,65134,65142,65146,65354,65351,65379,65378,65381,65383,65405,65418,65416,65401,65420,65439,65443,68532,65466,65471,65459,65473,65489,65501,65502,65518,65520,65514,65533,65531,65532,65545,65553,65551,65555,65558,65580,65577,65581,65583,65586,65598,65604,65612,65608,65614,65617,65620,65630,65626,65643,65649,65645,65651,65653,65674,65678,65665,65667,65672,65702,65701,65700,65695,65699,65722,65725,65727,65745,65769,65775,65758,65776,65768,65797,65806,66899,65805,65804,66900,65826,65837,65847,65828,65846,65874,65870,65871,65872,65896,65915,65901,65886,65902,65918,65910,65913,65917,65931,65928,65926,65967,65957,65956,65949,65943,65991,65987,65996,65985,66003,66029,66025,66033,66019,66035,66049,66051,66901,66065,66077,66078,66083,66093,66098,66109,66107,66100,66131,66134,66139,66130,66129,66142,66167,66154,66163,66165,66175,66198,66208,66238,66221,66235,66225,66237,66251,66262,66256,66258,66265,66294,66277,66308,66284,66309,66307,66313,66331,66341,66338,66339,66343,66359,66377,66378,66381,66392,66393,66424,66442,66421,66433,66462,66480,66473,66482,66468,66474,66898,66520,66512,66530,66527,66523,66516,66519,66558,66539,66552,66551,66554,66567,66573,66586,66605,66603,66595,66601,66627,66626,66638,66637,66634,66655,66660,66653,66658,66679,66672,66677,66689,66685,66694,66699,66734,66721,66728,66717,66723,66735,66741,66753,66754,66749,66782,66788,66790,66764,66786,66793,66815,66817,66811,66805,66847,66862,66883,66855,66850,66865,66882,67057,66888,66919,68052,66948,66961,66958,66953,66989,66972,67000,66974,66999,67010,67006,67030)
GROUP BY `history_of_id`Connection name: default Speed: 104.399 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 (5663, 5664, 6695, 6701, 6707, 6724, 6726, 6727, 6728, 6737, 6739, 15601, 15646, 15683, 15692, 15729, 15736, 15737, 15761, 15763, 15765, 15766, 22202, 22203, 22750, 22751, 22902, 22903, 22905, 23085, 23087, 23088, 23367, 28078, 28082, 28132, 28137, 28156, 28160, 28170, 28171, 28192, 28193, 28194, 28195, 33411, 33413, 33425, 33447, 33450, 33453, 33470, 33474, 33482, 33483, 33484, 33506, 33507, 33508, 33509, 39742, 44200, 44201, 44202, 45520, 45846, 45889, 45901, 45911, 45924, 45935, 45944, 45949, 45967, 45969, 45978, 45984, 46079, 48481, 55102, 55262, 55289, 56125, 58203, 58234, 58961, 59037, 59043, 60254, 60283, 60628, 60658, 60945, 61133, 61134, 61135, 61136, 61137, 61138, 61139, 61140, 61141, 61239, 61275, 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, 61807, 61811, 61895, 61943, 61961, 61991, 62007, 62028, 62206, 62209, 62213, 62258, 62287, 62292, 62316, 62329, 62337, 62345, 62362, 62397, 62399, 62408, 62409, 62414, 62415, 62419, 62423, 62434, 62439, 62441, 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, 62680, 62681, 62690, 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, 62951, 62954, 62960, 62961, 62964, 62979, 62986, 62988, 63017, 63021, 63023, 63027, 63031, 63032, 63043, 63053, 63057, 63061, 63064, 63070, 63073, 63081, 63091, 63093, 63097, 63100, 63113, 63121, 63125, 63126, 63140, 63144, 63145, 63149, 63153, 63166, 63173, 63175, 63179, 63180, 63196, 63200, 63203, 63208, 63224, 63225, 63226, 63234, 63237, 63240, 63242, 63263, 63267, 63269, 63274, 63288, 63300, 63302, 63305, 63307, 63333, 63335, 63336, 63339, 63349, 63354, 63355, 63356, 63364, 63367, 63379, 63381, 63389, 63404, 63429, 63432, 63436, 63438, 63450, 63471, 63478, 63486, 63494, 63498, 63502, 63505, 63514, 63521, 63527, 63528, 63533, 63537, 63542, 63736, 63896, 63907, 64040, 64064, 64065, 64316, 64440, 64495, 64497, 64501, 64504, 64506, 64512, 64524, 64554, 64557, 64561, 64564, 64567, 64586, 64595, 64599, 64603, 64609, 64612, 64616, 64620, 64646, 64647, 64649, 64651, 64653, 64664, 64666, 64669, 64678, 64682, 64690, 64694, 64697, 64700, 64710, 64715, 64717, 64721, 64722, 64737, 64739, 64743, 64744, 64759, 64764, 64765, 64767, 64785, 64789, 64797, 64803, 64806, 64843, 64844, 64845, 64846, 64891, 64936, 64938, 64945, 64949, 65120, 65121, 65122, 65134, 65136, 65142, 65146, 65305, 65306, 65329, 65351, 65354, 65378, 65379, 65381, 65383, 65401, 65405, 65416, 65418, 65420, 65439, 65443, 65456, 65459, 65466, 65471, 65473, 65489, 65501, 65502, 65514, 65518, 65520, 65522, 65531, 65532, 65533, 65545, 65551, 65553, 65555, 65558, 65561, 65577, 65580, 65581, 65583, 65586, 65598, 65604, 65608, 65612, 65614, 65617, 65620, 65626, 65630, 65643, 65645, 65647, 65649, 65651, 65653, 65665, 65667, 65672, 65674, 65678, 65695, 65699, 65700, 65701, 65702, 65720, 65722, 65725, 65727, 65745, 65758, 65768, 65769, 65775, 65776, 65797, 65804, 65805, 65806, 65826, 65828, 65837, 65846, 65847, 65870, 65871, 65872, 65874, 65886, 65896, 65901, 65902, 65910, 65913, 65915, 65917, 65918, 65926, 65928, 65931, 65943, 65949, 65956, 65957, 65967, 65985, 65987, 65991, 65996, 66003, 66017, 66019, 66025, 66029, 66033, 66035, 66049, 66051, 66065, 66077, 66078, 66083, 66084, 66093, 66098, 66100, 66107, 66109, 66129, 66130, 66131, 66134, 66139, 66142, 66154, 66163, 66165, 66167, 66175, 66198, 66208, 66221, 66225, 66235, 66237, 66238, 66251, 66256, 66258, 66262, 66265, 66277, 66284, 66294, 66307, 66308, 66309, 66313, 66331, 66338, 66339, 66341, 66343, 66359, 66367, 66377, 66378, 66381, 66392, 66393, 66421, 66424, 66433, 66442, 66446, 66462, 66468, 66473, 66474, 66480, 66482, 66512, 66516, 66519, 66520, 66523, 66527, 66530, 66539, 66551, 66552, 66554, 66558, 66567, 66573, 66579, 66586, 66595, 66601, 66603, 66605, 66626, 66627, 66634, 66637, 66638, 66653, 66655, 66658, 66660, 66663, 66672, 66677, 66679, 66685, 66689, 66694, 66699, 66717, 66721, 66723, 66728, 66734, 66735, 66741, 66749, 66753, 66754, 66764, 66782, 66786, 66788, 66790, 66793, 66805, 66811, 66815, 66817, 66818, 66847, 66850, 66855, 66862, 66865, 66882, 66883, 66888, 66896, 66898, 66899, 66900, 66901, 66904, 66919, 66948, 66953, 66958, 66961, 66972, 66974, 66986, 66988, 66989, 66999, 67000, 67006, 67010, 67016, 67030, 67057, 67476, 67502, 67520, 67559, 67621, 68041, 68052, 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, 68522, 68527, 68528, 68529, 68530, 68531, 68532, 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, 69689, 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: 444.260 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` = '69686' AND `t0`.`display_target` = 3 LIMIT 1Connection name: default Speed: 3.775 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` = '44436') LIMIT 1Connection name: default Speed: 4.614 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: 15.206 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: 17.747 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.651 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: 28.931 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: 20.555 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: 26.642 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/15 18:18:34' ORDER BY `t0`.`status_year` DESC LIMIT 1Connection name: default Speed: 0.604 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/15 18:18:34')Connection name: default Speed: 23.374 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/15 18:18:34' AND `t0`.`tournament_type` IN ('01')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 58.124 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` = '20241963' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 0.615 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` = '43971') LIMIT 1Connection name: default Speed: 4.057 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` = 20241963) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 1.243 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` = 20241963 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 10.911 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 = 20241963 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 3.452 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: 108 (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` = 20241963) GROUP BY `t0`.`round_no`Connection name: default Speed: 10.085 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` = 20241963 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.251 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 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` = 20241963 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.169 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 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` = 20241963 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 6.982 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 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` = 20241963 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 0.715 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 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` = 20241963
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` = 20241963
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 4.595 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` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 4.519 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 = 20241963 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/15 18:18:34' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 7.676 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 (20241963) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 9.365 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` = 20241963
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: 5.885 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` = 20241963
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.776 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` = 20241963 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 4.267 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` = 20241963 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: 7.266 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` = 20241963
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` = 20241963
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` = 20241963
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 10.021 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` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 1.602 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` = 20241963
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: 8.498 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` = 20241963
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: 9.667 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` = 20241963 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 3.229 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` = 20241963 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: 3.549 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` = 20241963
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` = 20241963
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` = 20241963
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` = 20241963
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 8.255 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` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 2.838 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` = 20241963
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: 8.939 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` = 20241963
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: 6.518 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` = 20241963 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 0.503 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` = 20241963 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: 2.515 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` = 20241963
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` = 20241963
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` = 20241963
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` = 20241963
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` = 20241963
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 14.085 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` = 20241963 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 4.655 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` = 20241963
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.298 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` = 20241963
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: 7.781 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` = 20241963 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 3.113 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` = 20241963 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.051 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` = 20241963 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 10.628 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/15 18:18:34')Connection name: default Speed: 47.913 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/15 18:18:34' AND `t0`.`tournament_type` IN ('02')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` DESC LIMIT 1Connection name: default Speed: 62.618 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` = '20248530' AND `t0`.`resourse_type` = 15 LIMIT 1Connection name: default Speed: 15.732 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` = '44172') LIMIT 1Connection name: default Speed: 3.318 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` = 20248530) ORDER BY `t0`.`created_at` DESC LIMIT 1Connection name: default Speed: 2.505 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` = 20248530 AND `t0`.`published_target` = 1 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 4.752 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 = 20248530 ORDER BY web_tournament_players.web_member_name_kana ASC LIMIT 20Connection name: default Speed: 3.900 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: 108 (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` = 20248530) GROUP BY `t0`.`round_no`Connection name: default Speed: 5.462 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` = 20248530 AND (`t0`.`round_no` = 1 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.791 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` = 20248530 AND (`t0`.`round_no` = 2 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.639 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` = 20248530 AND (`t0`.`round_no` = 3 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.881 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` = 20248530 AND (`t0`.`round_no` = 4 OR `t0`.`round_no` = 0 OR `t0`.`round_no` IS null)) LIMIT 1Connection name: default Speed: 2.281 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` = 20248530
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` = 20248530
AND `main`.`round_no` = 1
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 7.763 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` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 3.208 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 = 20248530 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/15 18:18:34' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 2.847 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 (20248530) AND `t0`.`is_visibility` = 1) LIMIT 1Connection name: default Speed: 15.537 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` = 20248530
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: 4.610 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` = 20248530
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.754 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` = 20248530 AND `t0`.`round_no` = 1) LIMIT 1Connection name: default Speed: 3.072 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` = 20248530 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.131 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` = 20248530
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` = 20248530
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` = 20248530
AND `main`.`round_no` = 2
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 5.415 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` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 13.334 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` = 20248530
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.544 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` = 20248530
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: 0.871 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` = 20248530 AND `t0`.`round_no` = 2) LIMIT 1Connection name: default Speed: 10.104 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` = 20248530 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: 3.407 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` = 20248530
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` = 20248530
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` = 20248530
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` = 20248530
AND `main`.`round_no` = 3
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 4.129 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` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 11.454 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` = 20248530
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.381 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` = 20248530
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: 8.122 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` = 20248530 AND `t0`.`round_no` = 3) LIMIT 1Connection name: default Speed: 2.656 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` = 20248530 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: 3.898 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` = 20248530
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` = 20248530
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` = 20248530
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` = 20248530
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` = 20248530
AND `main`.`round_no` = 4
ORDER BY `main`.`ranking` IS NULL, `main`.`ranking` ASC
,`main`.`ranking_type` ASC
LIMIT 20Connection name: default Speed: 4.130 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` = 20248530 AND `t0`.`published_target` = 3 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 7.752 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` = 20248530
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: 2.092 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` = 20248530
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: 3.526 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` = 20248530 AND `t0`.`round_no` = 4) LIMIT 1Connection name: default Speed: 7.200 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` = 20248530 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: 6.414 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` = 20248530 AND `t0`.`published_target` = 4 AND `t0`.`round_no` IS null) LIMIT 1Connection name: default Speed: 2.977 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/15 18:18:34')Connection name: default Speed: 35.273 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/15 18:18:35' AND `t0`.`tournament_type` IN ('05')) ORDER BY `t0`.`holding_dt_begin` DESC, `t0`.`id` ASC LIMIT 1Connection name: default Speed: 34.747 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: 18.508 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: 9.206 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.733 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: 16.004 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/15 18:18:35')Connection name: default Speed: 17.486 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-15') ORDER BY `t0`.`holding_dt_begin` ASC, `t0`.`holding_dt_end` ASC, `t0`.`id` ASC LIMIT 2Connection name: default Speed: 58.359 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: 0.561 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: 4.608 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: 1.857 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: 3.694 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: 3.036 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.068 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: 2.949 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: 3.176 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: 4.619 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: 6.921 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: 5.085 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: 0.531 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/15 18:18:35' THEN 1 ELSE 0 END) END = 1Connection name: default Speed: 2.528 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: 13.972 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: 2.782 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: 12.745 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: 0.566 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: 3.923 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: 6.117 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: 3.770 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.394 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.219 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: 3.163 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.096 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: 12.852 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: 2.003 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: 7.960 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: 9.857 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: 5.192 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: 7.650 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: 7.128 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: 7.546 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: 4.853 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: 5.775 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: 8.919 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: 2.460 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: 11.703 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 |