Time | Duration | Type | Query |
---|---|---|---|
13:27:48.295 | 0.4 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `alias`='tournaments' |
13:27:48.296 | 2.8 ms | SELECT | SELECT * FROM `tournament` WHERE `alias`='Kubok-dvuh-stolits-2016-Kubok-dvuh-stolits-2016' |
13:27:48.301 | 0.5 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
13:27:48.303 | 3.0 ms | SELECT | SELECT * FROM `tag` WHERE (`module`='tournament') AND (`item_id`=245) |
13:27:48.306 | 0.8 ms | SHOW | SHOW FULL COLUMNS FROM `tag` |
13:27:48.307 | 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 = 'tag' AND kcu.table_name = 'tag' |
13:27:48.308 | 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)) |
13:27:48.310 | 1.3 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`='article') AND (`post`.`in_ru`=1) AND (`post`.`is_public`=1) AND (`post_tag_assn`.`tag_id`=245) ORDER BY `published_dt` DESC) `c` |
13:27:48.311 | 5.1 ms | SELECT | 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) ORDER BY `published_dt` DESC LIMIT 10 |
13:27:48.317 | 1.0 ms | SHOW | SHOW FULL COLUMNS FROM `post` |
13:27:48.319 | 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' |
13:27:48.366 | 1.1 ms | SELECT | SELECT * FROM `post_tag_assn` WHERE `post_id` IN (5613, 5305, 5267, 4891, 4889, 4888, 4881, 4880, 4872, 4870) |
13:27:48.367 | 0.9 ms | SELECT | SELECT * FROM `tag` WHERE `tag_id` IN ('245', '757', '515', '516', '517', '539', '608', '627', '657', '514', '559', '221', '520', '843', '239', '288', '208', '243', '292', '522', '599', '826') |
13:27:48.369 | 0.2 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=245 |
13:27:48.370 | 0.6 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5613 |
13:27:48.372 | 0.6 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5305 |
13:27:48.374 | 0.6 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=5267 |
13:27:48.375 | 0.6 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4891 |
13:27:48.377 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4889 |
13:27:48.378 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4888 |
13:27:48.379 | 0.4 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4881 |
13:27:48.380 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4880 |
13:27:48.382 | 4.0 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4872 |
13:27:48.386 | 0.5 ms | SELECT | SELECT * FROM `post` WHERE `post_id`=4870 |
13:27:48.388 | 0.5 ms | SELECT | SELECT * FROM `tournament` WHERE `tournament_id`=244 |
13:27:48.389 | 1.3 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
13:27:48.391 | 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-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` DESC LIMIT 1 |
13:27:48.392 | 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-17 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 |
13:27:48.393 | 1.6 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-16 05:00:00' AND '2025-01-17 05:00:00')) ORDER BY `tournament`.`order`, `tournament`.`full_name` |
13:27:48.395 | 0.4 ms | SELECT | SELECT * FROM `hdbk_competition` WHERE `competition_id`=39 |
13:27:48.396 | 2.6 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` |
13:27:48.400 | 2.3 ms | SELECT | SELECT * FROM `tournament` WHERE (`tournament`.`is_published`=1) AND (`season_id`=21) ORDER BY `order` |
13:27:48.429 | 0.6 ms | SELECT | SELECT * FROM `hdbk_season` WHERE `season_id`=21 |
13:27:48.430 | 1.2 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 |
13:27:48.432 | 1.1 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) |
13:27:48.433 | 1.4 ms | SELECT | SELECT COUNT(*) FROM (SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC) `c` |
13:27:48.435 | 0.1 ms | SELECT | SELECT * FROM `tournament` WHERE `parent_tournament_id`=244 ORDER BY `start_dt` DESC |
13:27:48.435 | 1.6 ms | SELECT | SELECT * FROM `tournament` WHERE (`is_published`=1) AND (`parent_tournament_id`=244) ORDER BY `start_dt` DESC |
13:27:48.438 | 1.2 ms | SELECT | SELECT MAX(updated_at) FROM tournament |
13:27:48.440 | 1.8 ms | SELECT | SELECT * FROM `tournament_place` WHERE (`main`=1) AND (`tournament_id`=245) |
13:27:48.442 | 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`=245) |
13:27:48.444 | 0.8 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
13:27:48.448 | 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) |
13:27:48.449 | 0.2 ms | SELECT | SELECT * FROM `team` WHERE `team_id` IN (3, 4, 5, 6, 29, 50, 102, 122, 153, 255) |
13:27:48.452 | 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` |
13:27:48.453 | 0.6 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)) |
13:27:48.454 | 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`='article') AND (`post`.`in_ru`=1) AND (`post`.`is_public`=1) AND (`post_tag_assn`.`tag_id`=245)) |
13:27:48.456 | 1.7 ms | SHOW | SHOW FULL COLUMNS FROM `settings` |
13:27:48.458 | 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 = 'settings' AND kcu.table_name = 'settings' |
13:27:48.505 | 0.6 ms | SELECT | SELECT * FROM `settings` WHERE `id`=1 |
13:27:48.513 | 5.4 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 |
13:27:48.520 | 0.4 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='confidentiality' |
13:27:48.521 | 0.6 ms | SHOW | SHOW FULL COLUMNS FROM `page` |
13:27:48.522 | 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' |
13:27:48.523 | 0.3 ms | SELECT | SELECT * FROM `page` WHERE `page`.`alias`='use_info' |
13:27:48.523 | 0.2 ms | SELECT | SELECT COUNT(*) FROM `partner` |