Time | Duration | Type | Query |
---|---|---|---|
14:23:36.495 | 5.0 ms | SELECT | SELECT * FROM `tournament` WHERE `alias`='teams' |
14:23:36.501 | 1.1 ms | SHOW | SHOW FULL COLUMNS FROM `team` |
14:23:36.503 | 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 = 'team' AND kcu.table_name = 'team' |
14:23:36.504 | 0.3 ms | SELECT | SELECT * FROM `team` WHERE `team_id`=353 |
14:23:36.505 | 0.4 ms | SELECT | SELECT * FROM `hdbk_season` ORDER BY `hdbk_season`.`start_dt` DESC, `hdbk_season`.`season_id` DESC |
14:23:36.505 | 0.8 ms | SHOW | SHOW FULL COLUMNS FROM `hdbk_season` |
14:23:36.506 | 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 = 'hdbk_season' AND kcu.table_name = 'hdbk_season' |
14:23:36.508 | 1.7 ms | SELECT | 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 |
14:23:36.510 | 1.2 ms | SHOW | SHOW FULL COLUMNS FROM `tournament` |
14:23:36.513 | 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 = 'tournament' AND kcu.table_name = 'tournament' |
14:23:36.557 | 0.4 ms | SELECT | SELECT * FROM `hdbk_season` WHERE `season_id`='21' |
14:23:36.558 | 1.0 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 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 = 21 GROUP BY st.tournament_id ORDER BY t.start_dt desc |
14:23:36.559 | 0.8 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 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 = 21 GROUP BY st.team_id ORDER BY t.start_dt desc |
14:23:36.561 | 0.4 ms | SELECT | SELECT * FROM `hdbk_country` WHERE `country_id`=219 |
14:23:36.562 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `hdbk_country` |
14:23:36.563 | 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 = 'hdbk_country' AND kcu.table_name = 'hdbk_country' |
14:23:36.570 | 0.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 = 353 and t.is_published = 1 GROUP BY st.team_id |
14:23:36.571 | 3.9 ms | SELECT | SELECT * FROM `tag` WHERE (`module`='team') AND (`item_id`=353) |
14:23:36.575 | 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`=854) |
14:23:36.576 | 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`=854) |
14:23:36.576 | 1.7 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`=854) |
14:23:36.578 | 3.0 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`=854) |
14:23:36.582 | 0.2 ms | SELECT | SELECT * FROM `hdbk_city` WHERE 0=1 |
14:23:36.582 | 0.1 ms | SELECT | SELECT * FROM `staff` WHERE 0=1 |
14:23:36.583 | 0.5 ms | SELECT | 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 |
14:23:36.584 | 0.9 ms | SHOW | SHOW FULL COLUMNS FROM `match` |
14:23:36.585 | 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 = 'match' AND kcu.table_name = 'match' |
14:23:36.629 | 0.6 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (351, 89, 353) |
14:23:36.631 | 0.6 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (353, 135) |
14:23:36.635 | 0.7 ms | SELECT | SELECT * FROM `tournament_team` WHERE `tournament_id`=57 |
14:23:36.636 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `tournament_team` |
14:23:36.637 | 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' |
14:23:36.641 | 0.5 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=57 |
14:23:36.644 | 0.5 ms | SELECT | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-before-news') ORDER BY `number`, `banner_id` DESC |
14:23:36.645 | 0.3 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
14:23:36.646 | 0.7 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`=854) ORDER BY `published_dt` DESC LIMIT 25 |
14:23:36.646 | 0.3 ms | SELECT | SELECT * FROM `banner` WHERE (`is_public`=1) AND (`position`='sb-after-news') ORDER BY `number`, `banner_id` DESC |
14:23:36.647 | 0.1 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
14:23:36.648 | 4.8 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 |
14:23:36.654 | 0.4 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
14:23:36.655 | 0.2 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
14:23:36.656 | 0.2 ms | SELECT | SELECT COUNT(*) FROM `partner` |