Total processing time: 316 ms; Peak memory: 19.542 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
11:57:28.576 | 15.8 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-18 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id` IN (589, 4, 3, 2)) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
11:57:28.602 | 11.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id` IN (24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10)) ORDER BY `order` |
11:57:28.564 | 7.2 ms | yii\db\Command::query | SELECT `video`.* FROM `video` INNER JOIN `video_tag_assn` ON video_tag_assn.video_id = video.video_id WHERE (`video`.`in_ru`=1) AND (`video`.`is_public`=1) AND (`video_tag_assn`.`tag_id`=2039) ORDER BY `video`.`published_dt` DESC LIMIT 12 |
11:57:28.834 | 6.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 |
11:57:28.543 | 5.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='589' |
11:57:28.560 | 4.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT `video`.* FROM `video` INNER JOIN `video_tag_assn` ON video_tag_assn.video_id = video.video_id WHERE (`video`.`in_ru`=1) AND (`video`.`is_public`=1) AND (`video_tag_assn`.`tag_id`=2039) ORDER BY `video`.`published_dt` DESC) `c` |
11:57:28.555 | 3.0 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=589) |
11:57:28.770 | 2.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE `city_id`=25045 |
11:57:28.549 | 2.1 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament` |
11:57:28.598 | 1.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`=2) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
11:57:28.842 | 1.4 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `page` |
11:57:28.759 | 1.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=1) ORDER BY `start_dt` DESC |
11:57:28.788 | 1.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `settings` |
11:57:28.715 | 1.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.594 | 1.1 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` IN (589, 4, 3, 2)) OR (`tournament`.`parent_tournament_id` IN (589, 4, 3, 2))) 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-18 05:00:00' AND '2025-01-19 05:00:00')) ORDER BY `tournament`.`order`, `tournament`.`full_name` |
11:57:28.754 | 1.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=5 ORDER BY `start_dt` DESC) `c` |
11:57:28.711 | 1.1 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=23) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.573 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=1 ORDER BY `start_dt` DESC |
11:57:28.708 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=24) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.773 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_city` |
11:57:28.757 | 1.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=1 ORDER BY `start_dt` DESC) `c` |
11:57:28.767 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament_place` |
11:57:28.722 | 1.0 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=18) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.785 | 0.9 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`=2039)) |
11:57:28.718 | 0.9 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=20) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.766 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=589) |
11:57:28.707 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=18) AND (`parent_tournament_id` IS NULL) AND (`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`competition_id`=2) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
11:57:28.720 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=19) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.713 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=22) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.764 | 0.8 ms | yii\db\Command::query | SELECT MAX(updated_at) FROM tournament |
11:57:28.790 | 0.8 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 = 'settings' AND kcu.table_name = 'settings' |
11:57:28.726 | 0.8 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=17) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.775 | 0.8 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`=589) |
11:57:28.735 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=14) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.552 | 0.7 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' AND kcu.table_name = 'tournament' |
11:57:28.553 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=589 |
11:57:28.729 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=16) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.747 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=13) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.732 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=15) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.714 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=348 |
11:57:28.844 | 0.6 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 = 'page' AND kcu.table_name = 'page' |
11:57:28.542 | 0.6 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `alias`='tournament' |
11:57:28.717 | 0.6 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=239 |
11:57:28.706 | 0.6 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`=18 |
11:57:28.746 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=43 |
11:57:28.542 | 0.5 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
11:57:28.721 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=72 |
11:57:28.777 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (1, 2, 3, 5, 6, 7) |
11:57:28.749 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=12) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.784 | 0.5 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (1, 2, 3, 5, 6, 7) ORDER BY `full_name`) `c` |
11:57:28.710 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=547 |
11:57:28.751 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=11) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.768 | 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 = 'tournament_place' AND kcu.table_name = 'tournament_place' |
11:57:28.833 | 0.5 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
11:57:28.841 | 0.4 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
11:57:28.774 | 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_city' AND kcu.table_name = 'hdbk_city' |
11:57:28.734 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=46 |
11:57:28.762 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=4 |
11:57:28.731 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=50 |
11:57:28.596 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_competition` WHERE `competition_id`=2 |
11:57:28.753 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE (`season_id`=10) AND (`is_published`=1) AND (`competition_id`=2) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:57:28.786 | 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`=2039)) |
11:57:28.750 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=36 |
11:57:28.752 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=57 |
11:57:28.749 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=40 |
11:57:28.719 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=146 |
11:57:28.763 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=3 |
11:57:28.845 | 0.4 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
11:57:28.728 | 0.4 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=55 |
11:57:28.769 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=224 |
11:57:28.572 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=1 |
11:57:28.713 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=417 |
11:57:28.592 | 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-19 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id` IN (589, 4, 3, 2)) ORDER BY `match`.`start_dt` LIMIT 1 |
11:57:28.756 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=5 |
11:57:28.754 | 0.3 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=60 |
11:57:28.781 | 0.2 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (1, 2, 3, 5, 6, 7) |
11:57:28.725 | 0.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=589 |
11:57:28.846 | 0.2 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
11:57:28.758 | 0.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `parent_tournament_id`=1 ORDER BY `start_dt` DESC |
11:57:28.781 | 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`=589) |