85 duplicated queries found.
Time | Duration | Type | Duplicated | Query |
---|---|---|---|---|
22:47:56.226 | 0.9 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `seo` |
22:47:56.227 | 0.7 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'seo' AND `kcu`.`TABLE_NAME` = 'seo' |
22:47:56.228 | 0.1 ms | SELECT | 1 | SELECT * FROM `seo` WHERE `page_key`='tournament/127' |
22:47:56.229 | 0.2 ms | SELECT | 1 | SELECT * FROM `tournaments` WHERE (`id`='127') AND (`tournaments`.`status`=1) |
22:47:56.229 | 0.8 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `tournaments` |
22:47:56.230 | 0.8 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'tournaments' AND `kcu`.`TABLE_NAME` = 'tournaments' |
22:47:56.231 | 0.2 ms | SELECT | 1 | SELECT * FROM `request_tournament` WHERE `tournament_id`=127 ORDER BY `request_tournament`.`created_at` DESC |
22:47:56.231 | 0.2 ms | SELECT | 2 | SELECT `id` FROM `stage` ORDER BY `priority` DESC, `name` |
22:47:56.487 | 0.4 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE (`position`=1) AND (`tournament_id`=127) |
22:47:56.488 | 1.1 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `tournaments_has_profiles` |
22:47:56.489 | 1.1 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'tournaments_has_profiles' AND `kcu`.`TABLE_NAME` = 'tournaments_has_profiles' |
22:47:56.490 | 0.2 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.490 | 1.2 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `user` |
22:47:56.492 | 1.0 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'user' AND `kcu`.`TABLE_NAME` = 'user' |
22:47:56.493 | 0.3 ms | SELECT | 1 | SELECT * FROM `tournament_gallery` WHERE `tournament_id`=127 ORDER BY `tournament_gallery`.`order` |
22:47:56.494 | 0.8 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `tournament_gallery` |
22:47:56.494 | 0.9 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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_gallery' AND `kcu`.`TABLE_NAME` = 'tournament_gallery' |
22:47:56.495 | 0.3 ms | SELECT | 1 | SELECT `player_id`, max(created_at) AS `created_at`, max(id) AS `id` FROM `list_invited_players` WHERE `tournament_id`=127 GROUP BY `player_id` |
22:47:56.496 | 0.7 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `list_invited_players` |
22:47:56.496 | 0.9 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'list_invited_players' AND `kcu`.`TABLE_NAME` = 'list_invited_players' |
22:47:56.497 | 0.2 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE `tournament_id`=127 |
22:47:56.498 | 0.6 ms | SELECT | 1 | SELECT * FROM `list_invited_players` WHERE (`id`=364) AND (`player_id` NOT IN (228, 232, 235, 263, 301, 305, 306)) AND (`player_id` NOT IN (SELECT `user_id` FROM `request_tournament` WHERE `tournament_id`=127)) |
22:47:56.498 | 0.2 ms | SELECT | 1 | SELECT * FROM `user` WHERE `id`=248 |
22:47:56.499 | 0.1 ms | SELECT | 1 | SELECT * FROM `age_category` WHERE `id`=2 |
22:47:56.499 | 0.8 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `age_category` |
22:47:56.500 | 0.9 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'age_category' AND `kcu`.`TABLE_NAME` = 'age_category' |
22:47:56.501 | 0.8 ms | SELECT | 1 | SELECT * FROM `user` WHERE (`user`.`birth_date` IS NOT NULL) AND (`status`=2) AND (`birth_date` >= '2016-05-08') ORDER BY field (id, 0) desc |
22:47:56.502 | 0.2 ms | SELECT | 1 | SELECT * FROM `age_category` WHERE `id` IN (1, 2, 10) |
22:47:56.502 | 0.2 ms | SELECT | 1 | SELECT EXISTS(SELECT * FROM `tournaments` WHERE (`id`='127') AND (`type`=1)) |
22:47:56.502 | 0.1 ms | SELECT | 1 | SELECT * FROM `key_storage_item` WHERE `key`='group-stage-id' |
22:47:56.503 | 0.7 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `key_storage_item` |
22:47:56.503 | 0.8 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'key_storage_item' AND `kcu`.`TABLE_NAME` = 'key_storage_item' |
22:47:56.504 | 0.1 ms | SELECT | 1 | SELECT * FROM `stage` WHERE `scheme_id`='1' ORDER BY `name` |
22:47:56.504 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='127') AND (`stage_id`=1) ORDER BY `position_group` |
22:47:56.505 | 0.1 ms | SELECT | 1 | SELECT `id` FROM `user` WHERE `id` IN (228, 306, 232, 305) ORDER BY `first_name` |
22:47:56.505 | 0.3 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 306 then first_player_id when second_player_id != 306 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=306) OR (`tournament_stage_games`.`second_player_id`=306)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,306,232,305,228) |
22:47:56.505 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1105 |
22:47:56.505 | 0.5 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `tournament_stage_games` |
22:47:56.506 | 0.6 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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_stage_games' AND `kcu`.`TABLE_NAME` = 'tournament_stage_games' |
22:47:56.506 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.506 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.507 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.507 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1106 |
22:47:56.507 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.507 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.507 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.507 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1103 |
22:47:56.507 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.508 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.508 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.508 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.508 | 0.2 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 232 then first_player_id when second_player_id != 232 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=232) OR (`tournament_stage_games`.`second_player_id`=232)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,306,232,305,228) |
22:47:56.508 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1105 |
22:47:56.509 | 4.3 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.513 | 0.3 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.514 | 0.2 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.514 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1104 |
22:47:56.514 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.514 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.514 | 0.2 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.515 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1101 |
22:47:56.515 | 0.2 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.515 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.515 | 0.2 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.515 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.516 | 0.5 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 305 then first_player_id when second_player_id != 305 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=305) OR (`tournament_stage_games`.`second_player_id`=305)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,306,232,305,228) |
22:47:56.516 | 0.2 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1106 |
22:47:56.516 | 0.2 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.517 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.517 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.517 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1104 |
22:47:56.517 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.517 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.517 | 0.2 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.518 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1102 |
22:47:56.518 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.518 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.518 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.518 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.519 | 0.3 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 228 then first_player_id when second_player_id != 228 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=228) OR (`tournament_stage_games`.`second_player_id`=228)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,306,232,305,228) |
22:47:56.519 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1103 |
22:47:56.519 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.519 | 0.2 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=306 |
22:47:56.520 | 0.2 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.520 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1101 |
22:47:56.520 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.520 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=232 |
22:47:56.520 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.520 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1102 |
22:47:56.520 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.521 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=305 |
22:47:56.521 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.521 | 0.1 ms | SELECT | 7 | SELECT * FROM `user` WHERE `id`=228 |
22:47:56.521 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='127') AND (`stage_id`=2) ORDER BY `position_group` |
22:47:56.521 | 0.1 ms | SELECT | 1 | SELECT `id` FROM `user` WHERE `id` IN (301, 263, 235) ORDER BY `first_name` |
22:47:56.521 | 0.2 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 235 then first_player_id when second_player_id != 235 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=235) OR (`tournament_stage_games`.`second_player_id`=235)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,235,301,263) |
22:47:56.521 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1108 |
22:47:56.522 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=235 |
22:47:56.522 | 0.1 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.522 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.522 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1107 |
22:47:56.522 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=235 |
22:47:56.522 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=263 |
22:47:56.522 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.523 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=235 |
22:47:56.523 | 0.2 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 301 then first_player_id when second_player_id != 301 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=301) OR (`tournament_stage_games`.`second_player_id`=301)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,235,301,263) |
22:47:56.523 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1108 |
22:47:56.523 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=235 |
22:47:56.523 | 0.1 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.523 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.523 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1109 |
22:47:56.523 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=263 |
22:47:56.524 | 0.1 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.524 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.524 | 0.1 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.524 | 0.2 ms | SELECT | 1 | SELECT `id`, (case when first_player_id != 263 then first_player_id when second_player_id != 263 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='127') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=263) OR (`tournament_stage_games`.`second_player_id`=263)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,235,301,263) |
22:47:56.524 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1107 |
22:47:56.524 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=235 |
22:47:56.524 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=263 |
22:47:56.524 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.525 | 0.1 ms | SELECT | 2 | SELECT * FROM `tournament_stage_games` WHERE `id`=1109 |
22:47:56.525 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=263 |
22:47:56.525 | 0.1 ms | SELECT | 6 | SELECT * FROM `user` WHERE `id`=301 |
22:47:56.525 | 0.1 ms | SELECT | 18 | SELECT * FROM `tournaments` WHERE `id`=127 |
22:47:56.525 | 0.1 ms | SELECT | 5 | SELECT * FROM `user` WHERE `id`=263 |
22:47:56.525 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='127') AND (`stage_id`=3) ORDER BY `position_group` |
22:47:56.525 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='127') AND (`stage_id`=4) ORDER BY `position_group` |
22:47:56.526 | 0.1 ms | SELECT | 1 | SELECT * FROM `key_storage_item` WHERE `key`='place-3-stage-id' |
22:47:56.526 | 0.1 ms | SELECT | 1 | SELECT * FROM `key_storage_item` WHERE `key`='final-stage-id' |
22:47:56.526 | 0.1 ms | SELECT | 1 | SELECT * FROM `key_storage_item` WHERE `key`='play-off-stage-id' |
22:47:56.526 | 0.2 ms | SELECT | 1 | SELECT * FROM `tournaments_playoff` WHERE `tour_id`='127' ORDER BY `ids` |
22:47:56.526 | 0.5 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `tournaments_playoff` |
22:47:56.527 | 0.5 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'tournaments_playoff' AND `kcu`.`TABLE_NAME` = 'tournaments_playoff' |
22:47:56.527 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournament_stage_games` WHERE `id` IN (1112, 1110, 1111) |
22:47:56.528 | 0.1 ms | SELECT | 1 | SELECT * FROM `stage` WHERE `id` IN (11, 13) |
22:47:56.528 | 0.3 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `stage` |
22:47:56.528 | 0.4 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'stage' AND `kcu`.`TABLE_NAME` = 'stage' |
22:47:56.528 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournament_stage_games` WHERE (`tournament_id`='127') AND (`use_stage_id`='12') |
22:47:56.529 | 0.1 ms | SELECT | 1 | SELECT * FROM `sportclub_court` WHERE `id` IN ('1', '2') |
22:47:56.529 | 0.3 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `sportclub_court` |
22:47:56.529 | 0.4 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'sportclub_court' AND `kcu`.`TABLE_NAME` = 'sportclub_court' |
22:47:56.530 | 0.1 ms | SELECT | 3 | SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=127) AND (`position` IS NOT NULL)) |
22:47:56.530 | 0.1 ms | SELECT | 1 | SELECT EXISTS(SELECT * FROM `tournament_stage_games` WHERE (`tournament_id`=127) AND (`result` IS NOT NULL)) |
22:47:56.530 | 0.1 ms | SELECT | 1 | SELECT * FROM `sportclub` WHERE `id`=1 |
22:47:56.530 | 0.4 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `sportclub` |
22:47:56.530 | 0.4 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'sportclub' AND `kcu`.`TABLE_NAME` = 'sportclub' |
22:47:56.531 | 0.1 ms | SELECT | 1 | SELECT * FROM `balls` WHERE `id`=2 |
22:47:56.531 | 0.3 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `balls` |
22:47:56.532 | 0.3 ms | SELECT | 1 | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `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` = 'balls' AND `kcu`.`TABLE_NAME` = 'balls' |
22:47:56.532 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournament_has_players_double` WHERE (`position`=1) AND (`tournament_id`=127) |
22:47:56.532 | 0.1 ms | SELECT | 3 | SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=127) AND (`position` IS NOT NULL)) |
22:47:56.532 | 0.1 ms | SELECT | 1 | SELECT `tournament_id`, `profile_id`, `stage_id`, Ifnull(stage_id, 9999) AS `stage_id_feik`, Ifnull(position, 9999) AS `position` FROM `tournaments_has_profiles` WHERE `tournament_id`=127 ORDER BY `position`, field (stage_id_feik, 13,12,11,10,9,8,7,6,15,1,2,3,4,5,14,9999) |
22:47:56.533 | 0.1 ms | SELECT | 1 | SELECT * FROM `user` WHERE `id` IN (301, 228, 263, 232, 305, 306, 235) |
22:47:56.533 | 0.1 ms | SELECT | 2 | SELECT `id` FROM `stage` ORDER BY `priority` DESC, `name` |
22:47:56.533 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournament_stage_games` WHERE (`tournament_stage_games`.`use_stage_id` IS NOT NULL) AND (`match_id` IS NULL) AND (`result` IS NOT NULL) AND (`tournament_id`=127) ORDER BY field (use_stage_id, 13,12,11,10,9,8,7,6,15,1,2,3,4,5,14) |
22:47:56.534 | 0.1 ms | SELECT | 1 | SELECT * FROM `stage` WHERE `id` IN (13, 12, 11, 1, 2) |
22:47:56.534 | 0.1 ms | SELECT | 3 | SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=127) AND (`position` IS NOT NULL)) |
22:47:56.534 | 0.1 ms | SELECT | 1 | SELECT `created_at` FROM `tournament_gallery` WHERE `tournament_id`=127 ORDER BY `created_at` DESC |
22:47:56.534 | 0.1 ms | SELECT | 1 | SELECT * FROM `tournament_gallery` WHERE `tournament_id`=127 ORDER BY `tournament_gallery`.`order` DESC |
22:47:56.535 | 0.1 ms | SELECT | 1 | SELECT * FROM `seo` WHERE `page_key`='home' |