bahis siteleri

NHL.cz na Facebooku

DANIEL DOLEJŠ

narozen

4.7.1994

výška

178 cm

věk

30 let

váha

82 kg

post

brankář

hůl

levá

CHANCE LIGA – play off 2023-2024

zápasů 4  
výhry 1  
průměr 3.75  
čisté konto 0  
úspěšnost % 86.73  
tm 0  

Celá kariéra

soutěž klub Č Gob. Zás. SP Z ZZ V P R Pr. SO Z% G A T
2008-2009 ELD D Havlíčkův Brod 1781 102 854 956 34 25 15 19 0 3.44 2 89.33 0 0 2
ELD – play off D Havlíčkův Brod 106 10 62 72 2 2 0 2 0 5.66 0 86.11 0 0 0
2009-2010 ELSD SD Havlíčkův Brod 2565 129 1351 1480 45 45 18 27 0 3.02 0 91.28 0 0 10
ELSD – S SD Havlíčkův Brod 1489 78 787 865 27 23 10 17 0 3.14 0 90.98 0 0 10
ELSD II – B SD Havlíčkův Brod 1076 51 564 615 18 18 8 10 0 2.84 0 91.71 0 0 0
ELMD MD Havlíčkův Brod 253 9 108 117 5 5 3 2 0 2.13 1 92.31 0 0 2
ELMD – S MD Havlíčkův Brod 253 9 108 117 5 5 3 2 0 2.13 1 92.31 0 0 2
2010-2011 2. liga - play off - S Spartak Pelhřimov 180 11 0 11 3 3 1 2 0 3.67 1 0.00 0 0 0
2. liga Spartak Pelhřimov 787 53 0 53 13 13 7 6 0 4.04 0 0.00 0 0 0
2. liga - S Spartak Pelhřimov 787 53 0 53 13 13 7 6 0 4.04 0 0.00 0 0 0
Noen ELJ J Havlíčkův Brod 437 25 238 263 8 7 3 5 0 3.43 1 90.49 0 0 0
Noen ELJ – I. část J Havlíčkův Brod 194 10 92 102 4 3 2 2 0 3.09 1 90.20 0 0 0
Noen ELJ – II. část – C J Havlíčkův Brod 243 15 146 161 4 4 1 3 0 3.70 0 90.68 0 0 0
ELSD SD Havlíčkův Brod 1663 80 903 983 30 30 15 15 0 2.89 1 91.86 0 1 4
ELSD – S SD Havlíčkův Brod 1058 48 546 594 20 18 11 9 0 2.72 1 91.92 0 0 4
ELSD II – A SD Havlíčkův Brod 605 32 357 389 10 10 4 6 0 3.17 0 91.77 0 1 0
ELSD – play off SD Havlíčkův Brod 124 8 69 77 3 3 1 2 0 3.87 0 89.61 0 0 0
2011-2012 1. liga HC Rebel Havlíčkův Brod 60 5 36 41 1 1 0 1 0 5.00 0 87.80 0 0 0
2. liga Spartak Pelhřimov 1411 87 0 87 25 25 11 14 0 3.70 0 0.00 0 0 0
2. liga - S Spartak Pelhřimov 1411 87 0 87 25 25 11 14 0 3.70 0 0.00 0 0 0
Noen ELJ – baráž J Havlíčkův Brod 82 7 47 54 2 2 1 1 0 5.12 0 87.04 0 0 0
ELSD SD Havlíčkův Brod 887 42 621 663 15 14 8 7 0 2.84 1 93.67 0 0 2
ELSD – S SD Havlíčkův Brod 787 33 548 581 13 13 8 5 0 2.52 1 94.32 0 0 0
ELSD II – B SD Havlíčkův Brod 100 9 73 82 2 1 0 2 0 5.40 0 89.02 0 0 2
2012-2013 1. liga HC Rebel Havlíčkův Brod 1844 77 962 1039 33 28 16 17 0 2.51 1 92.59 0 0 2
1. liga - play off HC Rebel Havlíčkův Brod 194 17 133 150 4 3 0 4 0 5.26 0 88.67 0 0 0
2013-2014 Tipsport extraliga HC VÍTKOVICE STEEL 1118 47 480 527 20 18 9 11 0 2.52 0 91.08 0 0 0
Česká pojišťovna play off HC VÍTKOVICE STEEL 0 0 0 0 0 0 0 0 0 0.00 0 0.00 0 0 0
1. liga HC Rebel Havlíčkův Brod 965 41 555 596 17 17 11 6 0 2.55 2 93.12 0 0 0
1. liga - play off HC Rebel Havlíčkův Brod 0 0 0 0 0 0 0 0 0 0.00 0 0.00 0 0 0
2014-2015 Tipsport extraliga HC VÍTKOVICE STEEL 2184 91 935 1026 39 34 21 18 0 2.50 1 91.13 0 1 2
Česká pojišťovna play off HC VÍTKOVICE STEEL 84 5 29 34 2 1 1 1 0 3.57 0 85.29 0 0 0
2015-2016 Tipsport extraliga HC VÍTKOVICE STEEL 1546 67 653 720 28 24 10 18 0 2.60 3 90.69 0 0 0
Tipsport extraliga – o umístění HC VÍTKOVICE STEEL 60 4 25 29 1 1 0 1 0 4.00 0 86.21 0 0 0
2016-2017 Tipsport extraliga HC VÍTKOVICE RIDERA 795 34 380 414 17 12 8 9 0 2.57 0 91.79 0 0 2
Generali play off HC VÍTKOVICE RIDERA 18 0 5 5 1 0 0 1 0 0.00 0 100.00 0 0 0
2017-2018 Tipsport extraliga HC VÍTKOVICE RIDERA 366 14 157 171 8 5 1 7 0 2.30 0 91.81 0 0 0
Generali play off HC VÍTKOVICE RIDERA 40 1 19 20 1 0 0 1 0 1.50 0 95.00 0 0 0
WSM Liga AZ RESIDOMO Havířov 786 26 341 367 13 13 7 6 0 1.98 1 92.92 0 0 2
WSM Liga – play off AZ RESIDOMO Havířov 60 3 25 28 1 1 0 1 0 3.00 0 89.29 0 0 0
2018-2019 Tipsport extraliga HC VÍTKOVICE RIDERA 400 19 213 232 7 7 3 4 0 2.85 0 91.81 0 0 0
CHANCE LIGA HC RT TORAX Poruba 2011 1900 97 1097 1194 32 31 15 17 0 3.06 0 91.88 0 2 42
2019-2020 Tipsport extraliga HC VÍTKOVICE RIDERA 727 48 354 402 14 14 2 9 0 3.96 0 88.06 0 0 0
CHANCE LIGA HC RT TORAX Poruba 2011 657 19 330 349 11 11 7 4 0 1.74 2 94.56 0 0 0
CHANCE LIGA – 1. část HC RT TORAX Poruba 2011 298 9 119 128 5 5 3 2 0 1.81 1 92.97 0 0 0
CHANCE LIGA – o pořadí v play off HC RT TORAX Poruba 2011 359 10 211 221 6 6 4 2 0 1.67 1 95.48 0 0 0
2020-2021 Tipsport extraliga HC VÍTKOVICE RIDERA 1195 51 562 613 21 21 10 10 0 2.56 2 91.68 0 0 0
Generali Česká Cup HC VÍTKOVICE RIDERA 180 10 78 88 3 3 1 2 0 3.33 1 88.64 0 0 0
Generali Česká Cup – sk. D HC VÍTKOVICE RIDERA 180 10 78 88 3 3 1 2 0 3.33 1 88.64 0 0 0
Generali Česká pojišťovna play off HC VÍTKOVICE RIDERA 316 8 150 158 5 5 2 3 0 1.52 0 94.94 0 0 0
2021-2022 Tipsport extraliga HC VÍTKOVICE RIDERA 663 28 315 343 12 12 6 5 0 2.53 1 91.84 0 0 0
Generali Česká pojišťovna play off HC VÍTKOVICE RIDERA 59 3 14 17 1 1 0 1 0 3.05 0 82.35 0 0 0
CHANCE LIGA DRACI PARS ŠUMPERK 183 12 76 88 3 3 2 1 0 3.93 0 86.36 0 1 0
CHANCE LIGA AZ Heimstaden Havířov 415 23 199 222 8 6 2 6 0 3.33 1 89.64 0 0 0
CHANCE LIGA Celkem 598 35 275 310 11 9 4 7 0 3.51 1 88.71 0 1 0
2022-2023 CHANCE LIGA HC RT TORAX Poruba 2011 2151 87 948 1035 37 37 22 14 0 2.43 2 91.59 0 1 6
CHANCE LIGA – play off HC RT TORAX Poruba 2011 235 8 122 130 4 4 1 3 0 2.04 1 93.85 0 0 0
2023-2024 CHANCE LIGA HC RT TORAX Poruba 2011 1743 52 820 872 29 28 23 6 0 1.79 3 94.04 0 0 0
CHANCE LIGA – play off HC RT TORAX Poruba 2011 240 15 98 113 4 4 1 3 0 3.75 0 86.73 0 0 0
soutěž klub Č Gob. Zás. SP Z ZZ V P R Pr. SO Z% G A T
Vše Extraliga 1 klub 9751 430 4369 4799 180 158 74 101 0 2.65 8 91.04 0 1 4
CHANCE LIGA 4 klub 11433 482 5742 6224 197 187 107 89 0 2.53 13 92.26 0 4 52
2. liga 1 klub 2378 151 0 151 41 41 19 22 0 3.81 1 0.00 0 0 0
DHL extraliga juniorů 1 klub 519 32 285 317 10 9 4 6 0 3.70 1 89.91 0 0 0
Extraliga dorostu 1 klub 1887 112 916 1028 36 27 15 21 0 3.56 2 89.11 0 0 2
Extraliga staršího dorostu 1 klub 5239 259 2944 3203 93 92 42 51 0 2.97 2 91.91 0 1 16
Extraliga mladšího dorostu 1 klub 253 9 108 117 5 5 3 2 0 2.13 1 92.31 0 0 2

