Total processing time: 242 ms; Peak memory: 8.249 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
13:50:31.092 | 33.8 ms | yii\db\Command::query | SELECT * FROM `tournament_team_player` `tr` WHERE `player_id`=885 |
13:50:31.216 | 3.8 ms | yii\db\Command::query | SELECT `m`.* FROM `match` `m` INNER JOIN `match_player` `mp` ON mp.match_id = m.match_id INNER JOIN `tournament` `t` ON t.tournament_id = m.tournament_id WHERE ((`mp`.`player_id`=885) AND (`t`.`is_unofficial`=0)) AND (`mp`.`team_id`=9) ORDER BY `m`.`start_dt` |
13:50:31.223 | 3.7 ms | yii\db\Command::query | SELECT COUNT(*) FROM hdbk_competition AS c INNER JOIN tournament AS t ON t.competition_id = c.competition_id INNER JOIN round AS r ON r.tournament_id = t.tournament_id |
13:50:31.000 | 3.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='persons' |
13:50:31.071 | 1.9 ms | yii\db\Command::query | SELECT * FROM `player` WHERE `player_id` IN (108, 137, 262, 119, 287, 5319, 4940, 10335, 1567, 10334, 1386, 6781, 77, 453, 1902, 6584, 3363, 4184, 4845, 4185, 10340, 4069, 772, 771, 286, 10339, 10338, 10337, 10336, 1385, 327, 80, 3362, 3358, 290, 277, 264, 190, 53, 3697, 136, 113, 112, 121, 135, 118, 307, 311, 444, 3266, 1914, 1895, 1891, 1890, 1862, 1410, 1297, 885, 846, 683, 451, 5325) |
13:50:31.131 | 1.8 ms | yii\db\Command::query | SELECT * FROM `team` WHERE (`type`='mix') AND (`is_national`=1) AND (`country_id`=219) |
13:50:31.068 | 1.8 ms | yii\db\Command::query | SELECT `team_player`.* FROM `team_player` LEFT JOIN `player` ON `team_player`.`player_id` = `player`.`player_id` WHERE (`team_player`.`status`='left') AND (NOT (`team_player`.`player_id` IN (309, 5729, 98, 1843, 114, 115, 116, 117, 2576, 120, 97, 257, 265, 256, 266, 83, 2277, 95, 822, 689, 2438, 1903, 7427))) AND (`team_player`.`team_id`=9) ORDER BY isnull(team_player.number), `team_player`.`number` |
13:50:31.058 | 1.4 ms | yii\db\Command::query | SELECT * FROM `player` WHERE `player_id` IN (309, 5729, 98, 1843, 114, 115, 116, 117, 2576, 120, 97, 257, 265, 256, 266, 83, 2277, 95, 822, 689, 2438, 1903, 7427) |
13:50:31.055 | 1.3 ms | yii\db\Command::query | SELECT `team_player`.* FROM `team_player` LEFT JOIN `player` ON `team_player`.`player_id` = `player`.`player_id` WHERE (`team_player`.`status`='accepted') AND (`team_player`.`team_id`=9) ORDER BY isnull(team_player.number), `team_player`.`number` |
13:50:31.145 | 1.1 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `match_player_stats` |
13:50:31.202 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament_team_player_result` |
13:50:31.214 | 0.9 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_player_position` |
13:50:31.004 | 0.9 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `player` |
13:50:31.136 | 0.9 ms | yii\db\Command::query | SELECT `match_player`.* FROM `match_player` LEFT JOIN `match` ON `match_player`.`match_id` = `match`.`match_id` LEFT JOIN `tournament` ON `match`.`tournament_id` = `tournament`.`tournament_id` WHERE (`match_player`.`player_id`=885) AND (NOT (`match`.`gf` IS NULL)) AND (NOT (`match`.`ga` IS NULL)) AND (`tournament`.`tournament_id`=512) AND (`match_player`.`team_id` IN (9, 257, 261, 325, 326, 531, 563)) ORDER BY `match`.`start_dt` DESC |
13:50:31.089 | 0.8 ms | yii\db\Command::query | SELECT `hdbk_season`.* FROM `hdbk_season` INNER JOIN `stats_player` `sp` ON sp.season_id = hdbk_season.season_id WHERE (`sp`.`player_id`=885) AND (`sp`.`team_id` IN ('9', '257', '261', '325', '326', '531', '563')) ORDER BY `hdbk_season`.`start_dt` DESC, `hdbk_season`.`season_id` DESC |
13:50:31.138 | 0.7 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `match_player` |
13:50:31.211 | 0.7 ms | yii\db\Command::query | SELECT * FROM `team_player` WHERE (`player_id`=885) AND (NOT (`team_id`=9)) ORDER BY `in` |
13:50:31.009 | 0.6 ms | yii\db\Command::query | SELECT sp.player_id, sp.season_id, sp.competition_id, sp.team_id, sp.tournament_id, sum(games) as games, sum(goals) as goals, sum(freekick_goals) as freekick_goals, sum(penalties) as penalties, sum(assists) as assists, sum(second_assists) as second_assists, sum(shoots) as shoots, sum(shoots_target) as shoots_target, sum(biciclets) as biciclets, sum(freekicks) as freekicks, sum(plus_minus) as plus_minus, sum(fouls) as fouls, sum(corners) as corners, sum(shoots_block) as shoots_block, sum(yellow_cards) as yellow_cards, sum(red_cards) as red_cards, sum(saves) as saves, sum(gk_shoots_target) as gk_shoots_target, sum(gk_shoots_postbar) as gk_shoots_postbar, sum(missed_goals) as missed_goals FROM stats_player as sp INNER JOIN hdbk_season as s ON s.season_id = sp.season_id INNER JOIN tournament as t ON t.tournament_id = sp.tournament_id WHERE sp.player_id = 885 AND t.is_unofficial = 0 AND sp.team_id IN (9,257,261,325,326,531,563) GROUP BY sp.season_id ORDER BY s.start_dt DESC, s.season_id DESC |
13:50:31.126 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`season_id`=12) AND (`tournament_id` IN ('18', '36', '39', '43', '57', '60', '62', '69', '231', '510', '508', '511', '512', '513', '514')) ORDER BY `start_dt` DESC |
13:50:31.010 | 0.6 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `stats_player` |
13:50:31.193 | 0.6 ms | yii\db\Command::query | SELECT * FROM `match_player_stats` WHERE (`match_id`, `player_id`) IN ((7959, 885)) |
13:50:31.198 | 0.6 ms | yii\db\Command::query | SELECT * FROM `match_player_stats` WHERE (`match_id`, `player_id`) IN ((7958, 885)) |
13:50:31.189 | 0.5 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM match_player WHERE match_id = 7961 AND player_id = 885 |
13:50:31.011 | 0.5 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'stats_player' AND kcu.table_name = 'stats_player' |
13:50:31.204 | 0.5 ms | yii\db\Command::query | SELECT `tournament_team_player_result`.* FROM `tournament_team_player_result` INNER JOIN `tournament` ON `tournament_team_player_result`.`tournament_id` = `tournament`.`tournament_id` WHERE (`tournament`.`is_published`=1) AND (`tournament_team_player_result`.`player_id`=885) ORDER BY `tournament`.`start_dt` DESC LIMIT 6 |
13:50:31.144 | 0.5 ms | yii\db\Command::query | SELECT * FROM `match_player_stats` WHERE (`match_id`, `player_id`) IN ((7961, 885)) |
13:50:31.008 | 0.5 ms | yii\db\Command::query | SELECT `team_id` FROM `team` WHERE (`type`='mix') AND (`is_national`=1) AND (`country_id`=219) |
13:50:31.147 | 0.5 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'match_player_stats' AND kcu.table_name = 'match_player_stats' |
13:50:31.215 | 0.5 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'hdbk_player_position' AND kcu.table_name = 'hdbk_player_position' |
13:50:31.203 | 0.4 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'tournament_team_player_result' AND kcu.table_name = 'tournament_team_player_result' |
13:50:31.053 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=9 |
13:50:31.195 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=14 |
13:50:31.007 | 0.4 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `team_player` |
13:50:31.000 | 0.4 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
13:50:31.220 | 0.4 ms | yii\db\Command::query | SELECT `m`.* FROM `match` `m` INNER JOIN `match_player` `mp` ON mp.match_id = m.match_id INNER JOIN `tournament` `t` ON t.tournament_id = m.tournament_id WHERE ((`mp`.`player_id`=885) AND (`t`.`is_unofficial`=0)) AND (`mp`.`team_id`=9) ORDER BY `m`.`start_dt` |
13:50:31.194 | 0.4 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM match_player WHERE match_id = 7959 AND player_id = 885 |
13:50:31.198 | 0.4 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM match_player WHERE match_id = 7958 AND player_id = 885 |
13:50:31.007 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team_player` WHERE (`player_id`=885) AND (`team_id`=9) ORDER BY `in` |
13:50:31.200 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=12 |
13:50:31.141 | 0.3 ms | yii\db\Command::query | SELECT * FROM `team_player` WHERE (`team_player`.`status`='accepted') AND (`player_id`=885) ORDER BY `team_player`.`in` DESC |
13:50:31.005 | 0.3 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'player' AND kcu.table_name = 'player' |
13:50:31.091 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`='512' |
13:50:31.230 | 0.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
13:50:31.192 | 0.3 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=57 |
13:50:31.138 | 0.3 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'match_player' AND kcu.table_name = 'match_player' |
13:50:31.213 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE 0=1 |
13:50:31.228 | 0.3 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
13:50:31.223 | 0.3 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
13:50:31.140 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=512 |
13:50:31.091 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`=12 |
13:50:31.139 | 0.2 ms | yii\db\Command::query | SELECT * FROM `match` WHERE `match_id` IN (7961, 7959, 7958) |
13:50:31.197 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=9 |
13:50:31.200 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=9 |
13:50:31.008 | 0.2 ms | yii\db\Command::query | SELECT kcu.constraint_name, kcu.column_name, kcu.referenced_table_name, kcu.referenced_column_name FROM information_schema.referential_constraints AS rc JOIN information_schema.key_column_usage AS kcu ON ( kcu.constraint_catalog = rc.constraint_catalog OR (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL) ) AND kcu.constraint_schema = rc.constraint_schema AND kcu.constraint_name = rc.constraint_name WHERE rc.constraint_schema = database() AND kcu.table_schema = database() AND rc.table_name = 'team_player' AND kcu.table_name = 'team_player' |
13:50:31.230 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
13:50:31.214 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
13:50:31.006 | 0.2 ms | yii\db\Command::query | SELECT * FROM `player` WHERE `player_id`=885 |
13:50:31.089 | 0.2 ms | yii\db\Command::query | SELECT `team_id` FROM `team` WHERE (`type`='mix') AND (`is_national`=1) AND (`country_id`=219) |
13:50:31.191 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=9 |
13:50:31.142 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
13:50:31.142 | 0.1 ms | yii\db\Command::query | SELECT * FROM `team` WHERE 0=1 ORDER BY `team`.`is_national` DESC |