Total processing time: 144 ms; Peak memory: 9.735 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
09:11:06.157 | 5.3 ms | yii\db\Command::query | SELECT `tournament_team_player`.*, if (tournament_team_player.position_id is not null, tournament_team_player.position_id, player.position_id) common_position FROM `tournament_team_player` LEFT JOIN `player` ON `tournament_team_player`.`player_id` = `player`.`player_id` WHERE (`tournament_team_player`.`status`='approved') AND ((`tournament_team_player`.`tournament_id`, `tournament_team_player`.`team_id`) IN ((346, 3))) ORDER BY isnull(common_position), FIELD (common_position, 1,2,4,3), isnull(tournament_team_player.number), `tournament_team_player`.`number`, isnull(player.number), `player`.`number`, `player`.`last_name`, `player`.`first_name` |
09:11:06.145 | 5.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='anohincup-2017-kubok-anokhina2017' |
09:11:06.218 | 3.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id` IN (22, 19)) ORDER BY `order` |
09:11:06.267 | 3.4 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=346) |
09:11:06.153 | 2.7 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE (`tournament_id`=346) AND (`team_id`='3') |
09:11:06.215 | 2.5 ms | yii\db\Command::query | SELECT `hdbk_season`.* FROM `hdbk_season` INNER JOIN `tournament` ON `hdbk_season`.`season_id` = `tournament`.`season_id` WHERE (`tournament`.`competition_id`=14) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
09:11:06.254 | 1.9 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=345) ORDER BY `start_dt` DESC |
09:11:06.212 | 1.9 ms | yii\db\Command::query | SELECT `tournament`.* FROM `tournament` INNER JOIN `match` ON `tournament`.`tournament_id` = `match`.`tournament_id` WHERE (`tournament`.`in_ru`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_schedule`=1) AND ((`tournament`.`tournament_id`=346) OR (`tournament`.`parent_tournament_id`=346)) AND ((NOT (`match`.`start_dt` IS NULL)) AND ((NOT (`team1_id` IS NULL)) OR (NOT (`team1_placeholder` IS NULL))) AND ((NOT (`team2_id` IS NULL)) OR (NOT (`team2_placeholder` IS NULL))) AND (`match`.`start_dt` BETWEEN '2025-01-16 05:00:00' AND '2025-01-17 05:00:00')) ORDER BY `tournament`.`order`, `tournament`.`full_name` |
09:11:06.252 | 1.6 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=345 ORDER BY `start_dt` DESC) `c` |
09:11:06.208 | 1.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=345 ORDER BY `start_dt` DESC |
09:11:06.164 | 1.5 ms | yii\db\Command::query | SELECT * FROM `player` WHERE `player_id` IN (108, 1891, 200, 173, 107, 691, 98, 3363, 1914, 76, 476, 35, 689, 3566, 341, 20, 6859, 44, 2866, 33, 3819, 40, 589, 1855, 3461) |
09:11:06.256 | 1.4 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM tournament |
09:11:06.249 | 1.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=19) AND (`is_published`=1) AND (`competition_id`=14) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
09:11:06.271 | 1.1 ms | yii\db\Command::query | SELECT EXISTS(SELECT `post`.* FROM `post` INNER JOIN `post_tag_assn` ON post_tag_assn.post_id = post.post_id WHERE (`post`.`type`='news') AND (`post`.`in_ru`=1) AND (`post`.`is_public`=1) AND (`post_tag_assn`.`tag_id`=346)) |
09:11:06.246 | 0.9 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=22) AND (`parent_tournament_id` IS NULL) AND (`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`competition_id`=14) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
09:11:06.247 | 0.9 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=22) AND (`is_published`=1) AND (`competition_id`=14) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
09:11:06.152 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=346 |
09:11:06.176 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE `tournament_id`=346 |
09:11:06.251 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=87 |
09:11:06.259 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=346) |
09:11:06.207 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=345 |
09:11:06.260 | 0.6 ms | yii\db\Command::query | SELECT `tournament_team`.* FROM `tournament_team` LEFT JOIN `team` ON `tournament_team`.`team_id` = `team`.`team_id` WHERE (`status`='approved') AND (`tournament_team`.`tournament_id`=346) |
09:11:06.210 | 0.5 ms | yii\db\Command::query | SELECT `match`.`start_dt` FROM `match` INNER JOIN `tournament` ON `match`.`tournament_id` = `tournament`.`tournament_id` WHERE (`match`.`start_dt` < '2025-01-16 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id`=346) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
09:11:06.180 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2017-05-13') AND ((`to` IS NULL) OR (`to` >= '2017-05-13')) AND (`team_id`=3) ORDER BY `since` DESC |
09:11:06.145 | 0.5 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
09:11:06.261 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 6, 29, 50) |
09:11:06.175 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=3 |
09:11:06.273 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT `post`.* FROM `post` INNER JOIN `post_tag_assn` ON post_tag_assn.post_id = post.post_id WHERE (`post`.`type`='article') AND (`post`.`in_ru`=1) AND (`post`.`is_public`=1) AND (`post_tag_assn`.`tag_id`=346)) |
09:11:06.267 | 0.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (3, 6, 29, 50) ORDER BY `full_name`) `c` |
09:11:06.178 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |
09:11:06.179 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`=22 |
09:11:06.183 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
09:11:06.211 | 0.3 ms | yii\db\Command::query | SELECT `match`.`start_dt` FROM `match` INNER JOIN `tournament` ON `match`.`tournament_id` = `tournament`.`tournament_id` WHERE (`match`.`start_dt` > '2025-01-17 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id`=346) ORDER BY `match`.`start_dt` LIMIT 1 |
09:11:06.214 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `competition_id`=14 |
09:11:06.264 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 6, 29, 50) |
09:11:06.198 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=221 |
09:11:06.192 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=4 |
09:11:06.264 | 0.2 ms | yii\db\Command::query | SELECT `tournament_team`.* FROM `tournament_team` LEFT JOIN `team` ON `tournament_team`.`team_id` = `team`.`team_id` WHERE (`status`='approved') AND (`tournament_team`.`tournament_id`=346) |
09:11:06.195 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |
09:11:06.196 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.195 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.275 | 0.2 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
09:11:06.184 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.188 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.182 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.202 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.203 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.187 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.277 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
09:11:06.185 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.205 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.278 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
09:11:06.189 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.190 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.200 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.199 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.204 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.202 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.181 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=346 |
09:11:06.197 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.177 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=346 |
09:11:06.253 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=345 ORDER BY `start_dt` DESC |
09:11:06.194 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.192 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.201 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.185 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
09:11:06.191 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.186 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
09:11:06.206 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.187 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
09:11:06.188 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
09:11:06.276 | 0.1 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 |
09:11:06.205 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.189 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
09:11:06.191 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
09:11:06.198 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |
09:11:06.193 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=4 |
09:11:06.194 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=4 |
09:11:06.278 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
09:11:06.199 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |
09:11:06.201 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
09:11:06.197 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |
09:11:06.196 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |