Total processing time: 118 ms; Peak memory: 7.598 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
03:48:46.651 | 4.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='Kubok-dvuh-stolits-2016-Kubok-dvuh-stolits-2016' |
03:48:46.747 | 3.9 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 |
03:48:46.739 | 3.7 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=245) |
03:48:46.697 | 2.7 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`=39) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
03:48:46.700 | 2.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id`=21) ORDER BY `order` |
03:48:46.693 | 1.6 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`=245) OR (`tournament`.`parent_tournament_id`=245)) 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` |
03:48:46.725 | 1.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=244) ORDER BY `start_dt` DESC |
03:48:46.723 | 1.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC) `c` |
03:48:46.689 | 1.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
03:48:46.727 | 1.0 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM tournament |
03:48:46.743 | 1.0 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`=245)) |
03:48:46.677 | 0.8 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_city` |
03:48:46.721 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`is_published`=1) AND (`competition_id`=39) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
03:48:46.720 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`parent_tournament_id` IS NULL) AND (`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`competition_id`=39) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
03:48:46.729 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=245) |
03:48:46.738 | 0.8 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) ORDER BY `full_name`) `c` |
03:48:46.659 | 0.7 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`=245) |
03:48:46.665 | 0.6 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) ORDER BY team.team_id = 9 DESC, `team`.`full_name` |
03:48:46.649 | 0.5 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
03:48:46.650 | 0.5 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `alias`='tournaments' |
03:48:46.661 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
03:48:46.685 | 0.5 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=41296 |
03:48:46.678 | 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_city' AND kcu.table_name = 'hdbk_city' |
03:48:46.671 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE `tournament_id`=245 |
03:48:46.683 | 0.5 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=20386 |
03:48:46.657 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
03:48:46.681 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=4) ORDER BY `since` DESC |
03:48:46.692 | 0.4 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`=245) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
03:48:46.744 | 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`=245)) |
03:48:46.676 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=255) ORDER BY `since` DESC |
03:48:46.752 | 0.4 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
03:48:46.680 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_category` WHERE `category_id`=2 |
03:48:46.746 | 0.4 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
03:48:46.695 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `competition_id`=39 |
03:48:46.754 | 0.4 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
03:48:46.720 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`=21 |
03:48:46.689 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=244 |
03:48:46.677 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=18026 |
03:48:46.755 | 0.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
03:48:46.692 | 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`=245) ORDER BY `match`.`start_dt` LIMIT 1 |
03:48:46.673 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
03:48:46.675 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
03:48:46.683 | 0.3 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=5) ORDER BY `since` DESC |
03:48:46.686 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=6) ORDER BY `since` DESC |
03:48:46.684 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=122) ORDER BY `since` DESC |
03:48:46.687 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=3) ORDER BY `since` DESC |
03:48:46.682 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=29) ORDER BY `since` DESC |
03:48:46.686 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=50) ORDER BY `since` DESC |
03:48:46.685 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=153) ORDER BY `since` DESC |
03:48:46.688 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2016-05-21') AND ((`to` IS NULL) OR (`to` >= '2016-05-21')) AND (`team_id`=102) ORDER BY `since` DESC |
03:48:46.682 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |
03:48:46.731 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
03:48:46.735 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
03:48:46.734 | 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`=245) |
03:48:46.688 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17915 |
03:48:46.730 | 0.1 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`=245) |
03:48:46.724 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
03:48:46.684 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |
03:48:46.682 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=18026 |
03:48:46.686 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |
03:48:46.687 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |
03:48:46.687 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=17849 |