Time | Duration | Type | Query |
---|---|---|---|
02:46:04.573 | 0.7 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `alias`='tournaments' |
02:46:04.574 | 5.2 ms | SELECT | SELECT * FROM `tournament` WHERE `alias`='Kubok-dvuh-stolits-2016-Kubok-dvuh-stolits-2016' |
02:46:04.582 | 0.6 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
02:46:04.584 | 6.6 ms | SELECT | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=245) |
02:46:04.591 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `tag` |
02:46:04.592 | 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 = 'tag' AND kcu.table_name = 'tag' |
02:46:04.594 | 4.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`=245)) |
02:46:04.600 | 28.1 ms | SELECT | SELECT COUNT(*) FROM (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 (published_dt <= '2025-01-16 02:46:04') AND (`post_tag_assn`.`tag_id`=245) ORDER BY `published_dt` DESC) `c` |
02:46:04.628 | 20.9 ms | SELECT | 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 (published_dt <= '2025-01-16 02:46:04') AND (`post_tag_assn`.`tag_id`=245) ORDER BY `published_dt` DESC LIMIT 20 |
02:46:04.650 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `post` |
02:46:04.653 | 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 = 'post' AND kcu.table_name = 'post' |
02:46:04.704 | 4.8 ms | SELECT | SELECT * FROM `post_tag_assn` WHERE `post_id` IN (6091, 5716, 5513, 5353, 4892, 4887, 4886, 4885, 4884, 4879, 4877, 4876, 4874, 4871, 4869, 4868, 4867, 4860, 4856, 4852) |
02:46:04.709 | 0.5 ms | SELECT | SELECT * FROM `tag` WHERE `tag_id` IN ('245', '514', '517', '539', '559', '608', '627', '515', '516', '657', '757', '239', '288') |
02:46:04.711 | 0.2 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
02:46:04.717 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=6091 |
02:46:04.719 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5716 |
02:46:04.720 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5513 |
02:46:04.722 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5353 |
02:46:04.723 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4892 |
02:46:04.724 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4887 |
02:46:04.726 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4886 |
02:46:04.727 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4885 |
02:46:04.728 | 0.3 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4884 |
02:46:04.729 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4879 |
02:46:04.730 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4877 |
02:46:04.731 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4876 |
02:46:04.732 | 0.6 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4874 |
02:46:04.735 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4871 |
02:46:04.736 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4869 |
02:46:04.738 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4868 |
02:46:04.740 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4867 |
02:46:04.742 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4860 |
02:46:04.745 | 0.3 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4856 |
02:46:04.746 | 0.3 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4852 |
02:46:04.747 | 0.3 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=244 |
02:46:04.748 | 0.9 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
02:46:04.750 | 0.3 ms | SELECT | SELECT `match`.`start_dt` FROM `match` INNER JOIN `tournament` ON `match`.`tournament_id` = `tournament`.`tournament_id` WHERE (`match`.`start_dt` < '2025-01-15 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id`=245) ORDER BY `match`.`start_dt` DESC LIMIT 1 |
02:46:04.750 | 0.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-16 05:00:00') AND (`tournament`.`in_schedule`=1) AND (`tournament`.`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`tournament`.`tournament_id`=245) ORDER BY `match`.`start_dt` LIMIT 1 |
02:46:04.751 | 1.0 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`=245) OR (`tournament`.`parent_tournament_id`=245)) 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-15 05:00:00' AND '2025-01-16 05:00:00')) ORDER BY `tournament`.`order`, `tournament`.`full_name` |
02:46:04.753 | 0.2 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `competition_id`=39 |
02:46:04.754 | 1.9 ms | SELECT | SELECT `hdbk_season`.* FROM `hdbk_season` INNER JOIN `tournament` ON `hdbk_season`.`season_id` = `tournament`.`season_id` WHERE (`tournament`.`competition_id`=39) AND (`tournament`.`is_published`=1) ORDER BY `start_dt` DESC, `season_id` DESC, `order` |
02:46:04.756 | 2.2 ms | SELECT | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id`=21) ORDER BY `order` |
02:46:04.777 | 0.2 ms | SELECT | SELECT * FROM `hdbk_season` WHERE `season_id`=21 |
02:46:04.777 | 0.6 ms | SELECT | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`parent_tournament_id` IS NULL) AND (`is_published`=1) AND (`tournament`.`in_ru`=1) AND (`competition_id`=39) ORDER BY isnull(`order`), `order`, `start_dt` DESC |
02:46:04.778 | 0.5 ms | SELECT | SELECT * FROM `tournament` WHERE (`season_id`=21) AND (`is_published`=1) AND (`competition_id`=39) ORDER BY `start_dt` DESC, isnull(parent_tournament_id) |
02:46:04.779 | 0.6 ms | SELECT | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC) `c` |
02:46:04.780 | 0.1 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
02:46:04.781 | 0.7 ms | SELECT | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=244) ORDER BY `start_dt` DESC |
02:46:04.782 | 0.5 ms | SELECT | SELECT MAX(updated_at) FROM tournament |
02:46:04.783 | 2.9 ms | SELECT | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=245) |
02:46:04.786 | 2.8 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`=245) |
02:46:04.789 | 1.3 ms | SHOW | SHOW FULL COLUMNS FROM `tournament_team` |
02:46:04.791 | 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 = 'tournament_team' AND kcu.table_name = 'tournament_team' |
02:46:04.792 | 0.7 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
02:46:04.797 | 0.2 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`=245) |
02:46:04.800 | 0.2 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
02:46:04.804 | 0.6 ms | SELECT | SELECT COUNT(*) FROM (SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) ORDER BY `full_name`) `c` |
02:46:04.805 | 0.1 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`=245)) |
02:46:04.805 | 0.5 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`=245)) |
02:46:04.807 | 0.2 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
02:46:04.808 | 0.1 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 |
02:46:04.809 | 0.1 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
02:46:04.809 | 0.1 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
02:46:04.810 | 0.1 ms | SELECT | SELECT COUNT(*) FROM `partner` |