Time | Duration | Type | Query |
---|---|---|---|
11:34:12.824 | 0.6 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `alias`='tournaments' |
11:34:12.825 | 5.0 ms | SELECT | SELECT * FROM `tournament` WHERE `alias`='women_moscow_2013-2013-women_moscow_2013_final' |
11:34:12.833 | 0.2 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=28 |
11:34:12.834 | 0.4 ms | SELECT | SELECT * FROM `tournament_team_staff` WHERE (`tournament_id`=28) AND (`status`='approved') |
11:34:12.834 | 1.2 ms | SELECT | SELECT `stats_staff`.`staff_id`, `stats_staff`.`team_id`, `stats_staff`.`tournament_id`, SUM(stats_staff.games) AS `games`, SUM(stats_staff.wins) + SUM(stats_staff.wins_ot) + SUM(stats_staff.wins_so) AS `wins`, SUM(stats_staff.draws) AS `draws`, SUM(stats_staff.losses) + SUM(stats_staff.losses_ot) + SUM(stats_staff.losses_so) AS `losses` FROM `stats_staff` WHERE `stats_staff`.`tournament_id`=28 GROUP BY `stats_staff`.`staff_id` HAVING `games` > 0 ORDER BY `wins` DESC, `draws` DESC, `games` |
11:34:12.838 | 0.3 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=24 |
11:34:12.839 | 1.3 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=24 ORDER BY `start_dt` DESC |
11:34:12.843 | 19.2 ms | SELECT | 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 (28, 27, 26, 25)) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
11:34:12.863 | 0.4 ms | SELECT | 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 (28, 27, 26, 25)) ORDER BY `match`.`start_dt` LIMIT 1 |
11:34:12.864 | 1.1 ms | SELECT | 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 (28, 27, 26, 25)) OR (`tournament`.`parent_tournament_id` IN (28, 27, 26, 25))) 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:34:12.867 | 0.4 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `competition_id`=9 |
11:34:12.867 | 0.8 ms | SHOW | SHOW FULL COLUMNS FROM `hdbk_competition` |
11:34:12.868 | 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_competition' AND kcu.table_name = 'hdbk_competition' |
11:34:12.870 | 1.8 ms | SELECT | SELECT `hdbk_season`.* FROM `hdbk_season` INNER JOIN `tournament` ON `hdbk_season`.`season_id` = `tournament`.`season_id` WHERE (`tournament`.`competition_id`=9) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
11:34:12.873 | 1.2 ms | SELECT | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id`=18) ORDER BY `order` |
11:34:12.897 | 0.4 ms | SELECT | SELECT * FROM `hdbk_season` WHERE `season_id`=18 |
11:34:12.897 | 0.7 ms | SELECT | 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`=9) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
11:34:12.898 | 0.9 ms | SELECT | SELECT * FROM `tournament` WHERE (`season_id`=18) AND (`is_published`=1) AND (`competition_id`=9) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
11:34:12.900 | 0.5 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=28 |
11:34:12.901 | 1.3 ms | SELECT | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=24 ORDER BY `start_dt` DESC) `c` |
11:34:12.903 | 0.1 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=24 ORDER BY `start_dt` DESC |
11:34:12.904 | 1.5 ms | SELECT | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=24) ORDER BY `start_dt` DESC |
11:34:12.907 | 0.2 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=27 |
11:34:12.907 | 0.1 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=26 |
11:34:12.908 | 0.1 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=25 |
11:34:12.908 | 1.1 ms | SELECT | SELECT MAX(updated_at) FROM tournament |
11:34:12.911 | 0.6 ms | SELECT | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=28) |
11:34:12.912 | 0.4 ms | SELECT | 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`=28) |
11:34:12.913 | 0.7 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (80, 82, 85, 86, 87, 88) |
11:34:12.916 | 0.7 ms | SELECT | 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`=28) |
11:34:12.917 | 0.2 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (80, 82, 85, 86, 87, 88) |
11:34:12.919 | 0.5 ms | SELECT | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (80, 82, 85, 86, 87, 88) ORDER BY `full_name`) `c` |
11:34:12.920 | 3.6 ms | SELECT | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=28) |
11:34:12.924 | 0.7 ms | SELECT | 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`=28)) |
11:34:12.925 | 0.4 ms | SELECT | 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`=28)) |
11:34:12.928 | 0.4 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
11:34:12.929 | 4.5 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 |
11:34:12.934 | 0.3 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
11:34:12.936 | 0.3 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
11:34:12.936 | 0.2 ms | SELECT | SELECT COUNT(*) FROM `partner` |