Total processing time: 296 ms; Peak memory: 4.507 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
06:29:36.285 | 9.7 ms | yii\db\Command::query | SELECT COUNT(*) FROM `album` INNER JOIN `album_tag_assn` ON album_tag_assn.album_id = album.album_id WHERE (`album`.`is_public`=1) AND (`album`.`in_ru`=1) AND (`album_tag_assn`.`tag_id`=645) |
06:29:36.410 | 6.2 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 |
06:29:36.143 | 5.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='teams' |
06:29:36.269 | 5.0 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='team') AND (`item_id`=141) |
06:29:36.280 | 4.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM `video` INNER JOIN `video_tag_assn` ON video_tag_assn.video_id = video.video_id WHERE (`video`.`is_public`=1) AND (`video`.`in_ru`=1) AND (`video_tag_assn`.`tag_id`=645) |
06:29:36.149 | 3.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `team` |
06:29:36.162 | 2.4 ms | yii\db\Command::query | SELECT `tournament`.* FROM `tournament` INNER JOIN `tournament_team` `tt` ON tt.tournament_id = tournament.tournament_id WHERE ((`tt`.`team_id`=141) AND (`status`='approved')) AND (`tournament`.`season_id` IN (26, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 25, 3, 2, 1)) ORDER BY `order` DESC |
06:29:36.358 | 2.1 ms | yii\db\Command::query | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-before-news') ORDER BY `number`, `banner_id` DESC |
06:29:36.296 | 1.7 ms | yii\db\Command::query | SELECT * FROM `staff` WHERE 0=1 |
06:29:36.165 | 1.5 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament` |
06:29:36.210 | 1.4 ms | yii\db\Command::query | SELECT sum(st.games) as games, sum(st.wins) as wins, sum(st.wins_ot) as wins_ot, sum(st.wins_so) as wins_so, sum(st.losses_so) as losses_so, sum(st.losses_ot) as losses_ot, sum(st.losses) as losses, sum(st.draws) as draws, sum(st.gf) as gf, sum(st.ga) as ga, round(sum(st.gf) / sum(st.games), 2) as gf_avg, sum(st.yellow_cards) as yellow_cards, sum(st.red_cards) as red_cards, sum(st.player_age_sum) / sum(st.players_count) as player_age_avg, st.tournament_id as tournament_id, st.team_id as team_id FROM stats_team as st INNER JOIN tournament as t ON t.tournament_id = st.tournament_id INNER JOIN hdbk_season as s ON s.season_id = t.season_id WHERE st.team_id = 141 and t.is_published = 1 and t.season_id = 17 GROUP BY st.tournament_id ORDER BY t.start_dt desc |
06:29:36.420 | 1.4 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `page` |
06:29:36.298 | 1.3 ms | yii\db\Command::query | SELECT * FROM `match` `m` WHERE (NOT (`m`.`start_dt` IS NULL)) AND ((`m`.`team1_id`=141) OR (`m`.`team2_id`=141)) AND ((NOT (`m`.`gf` IS NULL)) AND (NOT (`m`.`ga` IS NULL))) ORDER BY `m`.`start_dt` DESC LIMIT 5 |
06:29:36.361 | 1.3 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `settings` |
06:29:36.274 | 1.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tag` |
06:29:36.214 | 1.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_country` |
06:29:36.351 | 1.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `tournament_team` |
06:29:36.223 | 1.2 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `stats_team` |
06:29:36.278 | 1.2 ms | yii\db\Command::query | SELECT COUNT(*) FROM `post` INNER JOIN `post_tag_assn` ON post_tag_assn.post_id = post.post_id WHERE (`post`.`type`='article') AND (`post`.`is_public`=1) AND (`post`.`in_ru`=1) AND (`post_tag_assn`.`tag_id`=645) |
06:29:36.350 | 1.1 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE `tournament_id`=39 |
06:29:36.406 | 1.0 ms | yii\db\Command::query | SELECT `post`.`post_id`, `post`.`type`, `post`.`title`, `post`.`title_en`, `post`.`lead`, `post`.`lead_en`, `post`.`marker`, `post`.`translite`, `post`.`image`, `post`.`author`, `post`.`author_en`, `post`.`position_id`, `post`.`position_en_id`, `post`.`published_dt`, `post`.`in_ru`, `post`.`in_en`, `post`.`top_title`, `post`.`top_title_en` 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`=645) ORDER BY `published_dt` DESC LIMIT 25 |
06:29:36.300 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `match` |
06:29:36.157 | 1.0 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `hdbk_season` |
06:29:36.221 | 0.9 ms | yii\db\Command::query | SELECT sum(st.games) as games, sum(st.wins) as wins, sum(st.wins_ot) as wins_ot, sum(st.wins_so) as wins_so, sum(st.losses_so) as losses_so, sum(st.losses_ot) as losses_ot, sum(st.losses) as losses, sum(st.draws) as draws, sum(st.gf) as gf, sum(st.ga) as ga, round(sum(st.gf) / sum(st.games), 2) as gf_avg, sum(st.yellow_cards) as yellow_cards, sum(st.red_cards) as red_cards, sum(st.player_age_sum) / sum(st.players_count) as player_age_avg, st.tournament_id as tournament_id, st.team_id as team_id FROM stats_team as st INNER JOIN tournament as t ON t.tournament_id = st.tournament_id WHERE st.team_id = 141 and t.is_published = 1 GROUP BY st.team_id |
06:29:36.212 | 0.9 ms | yii\db\Command::query | SELECT sum(st.games) as games, sum(st.wins) as wins, sum(st.wins_ot) as wins_ot, sum(st.wins_so) as wins_so, sum(st.losses_so) as losses_so, sum(st.losses_ot) as losses_ot, sum(st.losses) as losses, sum(st.draws) as draws, sum(st.gf) as gf, sum(st.ga) as ga, round(sum(st.gf) / sum(st.games), 2) as gf_avg, sum(st.yellow_cards) as yellow_cards, sum(st.red_cards) as red_cards, sum(st.player_age_sum) / sum(st.players_count) as player_age_avg, st.tournament_id as tournament_id, st.team_id as team_id FROM stats_team as st INNER JOIN tournament as t ON t.tournament_id = st.tournament_id INNER JOIN hdbk_season as s ON s.season_id = t.season_id WHERE st.team_id = 141 and t.is_published = 1 and t.season_id = 17 GROUP BY st.team_id ORDER BY t.start_dt desc |
06:29:36.354 | 0.7 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=39 |
06:29:36.153 | 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 = 'team' AND kcu.table_name = 'team' |
06:29:36.156 | 0.6 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` ORDER BY `hdbk_season`.`start_dt` DESC, `hdbk_season`.`season_id` DESC |
06:29:36.276 | 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 = 'tag' AND kcu.table_name = 'tag' |
06:29:36.345 | 0.6 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (142, 126, 141, 148) |
06:29:36.216 | 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 = 'hdbk_country' AND kcu.table_name = 'hdbk_country' |
06:29:36.353 | 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 = 'tournament_team' AND kcu.table_name = 'tournament_team' |
06:29:36.363 | 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 = 'settings' AND kcu.table_name = 'settings' |
06:29:36.167 | 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 = 'tournament' AND kcu.table_name = 'tournament' |
06:29:36.347 | 0.6 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (141, 7) |
06:29:36.422 | 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' |
06:29:36.154 | 0.5 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=141 |
06:29:36.142 | 0.5 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
06:29:36.159 | 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_season' AND kcu.table_name = 'hdbk_season' |
06:29:36.225 | 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_team' AND kcu.table_name = 'stats_team' |
06:29:36.405 | 0.5 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
06:29:36.419 | 0.5 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
06:29:36.407 | 0.4 ms | yii\db\Command::query | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-after-news') ORDER BY `number`, `banner_id` DESC |
06:29:36.301 | 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 = 'match' AND kcu.table_name = 'match' |
06:29:36.213 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
06:29:36.209 | 0.4 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`='17' |
06:29:36.423 | 0.4 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
06:29:36.424 | 0.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |
06:29:36.279 | 0.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM `post` INNER JOIN `post_tag_assn` ON post_tag_assn.post_id = post.post_id WHERE (`post`.`type`='news') AND (`post`.`is_public`=1) AND (`post`.`in_ru`=1) AND (`post_tag_assn`.`tag_id`=645) |
06:29:36.295 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE 0=1 |
06:29:36.409 | 0.2 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |