Total processing time: 199 ms; Peak memory: 13.252 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
15:48:31.751 | 6.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id` IN (26, 24, 23, 21)) ORDER BY `order` |
15:48:31.664 | 5.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='piter-leto-2018-top_league_2018' |
15:48:31.678 | 3.6 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 ((425, 432))) 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` |
15:48:31.836 | 2.9 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=425) |
15:48:31.672 | 2.5 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE (`tournament_id`=425) AND (`team_id`='432') |
15:48:31.748 | 2.1 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`=48) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
15:48:31.745 | 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`=425) OR (`tournament`.`parent_tournament_id`=425)) 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` |
15:48:31.741 | 1.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=424 ORDER BY `start_dt` DESC |
15:48:31.802 | 1.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=23) AND (`parent_tournament_id` IS NULL) AND (`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`competition_id`=48) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
15:48:31.809 | 1.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=23) AND (`is_published`=1) AND (`competition_id`=48) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
15:48:31.684 | 1.2 ms | yii\db\Command::query | SELECT * FROM `player` WHERE `player_id` IN (263, 3305, 4357, 3304, 3298, 6386, 107, 379, 5324, 1799, 4128, 8091, 8092, 8095, 106, 8772, 8094, 701, 1904, 6641, 3361, 9, 5380, 6545, 8093, 3299, 8090, 8089, 6553, 3297) |
15:48:31.824 | 1.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=424) ORDER BY `start_dt` DESC |
15:48:31.842 | 1.2 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`=425)) |
15:48:31.813 | 1.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`is_published`=1) AND (`competition_id`=48) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
15:48:31.839 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tag` |
15:48:31.700 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_season` |
15:48:31.820 | 1.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=380 ORDER BY `start_dt` DESC) `c` |
15:48:31.697 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE `tournament_id`=425 |
15:48:31.816 | 1.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=455 ORDER BY `start_dt` DESC) `c` |
15:48:31.818 | 1.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=424 ORDER BY `start_dt` DESC) `c` |
15:48:31.817 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=455 ORDER BY `start_dt` DESC |
15:48:31.821 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=380 ORDER BY `start_dt` DESC |
15:48:31.806 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=24) AND (`is_published`=1) AND (`competition_id`=48) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
15:48:31.675 | 0.9 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament_team` |
15:48:31.804 | 0.9 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=26) AND (`is_published`=1) AND (`competition_id`=48) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
15:48:31.826 | 0.8 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM tournament |
15:48:31.812 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=456 |
15:48:31.664 | 0.6 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
15:48:31.740 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=424 |
15:48:31.808 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=465 |
15:48:31.743 | 0.6 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`=425) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
15:48:31.703 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team_history` WHERE (`since` <= '2018-06-18') AND ((`to` IS NULL) OR (`to` >= '2018-06-18')) AND (`team_id`=432) ORDER BY `since` DESC |
15:48:31.829 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (4, 153, 163, 432, 433, 530, 562, 569) |
15:48:31.828 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=425) |
15:48:31.843 | 0.5 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`=425)) |
15:48:31.671 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=425 |
15:48:31.835 | 0.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (4, 153, 163, 432, 433, 530, 562, 569) ORDER BY `full_name`) `c` |
15:48:31.841 | 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 = 'tag' AND kcu.table_name = 'tag' |
15:48:31.823 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=381 |
15:48:31.747 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `competition_id`=48 |
15:48:31.702 | 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 = 'hdbk_season' AND kcu.table_name = 'hdbk_season' |
15:48:31.815 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=298 |
15:48:31.805 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=586 |
15:48:31.828 | 0.4 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`=425) |
15:48:31.718 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=321 |
15:48:31.676 | 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' AND kcu.table_name = 'tournament_team' |
15:48:31.699 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=18026 |
15:48:31.695 | 0.3 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=432 |
15:48:31.714 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=227 |
15:48:31.700 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`=23 |
15:48:31.706 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
15:48:31.744 | 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`=425) ORDER BY `match`.`start_dt` LIMIT 1 |
15:48:31.717 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=4 |
15:48:31.723 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.721 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.719 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=3 |
15:48:31.728 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.704 | 0.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=425 |
15:48:31.833 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (4, 153, 163, 432, 433, 530, 562, 569) |
15:48:31.848 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
15:48:31.846 | 0.2 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
15:48:31.729 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.715 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
15:48:31.734 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.832 | 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`=425) |
15:48:31.726 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=227 |
15:48:31.733 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.725 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.731 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.732 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.727 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.849 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
15:48:31.716 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.737 | 0.2 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.711 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.713 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.705 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.712 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.735 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.736 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.738 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.739 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.698 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=425 |
15:48:31.819 | 0.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=424 ORDER BY `start_dt` DESC |
15:48:31.707 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.710 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.724 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.847 | 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 |
15:48:31.712 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
15:48:31.709 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.717 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.737 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.708 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
15:48:31.850 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
15:48:31.735 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
15:48:31.710 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
15:48:31.713 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
15:48:31.709 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=1 |
15:48:31.711 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |
15:48:31.716 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_player_position` WHERE `position_id`=2 |