Time | Duration | Type | Query |
---|---|---|---|
18:07:29.570 | 5.1 ms | SELECT | SELECT * FROM `tournament` WHERE `alias`='teams' |
18:07:29.576 | 1.6 ms | SHOW | SHOW FULL COLUMNS FROM `team` |
18:07:29.578 | 0.8 ms | SELECT | 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' |
18:07:29.580 | 0.4 ms | SELECT | SELECT * FROM `team` WHERE `team_id`=115 |
18:07:29.581 | 1.0 ms | SELECT | SELECT `team_player`.* FROM `team_player` LEFT JOIN `player` ON `team_player`.`player_id` = `player`.`player_id` INNER JOIN `player` `p` ON p.player_id = team_player.player_id WHERE (`team_player`.`status`='accepted') AND (`team_player`.`team_id`=115) ORDER BY isnull(player.position_id), FIELD (player.position_id, 1,2,4,3), isnull(team_player.number), `team_player`.`number`, `player`.`last_name`, `player`.`first_name` |
18:07:29.582 | 0.7 ms | SELECT | SELECT `team_player`.* FROM `team_player` LEFT JOIN `player` ON `team_player`.`player_id` = `player`.`player_id` INNER JOIN `player` `p` ON p.player_id = team_player.player_id WHERE (`team_player`.`status`='left') AND (`team_player`.`team_id`=115) ORDER BY isnull(player.position_id), FIELD (player.position_id, 1,2,4,3), isnull(team_player.number), `team_player`.`number`, `player`.`last_name`, `player`.`first_name` |
18:07:29.584 | 0.4 ms | SELECT | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
18:07:29.585 | 0.8 ms | SHOW | SHOW FULL COLUMNS FROM `hdbk_country` |
18:07:29.586 | 0.3 ms | SELECT | 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' |
18:07:29.588 | 2.7 ms | SELECT | 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 = 115 and t.is_published = 1 GROUP BY st.team_id |
18:07:29.591 | 3.1 ms | SELECT | SELECT * FROM `tag` WHERE (`module`='team') AND (`item_id`=115) |
18:07:29.595 | 0.4 ms | SELECT | 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`=621) |
18:07:29.596 | 0.3 ms | SELECT | 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`=621) |
18:07:29.596 | 1.4 ms | SELECT | 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`=621) |
18:07:29.598 | 2.7 ms | SELECT | 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`=621) |
18:07:29.601 | 0.2 ms | SELECT | SELECT * FROM `hdbk_city` WHERE 0=1 |
18:07:29.601 | 0.2 ms | SELECT | SELECT * FROM `staff` WHERE 0=1 |
18:07:29.602 | 0.6 ms | SELECT | SELECT * FROM `match` `m` WHERE (NOT (`m`.`start_dt` IS NULL)) AND ((`m`.`team1_id`=115) OR (`m`.`team2_id`=115)) AND ((NOT (`m`.`gf` IS NULL)) AND (NOT (`m`.`ga` IS NULL))) ORDER BY `m`.`start_dt` DESC LIMIT 5 |
18:07:29.603 | 1.0 ms | SHOW | SHOW FULL COLUMNS FROM `match` |
18:07:29.605 | 0.4 ms | SELECT | 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' |
18:07:29.649 | 0.8 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (112, 115, 119) |
18:07:29.651 | 0.5 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (115, 118) |
18:07:29.654 | 0.9 ms | SELECT | SELECT * FROM `tournament_team` WHERE `tournament_id`=32 |
18:07:29.655 | 1.4 ms | SHOW | SHOW FULL COLUMNS FROM `tournament_team` |
18:07:29.657 | 0.7 ms | SELECT | 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' |
18:07:29.659 | 0.9 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=32 |
18:07:29.660 | 2.0 ms | SHOW | SHOW FULL COLUMNS FROM `tournament` |
18:07:29.663 | 0.5 ms | SELECT | 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' |
18:07:29.708 | 0.5 ms | SELECT | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-before-news') ORDER BY `number`, `banner_id` DESC |
18:07:29.709 | 1.4 ms | SHOW | SHOW FULL COLUMNS FROM `settings` |
18:07:29.710 | 0.6 ms | SELECT | 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' |
18:07:29.753 | 0.5 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
18:07:29.754 | 0.9 ms | SELECT | 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`=621) ORDER BY `published_dt` DESC LIMIT 25 |
18:07:29.755 | 0.3 ms | SELECT | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-after-news') ORDER BY `number`, `banner_id` DESC |
18:07:29.756 | 0.2 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
18:07:29.757 | 5.6 ms | SELECT | 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 |
18:07:29.765 | 0.4 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
18:07:29.766 | 1.1 ms | SHOW | SHOW FULL COLUMNS FROM `page` |
18:07:29.767 | 0.5 ms | SELECT | 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' |
18:07:29.768 | 0.2 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
18:07:29.769 | 0.2 ms | SELECT | SELECT COUNT(*) FROM `partner` |