Total processing time: 47 ms; Peak memory: 4.545 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
20:34:40.214 | 3.6 ms | yii\db\Command::query | SELECT * FROM `tag` WHERE (`module`='team') AND (`item_id`=353) |
20:34:40.220 | 2.5 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_en`=1) AND (`album_tag_assn`.`tag_id`=854) |
20:34:40.204 | 2.3 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`=353) 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 |
20:34:40.219 | 1.3 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_en`=1) AND (`video_tag_assn`.`tag_id`=854) |
20:34:40.233 | 0.8 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_en`=1) AND (`post`.`is_public`=1) AND (`post_tag_assn`.`tag_id`=854) ORDER BY `published_dt` DESC LIMIT 25 |
20:34:40.208 | 0.7 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 = 353 and t.is_published = 1 and t.season_id = 22 GROUP BY st.tournament_id ORDER BY t.start_dt desc |
20:34:40.202 | 0.6 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` ORDER BY `hdbk_season`.`start_dt` DESC, `hdbk_season`.`season_id` DESC |
20:34:40.213 | 0.6 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 = 353 and t.is_published = 1 GROUP BY st.team_id |
20:34:40.201 | 0.6 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id`=353 |
20:34:40.199 | 0.5 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=bsr |
20:34:40.209 | 0.5 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 = 353 and t.is_published = 1 and t.season_id = 22 GROUP BY st.team_id ORDER BY t.start_dt desc |
20:34:40.228 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament_team` WHERE `tournament_id`=57 |
20:34:40.229 | 0.5 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `tournament_id`=57 |
20:34:40.224 | 0.4 ms | yii\db\Command::query | SELECT * FROM `match` `m` WHERE (NOT (`m`.`start_dt` IS NULL)) AND ((`m`.`team1_id`=353) OR (`m`.`team2_id`=353)) AND ((NOT (`m`.`gf` IS NULL)) AND (NOT (`m`.`ga` IS NULL))) ORDER BY `m`.`start_dt` DESC LIMIT 5 |
20:34:40.218 | 0.4 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_en`=1) AND (`post_tag_assn`.`tag_id`=854) |
20:34:40.226 | 0.4 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (353, 135) |
20:34:40.207 | 0.3 ms | yii\db\Command::query | SELECT * FROM `hdbk_season` WHERE `season_id`='22' |
20:34:40.219 | 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_en`=1) AND (`post_tag_assn`.`tag_id`=854) |
20:34:40.225 | 0.3 ms | yii\db\Command::query | SELECT * FROM `team` WHERE `team_id` IN (351, 89, 353) |
20:34:40.235 | 0.2 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
20:34:40.232 | 0.2 ms | yii\db\Command::query | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-before-news') ORDER BY `number`, `banner_id` DESC |
20:34:40.237 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
20:34:40.200 | 0.2 ms | yii\db\Command::query | SELECT * FROM `tournament` WHERE `alias`='teams' |
20:34:40.238 | 0.2 ms | yii\db\Command::query | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
20:34:40.233 | 0.1 ms | yii\db\Command::query | SELECT * FROM `settings` WHERE `id`=1 |
20:34:40.236 | 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 |
20:34:40.234 | 0.1 ms | yii\db\Command::query | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-after-news') ORDER BY `number`, `banner_id` DESC |
20:34:40.223 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_city` WHERE 0=1 |
20:34:40.210 | 0.1 ms | yii\db\Command::query | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
20:34:40.224 | 0.1 ms | yii\db\Command::query | SELECT * FROM `staff` WHERE 0=1 |
20:34:40.239 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `partner` |