Reprezentační kariéra

soutěž klub Č Gob. Zás. SP Z ZZ V P R Pr. SO Z% G A T
2009-2010 Reprezentace 16 Česko 16 240 14 103 117 4 4 3 1 0 3.50 0 88.03 0 0 0
2010-2011 Reprezentace 17 (celá sezona) Česko 17 120 2 61 63 2 2 2 0 0 1.00 1 96.83 0 0 0
Reprezentace 17 – příp. Česko 17 120 2 61 63 2 2 2 0 0 1.00 1 96.83 0 0 0
2011-2012 Reprezentace 18 (celá sezona) Česko 18 124 10 90 100 2 2 0 2 0 4.84 0 90.00 0 0 0
Reprezentace 18 – příp. Česko 18 124 10 90 100 2 2 0 2 0 4.84 0 90.00 0 0 0
2012-2013 Reprezentace 20 (celá sezona) Česko 20 91 8 49 57 2 1 0 2 0 5.27 0 85.96 0 0 0
Reprezentace 20 – příp. Česko 20 91 8 49 57 2 1 0 2 0 5.27 0 85.96 0 0 0
Reprezentace 19 (celá sezona) Česko 19 306 11 147 158 6 5 5 1 0 2.16 1 93.04 0 0 0
Reprezentace 19 – příp. Česko 19 306 11 147 158 6 5 5 1 0 2.16 1 93.04 0 0 0
Turnaj pěti v Porubě - 19 Česko 19 175 6 69 75 3 2 2 1 0 2.06 1 92.00 0 0 0
2013-2014 Reprezentace 20 (celá sezona) Česko 20 260 19 137 156 5 5 0 5 0 4.38 0 87.82 0 0 0
Reprezentace 20 – příp. Česko 20 320 21 137 158 6 5 1 5 0 3.94 0 86.71 0 0 0
soutěž Č Gob. Zás. SP Z ZZ V P R Pr. SO Z% G A T
Vše Reprezentace U16 1316 70 656 726 24 21 12 12 0 3.19 3 90.36 0 0 0
RSS | Kontakt | Všeobecné obchodní podmínky a pravidla | Cookies | Nastavení soukromí | Reklama - Provozovatel BPA sport marketing a.s. ve spolupráci s eSports, s.r.o.

ISSN 1214-5718 | dotazy na redakci: redakce@nhl.cz, obchod/reklama: obchod@hokej.cz, technický provoz: webmaster@hokej.cz

© Copyright - Všechna loga a známky NHL, loga a známky týmů NHL, jakožto další vlastnické materiály včetně log konferencí a obrázků Stanley Cupu jsou vlastnictvím NHL, NHL Enterprises, L.P. a příslušných týmů. © NHL Enterprises, L.P. Všechna práva vyhrazena.

 

Queries: 206, time: 186.983 ms, default

Time msSQL QueryRows
0.053
SET NAMES 'utf8'
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerRepository.php:17
0
0.073
explain
SELECT `id`, `name`, `surname`, `country_id`, `photo`, `date_of_birth`, `height`, `weight`,
`position`, `stick` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
25.080
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`match_bet`.* 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_match` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_match`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`match_bet` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_match`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`match_bet`.`stats_match_id` 
WHERE (DATE(`test_dev_nhlcz_s6_esports_cz`.`stats_match`.`datetime`) = CURDATE()) AND
(`league`.`code` = 'nhl') AND (`test_dev_nhlcz_s6_esports_cz`.`match_bet`.`stats_match_id` IS NOT
NULL) 
LIMIT 100
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEleagueconstPRIMARY,codecode768const1Using index
1SIMPLEcompetitionrefPRIMARY,league_idleague_id5const273Using where; Using index
1SIMPLEstats_matchrefPRIMARY,fk_stats_match_stats_competition1fk_stats_match_stats_competition15test_dev_nhlcz_s6_esports_cz.competition.id21Using where
1SIMPLEmatch_betrefPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_match.id1Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/Front/presenters/BasePresenter.php:112
0
0.164
explain
SELECT `id`, `name`, `surname` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.164
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
17.077
explain
SELECT `competition`.`id` AS `competition_id`, `competition`.`name`, `competition`.`league_id`,
`sea`.`name` AS `season`, `lea`.`code` AS `leagueCode`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_competition`.`league_id` = `league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`season` AS `sea` ON `competition`.`season` = `sea`.`year` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `lea` ON `competition`.`league_id` =
`lea`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') 
ORDER BY .`stats_competition`.`season` DESC, IFNULL(.`league`.`rank`, 9223372036854775807),
.`stats_competition`.`priority` DESC 
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1stats_player_id5const141Using where; Using temporary; Using filesort
1SIMPLEstats_competitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_competition.league_id1
1SIMPLEcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1
1SIMPLEseaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.season1
1SIMPLEleaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerStats.php:59
1
3.338
explain
SELECT `id`, `stats_team_id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team` 
WHERE (`stats_player_id` = '13272') AND (`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`from`
< NOW()) AND (`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to` > NOW() OR
UNIX_TIMESTAMP(`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to`) <= 0 OR
`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to` IS NULL) 
ORDER BY `test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`from` DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_player_2_teamreffk_stats_player_2_team_stats_player1fk_stats_player_2_team_stats_player15const15Using where; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Team/TeamFacade.php:268
1
1.251
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team`.*, `club`.`nickname` AS `nickname`,
`club`.`shortcut` AS `shortcut`, `club`.`info` AS `info`, `club`.`contacts` AS `contacts`,
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`,
`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`name` `club_name`,
`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`path` `club_logo`, `club`.`id` `clubId` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`stats_club_id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club_name` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_club`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`stats_club_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_club_name` `nameTable` 
WHERE `nameTable`.`stats_club_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`stats_club_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club` AS `club` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`stats_club_id` = `club`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo` ON `club`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`stats_club_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo` `nameTable` 
WHERE `nameTable`.`stats_club_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`stats_club_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`id` IN (769))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_teamconstPRIMARYPRIMARY4const1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
1PRIMARYstats_clubeq_refPRIMARYPRIMARY4const1Using index
1PRIMARYstats_club_namerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club.id1
1PRIMARYclubeq_refPRIMARYPRIMARY4const1
1PRIMARYstats_club_logorefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.club.id1
4DEPENDENT SUBQUERYnameTablerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club_logo.stats_club_id1Using where; Using filesort
3DEPENDENT SUBQUERYnameTablerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club_name.stats_club_id1Using where; Using filesort
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/classes/GtmPageDef.php:133
1
0.087
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.172
explain
SELECT `id`, `code`, `name` 
FROM `test_dev_nhlcz_s6_esports_cz`.`country` 
WHERE (`id` IN (1))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcountryconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/temp/cache/latte/app-Front-Player-templates-Overview-default-latte-f9f4e0ca40eb66803765d76f0f9a91f6.php:37
1
0.103
explain
SELECT `competition`.`id` AS `competition_id`, `competition`.`name`, `competition`.`league_id`,
`sea`.`name` AS `season`, `lea`.`code` AS `leagueCode`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_competition`.`league_id` = `league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`season` AS `sea` ON `competition`.`season` = `sea`.`year` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `lea` ON `competition`.`league_id` =
`lea`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') 
ORDER BY .`stats_competition`.`season` DESC, IFNULL(.`league`.`rank`, 9223372036854775807),
.`stats_competition`.`priority` DESC 
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1stats_player_id5const141Using where; Using temporary; Using filesort
1SIMPLEstats_competitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_competition.league_id1
1SIMPLEcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1
1SIMPLEseaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.season1
1SIMPLEleaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerStats.php:59
1
0.087
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.406
explain
SELECT `id`, `stats_team_id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team` 
WHERE (`stats_player_id` = '13272') AND (`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`from`
< NOW()) AND (`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to` > NOW() OR
UNIX_TIMESTAMP(`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to`) <= 0 OR
`test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`to` IS NULL) 
ORDER BY `test_dev_nhlcz_s6_esports_cz`.`stats_player_2_team`.`from` DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_player_2_teamreffk_stats_player_2_team_stats_player1fk_stats_player_2_team_stats_player15const15Using where; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Team/TeamFacade.php:268
1
0.711
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team`.*, `club`.`nickname` AS `nickname`,
`club`.`shortcut` AS `shortcut`, `club`.`info` AS `info`, `club`.`contacts` AS `contacts`,
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`,
`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`name` `club_name`,
`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`path` `club_logo` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`stats_club_id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club_name` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_club`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`stats_club_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_club_name` `nameTable` 
WHERE `nameTable`.`stats_club_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_club_name`.`stats_club_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club` AS `club` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`stats_club_id` = `club`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo` ON `club`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`stats_club_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo` `nameTable` 
WHERE `nameTable`.`stats_club_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_club_logo`.`stats_club_id`
ORDER BY IFNULL(NOW() BETWEEN `nameTable`.`from` AND `nameTable`.`to`, 0) DESC, (`nameTable`.`from`
IS NULL AND NOW() <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND NOW() >=
`nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_team`.`id` IN (769))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_teamconstPRIMARYPRIMARY4const1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
1PRIMARYstats_clubeq_refPRIMARYPRIMARY4const1Using index
1PRIMARYstats_club_namerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club.id1
1PRIMARYclubeq_refPRIMARYPRIMARY4const1
1PRIMARYstats_club_logorefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.club.id1
4DEPENDENT SUBQUERYnameTablerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club_logo.stats_club_id1Using where; Using filesort
3DEPENDENT SUBQUERYnameTablerefstats_club_idstats_club_id5test_dev_nhlcz_s6_esports_cz.stats_club_name.stats_club_id1Using where; Using filesort
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/Front/Player/components/Stats.php:87
1
17.014
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`match_bet`.`value` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_match` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`match_bet` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_match`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`match_bet`.`stats_match_id` 
WHERE (`stats_team_home_id` IN (769) OR `stats_team_guest_id` IN (769)) AND
(DATE(`test_dev_nhlcz_s6_esports_cz`.`stats_match`.`datetime`) >= CURDATE()) AND
(`test_dev_nhlcz_s6_esports_cz`.`match_bet`.`bet_type_code` = 'link') 
ORDER BY `test_dev_nhlcz_s6_esports_cz`.`stats_match`.`datetime` ASC 
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_matchindex_mergePRIMARY,fk_stats_match_stats_team1,fk_stats_match_stats_team2fk_stats_match_stats_team1,fk_stats_match_stats_team25,5670Using union(fk_stats_match_stats_team1,fk_stats_match_stats_team2); Using where; Using filesort
1SIMPLEmatch_beteq_refPRIMARY,match_bet_bet_typePRIMARY64test_dev_nhlcz_s6_esports_cz.stats_match.id,const1Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/Front/Player/components/Stats.php:102
0
0.806
explain
SELECT DISTINCT `sea`.* 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`season` AS `sea` ON `competition`.`season` = `sea`.`year` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`repre` = 0) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) 
ORDER BY `sea`.`year` ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id5const141Using where; Using index; Using temporary; Using filesort
1SIMPLEcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEseaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.season1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerStats.php:89
16
0.046
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.072
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.066
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.047
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.041
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.066
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.063
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.073
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.066
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.061
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.058
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.047
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.047
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.050
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.052
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.055
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.586
explain
SELECT DISTINCT `sea`.* 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`season` AS `sea` ON `competition`.`season` = `sea`.`year` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`repre` = 1) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) 
ORDER BY `sea`.`year` ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id5const141Using where; Using index; Using temporary; Using filesort
1SIMPLEcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEseaeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.season1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerStats.php:113
5
0.045
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.044
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.044
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.044
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.045
explain
SELECT `id`, `position` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
0.526
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2008) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcompetitionrefPRIMARY,sezonasezona4const65Using where; Using temporary; Using filesort
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,test_dev_nhlcz_s6_esports_cz.competition.id1Using where; Using index
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
2
0.977
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 712)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.797
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 209) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 712)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.289
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 712) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.723
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 742)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.422
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 209) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 742)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.285
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 742) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.618
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2009) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcompetitionrefPRIMARY,sezonasezona4const102Using where; Using temporary; Using filesort
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,test_dev_nhlcz_s6_esports_cz.competition.id1Using where; Using index
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
2
1.069
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 807)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
1.307
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 584) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 807)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
2
0.284
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 807) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.868
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 6632)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
1.168
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 607) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 6632)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_team1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_team1,fk_stats_goalkeepers_stats_player1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
1
0.272
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 6632) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.657
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2010) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcompetitionrefPRIMARY,sezonasezona4const101Using where; Using temporary; Using filesort
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,test_dev_nhlcz_s6_esports_cz.competition.id1Using where; Using index
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
5
2.035
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 893)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.699
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 142) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 893)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.363
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 893) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
1.008
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 965)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.628
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 142) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 965)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
1
0.282
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 965) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.428
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 959)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.981
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 196) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 959)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
2
0.276
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 959) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.987
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 933)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.716
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 584) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 933)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
2
0.273
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 933) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.437
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 957)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.416
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 584) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 957)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.277
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 957) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.591
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2011) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id5const141Using where; Using index; Using temporary; Using filesort
1SIMPLEcompetitioneq_refPRIMARY,sezonaPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
4
1.147
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 992)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.709
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 124) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 992)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.283
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 992) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.449
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1002)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.635
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 142) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1002)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
1
0.262
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1002) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.823
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1117)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.404
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 196) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1117)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.327
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1117) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.737
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1014)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.715
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 584) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1014)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team15,51Using intersect(fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_team1); Using where
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
2
0.291
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1014) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.533
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2012) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id5const141Using where; Using index; Using temporary; Using filesort
1SIMPLEcompetitioneq_refPRIMARY,sezonaPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
2
0.720
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1135)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.416
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 124) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1135)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.291
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1135) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
1.062
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1311)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.391
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 124) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1311)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.344
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1311) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.628
explain
SELECT DISTINCT `competition`.`id`, `competition`.`name`, `category`.`type` = 'barg' AS `isBarage` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_league` AS `league` ON `competition`.`league_id` =
`league`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_category` AS `category` ON
`competition`.`stats_category_id` = `category`.`id` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`competition`.`season` = 2013) AND
(`competition`.`statistics_visible` = 1) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` IS NULL) AND
(`competition`.`repre` = 0) 
ORDER BY `league`.`rank` ASC, `isBarage`
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id5const141Using where; Using index; Using temporary; Using filesort
1SIMPLEcompetitioneq_refPRIMARY,sezonaPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEstats_competition_treereffk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition25test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1SIMPLEleagueeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.league_id1
1SIMPLEcategoryeq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.competition.stats_category_id1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:107
4
0.840
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1621)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.809
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 7) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 1621)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.268
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 1621) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.757
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 3581)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
2.435
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 7) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 3581)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.278
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 3581) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.457
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 2231)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1
0.419
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree` ON `competition`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_previous_competition_id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`team`.`id` = 124) AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_competition_tree`.`stats_competition_id` = 2231)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYteamconstPRIMARYPRIMARY4const1
1PRIMARYstats_competition_treereffk_stats_competition_tree_stats_competition1,fk_stats_competition_tree_stats_competition2fk_stats_competition_tree_stats_competition15const1Using where
1PRIMARYstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_team1stats_player_id16const,test_dev_nhlcz_s6_esports_cz.stats_competition_tree.stats_previous_competition_id,const,const1Using where
1PRIMARYcompetitioneq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_competition_id1Using where
1PRIMARYstats_team_namerefstats_team_idstats_team_id5const2
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:193
0
0.362
explain
SELECT SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`) AS `saves`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`) AS `lost_goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`) AS `shots_against`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`) AS `minutes_played`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`) AS `matches`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`) AS `matches_initial`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`) AS `wins`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`) AS `losses`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`) AS `ties`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`) AS `clear_scores`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`) AS `average`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`) AS `saves_percentage`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`) AS `goals`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`) AS `assistances`,
SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties`) AS `penalties`,
IF(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`),ROUND(SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`)/SUM(`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`)*100,2),0)
AS `saves_percentage`,
IF(SUM(`minutes_played`),ROUND(SUM(`lost_goals`)/(SUM(`minutes_played`)/60),2),0) AS `average` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 2231) 
GROUP BY `stats_competition_id` 
HAVING COUNT(*) > 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_goalkeepersrefstats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1stats_player_id10const,const2Using where
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:219
0
0.642
explain
SELECT `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`name` `team_name`, `team`.`stats_club_id`
AS `club_id`, `team`.`id` AS `team_id`, `competition`.`league_id`, `competition`.`id`
`competition_id`, `competition`.`name`, `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`lost_goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`shots_against`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`minutes_played`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`matches_initial`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`wins`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`losses`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`ties`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`clear_scores`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`average`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`saves_percentage`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`goals`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`assistances`,
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`penalties` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_competition` AS `competition` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_competition_id` = `competition`.`id` AND
(`competition`.`id` IS NOT NULL) 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team` AS `team` ON
`test_dev_nhlcz_s6_esports_cz`.`stats_goalkeepers`.`stats_team_id` = `team`.`id` 
LEFT JOIN `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` ON `team`.`id` =
`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id` AND
(`test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`id` = (
SELECT `id` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_team_name` `nameTable` 
WHERE `nameTable`.`stats_team_id` = `test_dev_nhlcz_s6_esports_cz`.`stats_team_name`.`stats_team_id`
ORDER BY IFNULL(DATE(CONCAT(`competition`.`season`, '-12-31')) BETWEEN `nameTable`.`from` AND
`nameTable`.`to`, 0) DESC, (`nameTable`.`from` IS NULL AND DATE(CONCAT(`competition`.`season`,
'-12-31')) <= `nameTable`.`to`) DESC, (`nameTable`.`to` IS NULL AND
DATE(CONCAT(`competition`.`season`, '-12-31')) >= `nameTable`.`from`) DESC 
LIMIT 1)) 
WHERE (`summary` = 0) AND (`stats_player_id` = '13272') AND (`stats_competition_id` = 3601)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1PRIMARYstats_goalkeepersindex_mergestats_player_id,fk_stats_goalkeepers_stats_player1,fk_stats_goalkeepers_stats_competition1fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player15,51Using intersect(fk_stats_goalkeepers_stats_competition1,fk_stats_goalkeepers_stats_player1); Using where
1PRIMARYcompetitionconstPRIMARYPRIMARY4const1
1PRIMARYteameq_refPRIMARYPRIMARY4test_dev_nhlcz_s6_esports_cz.stats_goalkeepers.stats_team_id1
1PRIMARYstats_team_namerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.team.id1
2DEPENDENT SUBQUERYnameTablerefstats_team_idstats_team_id5test_dev_nhlcz_s6_esports_cz.stats_team_name.stats_team_id1Using where; Using temporary; Using filesort
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Stats/PlayerStats/PlayerSeasonStats.php:157
1

...and more

¤ ×

Unlogged

no identity

¤ ×

Front:Player:Overview:default

https://test.nhlcz.s6.esports.cz/hrac/13272?stats-section=club

Matched? Class Mask Defaults Module Request
no Route test/<presenter>/<action>[/<id>] module = Test
id = 
NULL
Test
no Route <module (xml.*|rss)>/<presenter [a-zA-Z0-9_-]+>[/<param1>][/<param2>][/<param3>] action = default
param1 = 
NULL
param2 = 
NULL
param3 = 
NULL
Export
no Route admin/<module>/<presenter>/<action>[/<id>] module = Dashboard
presenter = Homepage
action = default
id = 
NULL
Admin
yes Route hrac/<id [0-9]+>[/<presenter>] module = Player
presenter = Overview
action = default
Front Front:Player:Overview:default
id = 13272
stats-section = club
no Route klub/<id [0-9]+>[/<presenter>] module = Club
presenter = Overview
action = default
id = 
NULL
Front
no Route /clanky module = Home
presenter = Article
action = default
Front
no Route /priklepy module = News
presenter = News
action = default
Front
no Route /vyhledavani module = Search
presenter = Search
action = default
Front
no Route /archiv-clanku[/<action>][/<id \d+>] module = Article
presenter = Archive
action = default
id = 
NULL
Front
no Route zapas/<id \d+>[/<presenter>][/<action>] module = Match
presenter = Overview
action = default
Front
no Route / module = Home
presenter = Homepage
action = default
Front
may ArticleRoute <slug [a-zA-Z-0-9\-]+>/<id \d+> module = Article
presenter = Article
action = default
Front Front:Article:Article:default
slug = hrac
id = 13272
stats-section = club
no ArticleCompatRoute <slug [a-zA-Z-0-9\-]+> module = Article
presenter = Article
action = default
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>/stranka[/<leagueId \d+>]/<sectionId \d+>[/<presenter>] module = League
presenter = Page
action = default
leagueId = 
NULL
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>/sekce/<sectionId \d+> module = MinorLeague
presenter = Section
action = default
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>[/<presenter>][/<action>][/<leagueId \d+>] module = League
presenter = Overview
action = default
id = 
NULL
leagueId = 
NULL
Front
no Route <module>/<presenter>/<action>[/<id>] id = 
NULL
Front

Front\Player\OverviewPresenter::renderDefault() in /var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/Front/Player/presenters/OverviewPresenter.php:22

¤ ×

Queries: 2, time: 0.247 ms, default

Time msSQL QueryRows
0.070
SET NAMES 'utf8'
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerRepository.php:17
0
0.177
explain
SELECT `id`, `name`, `surname`, `country_id`, `photo`, `date_of_birth`, `height`, `weight`,
`position`, `stick` 
FROM `test_dev_nhlcz_s6_esports_cz`.`stats_player` 
WHERE (`test_dev_nhlcz_s6_esports_cz`.`stats_player`.`id` = '13272')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstats_playerconstPRIMARYPRIMARY4const1
/var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/model/Player/PlayerService.php:33
1
¤ ×

Unlogged

no identity

¤ ×

Front:Player:Overview:default stats-section!

https://test.nhlcz.s6.esports.cz/hrac/13272?do=stats-section&stats-section=club

Matched? Class Mask Defaults Module Request
no Route test/<presenter>/<action>[/<id>] module = Test
id = 
NULL
Test
no Route <module (xml.*|rss)>/<presenter [a-zA-Z0-9_-]+>[/<param1>][/<param2>][/<param3>] action = default
param1 = 
NULL
param2 = 
NULL
param3 = 
NULL
Export
no Route admin/<module>/<presenter>/<action>[/<id>] module = Dashboard
presenter = Homepage
action = default
id = 
NULL
Admin
yes Route hrac/<id [0-9]+>[/<presenter>] module = Player
presenter = Overview
action = default
Front Front:Player:Overview:default
id = 13272
do = stats-section
stats-section = club
no Route klub/<id [0-9]+>[/<presenter>] module = Club
presenter = Overview
action = default
id = 
NULL
Front
no Route /clanky module = Home
presenter = Article
action = default
Front
no Route /priklepy module = News
presenter = News
action = default
Front
no Route /vyhledavani module = Search
presenter = Search
action = default
Front
no Route /archiv-clanku[/<action>][/<id \d+>] module = Article
presenter = Archive
action = default
id = 
NULL
Front
no Route zapas/<id \d+>[/<presenter>][/<action>] module = Match
presenter = Overview
action = default
Front
no Route / module = Home
presenter = Homepage
action = default
Front
may ArticleRoute <slug [a-zA-Z-0-9\-]+>/<id \d+> module = Article
presenter = Article
action = default
Front Front:Article:Article:default
slug = hrac
id = 13272
do = stats-section
stats-section = club
no ArticleCompatRoute <slug [a-zA-Z-0-9\-]+> module = Article
presenter = Article
action = default
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>/stranka[/<leagueId \d+>]/<sectionId \d+>[/<presenter>] module = League
presenter = Page
action = default
leagueId = 
NULL
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>/sekce/<sectionId \d+> module = MinorLeague
presenter = Section
action = default
Front
no LeagueRoute <id [a-zA-Z-0-9\-]+>[/<presenter>][/<action>][/<leagueId \d+>] module = League
presenter = Overview
action = default
id = 
NULL
leagueId = 
NULL
Front
no Route <module>/<presenter>/<action>[/<id>] id = 
NULL
Front

Front\Player\OverviewPresenter in /var/home/www/nhlcz.s6.esports.cz/subdomains/test/app/Front/Player/presenters/OverviewPresenter.php:8

¤ ×