Database Queries

60 duplicated queries found.

Всего 129 записей.
TimeDurationTypeDuplicatedQuery
   
11:22:43.4010.2 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='frontend.maintenance'

11:22:43.4010.8 msSHOW1
SHOW FULL COLUMNS FROM `key_storage_item`
11:22:43.4020.8 msSELECT1
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'

11:22:43.4040.7 msSHOW1
SHOW FULL COLUMNS FROM `seo`
11:22:43.4040.5 msSELECT1
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'

11:22:43.4050.1 msSELECT1
SELECT * FROM `seo` WHERE `page_key`='tournament/81'

11:22:43.4050.2 msSELECT1
SELECT * FROM `tournaments` WHERE (`id`='81') AND (`tournaments`.`status`=1)

11:22:43.4050.9 msSHOW1
SHOW FULL COLUMNS FROM `tournaments`
11:22:43.4060.8 msSELECT1
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'

11:22:43.4070.2 msSELECT1
SELECT * FROM `request_tournament` WHERE `tournament_id`=81 ORDER BY `request_tournament`.`created_at` DESC

11:22:43.4080.1 msSELECT2
SELECT `id` FROM `stage` ORDER BY `priority` DESC, `name`

11:22:43.6690.2 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE (`position`=1) AND (`tournament_id`=81)

11:22:43.6700.5 msSHOW1
SHOW FULL COLUMNS FROM `tournaments_has_profiles`
11:22:43.6700.5 msSELECT1
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'

11:22:43.6710.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6710.5 msSHOW1
SHOW FULL COLUMNS FROM `user`
11:22:43.6720.4 msSELECT1
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'

11:22:43.6730.1 msSELECT1
SELECT * FROM `tournament_gallery` WHERE `tournament_id`=81 ORDER BY `tournament_gallery`.`order`

11:22:43.6730.1 msSELECT1
SELECT `player_id`, max(created_at) AS `created_at`, max(id) AS `id` FROM `list_invited_players` WHERE `tournament_id`=81 GROUP BY `player_id`

11:22:43.6730.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE `tournament_id`=81

11:22:43.6730.1 msSELECT1
SELECT * FROM `list_invited_players` WHERE (0=1) AND (`player_id` NOT IN (53, 171, 178, 181, 217, 218)) AND (`player_id` NOT IN (SELECT `user_id` FROM `request_tournament` WHERE `tournament_id`=81))

11:22:43.6730.1 msSELECT1
SELECT * FROM `age_category` WHERE `id`=4

11:22:43.6730.4 msSHOW1
SHOW FULL COLUMNS FROM `age_category`
11:22:43.6740.4 msSELECT1
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'

11:22:43.6740.6 msSELECT1
SELECT * FROM `user` WHERE (`user`.`birth_date` IS NOT NULL) AND (`status`=2) AND (`gender`=1)

11:22:43.6770.1 msSELECT1
SELECT * FROM `age_category` WHERE `id` IN (5, 2, 4, 10, 1)

11:22:43.6780.1 msSELECT1
SELECT EXISTS(SELECT * FROM `tournaments` WHERE (`id`='81') AND (`type`=1))

11:22:43.6790.1 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='group-stage-id'

11:22:43.6790.1 msSELECT1
SELECT * FROM `stage` WHERE `scheme_id`='1' ORDER BY `name`

11:22:43.6790.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='81') AND (`stage_id`=1) ORDER BY `position_group`

11:22:43.6790.1 msSELECT1
SELECT `id` FROM `user` WHERE `id` IN (53, 218, 178) ORDER BY `first_name`

11:22:43.6790.3 msSELECT1
SELECT `id`, (case when first_player_id != 178 then first_player_id when second_player_id != 178 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=178) OR (`tournament_stage_games`.`second_player_id`=178)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,178,218,53)

11:22:43.6800.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=753

11:22:43.6800.4 msSHOW1
SHOW FULL COLUMNS FROM `tournament_stage_games`
11:22:43.6800.4 msSELECT1
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'

11:22:43.6810.1 msSELECT5
SELECT * FROM `user` WHERE `id`=218

11:22:43.6810.1 msSELECT5
SELECT * FROM `user` WHERE `id`=178

11:22:43.6810.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6810.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=751

11:22:43.6810.1 msSELECT5
SELECT * FROM `user` WHERE `id`=178

11:22:43.6810.1 msSELECT5
SELECT * FROM `user` WHERE `id`=53

11:22:43.6820.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6820.1 msSELECT5
SELECT * FROM `user` WHERE `id`=178

11:22:43.6820.2 msSELECT1
SELECT `id`, (case when first_player_id != 218 then first_player_id when second_player_id != 218 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=218) OR (`tournament_stage_games`.`second_player_id`=218)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,178,218,53)

11:22:43.6820.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=753

11:22:43.6820.1 msSELECT5
SELECT * FROM `user` WHERE `id`=218

11:22:43.6820.1 msSELECT5
SELECT * FROM `user` WHERE `id`=178

11:22:43.6830.7 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6830.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=752

11:22:43.6830.1 msSELECT5
SELECT * FROM `user` WHERE `id`=53

11:22:43.6840.1 msSELECT5
SELECT * FROM `user` WHERE `id`=218

11:22:43.6840.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6840.1 msSELECT5
SELECT * FROM `user` WHERE `id`=218

11:22:43.6840.2 msSELECT1
SELECT `id`, (case when first_player_id != 53 then first_player_id when second_player_id != 53 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=1)) AND ((`tournament_stage_games`.`first_player_id`=53) OR (`tournament_stage_games`.`second_player_id`=53)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,178,218,53)

11:22:43.6840.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=751

11:22:43.6840.1 msSELECT5
SELECT * FROM `user` WHERE `id`=178

11:22:43.6850.1 msSELECT5
SELECT * FROM `user` WHERE `id`=53

11:22:43.6850.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6850.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=752

11:22:43.6850.2 msSELECT5
SELECT * FROM `user` WHERE `id`=53

11:22:43.6850.1 msSELECT5
SELECT * FROM `user` WHERE `id`=218

11:22:43.6850.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6860.1 msSELECT5
SELECT * FROM `user` WHERE `id`=53

11:22:43.6860.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='81') AND (`stage_id`=2) ORDER BY `position_group`

11:22:43.6860.1 msSELECT1
SELECT `id` FROM `user` WHERE `id` IN (181, 171, 217) ORDER BY `first_name`

11:22:43.6860.2 msSELECT1
SELECT `id`, (case when first_player_id != 171 then first_player_id when second_player_id != 171 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=171) OR (`tournament_stage_games`.`second_player_id`=171)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,171,217,181)

11:22:43.6860.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=744

11:22:43.6860.1 msSELECT5
SELECT * FROM `user` WHERE `id`=171

11:22:43.6860.1 msSELECT5
SELECT * FROM `user` WHERE `id`=217

11:22:43.6870.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6870.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=743

11:22:43.6870.1 msSELECT5
SELECT * FROM `user` WHERE `id`=171

11:22:43.6870.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6870.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6870.1 msSELECT5
SELECT * FROM `user` WHERE `id`=171

11:22:43.6870.2 msSELECT1
SELECT `id`, (case when first_player_id != 217 then first_player_id when second_player_id != 217 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=217) OR (`tournament_stage_games`.`second_player_id`=217)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,171,217,181)

11:22:43.6880.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=744

11:22:43.6880.1 msSELECT5
SELECT * FROM `user` WHERE `id`=171

11:22:43.6880.1 msSELECT5
SELECT * FROM `user` WHERE `id`=217

11:22:43.6880.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6880.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=745

11:22:43.6880.1 msSELECT5
SELECT * FROM `user` WHERE `id`=217

11:22:43.6880.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6880.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6890.1 msSELECT5
SELECT * FROM `user` WHERE `id`=217

11:22:43.6890.2 msSELECT1
SELECT `id`, (case when first_player_id != 181 then first_player_id when second_player_id != 181 then second_player_id END) AS `opponentId` FROM `tournament_stage_games` WHERE ((`tournament_id`='81') AND (`use_stage_id`=2)) AND ((`tournament_stage_games`.`first_player_id`=181) OR (`tournament_stage_games`.`second_player_id`=181)) AND (((`result` != '') AND (`result` IS NOT NULL)) OR (`early_result` IS NOT NULL)) ORDER BY field (opponentId,171,217,181)

11:22:43.6890.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=743

11:22:43.6890.1 msSELECT5
SELECT * FROM `user` WHERE `id`=171

11:22:43.6890.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6890.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6900.1 msSELECT2
SELECT * FROM `tournament_stage_games` WHERE `id`=745

11:22:43.6900.1 msSELECT5
SELECT * FROM `user` WHERE `id`=217

11:22:43.6900.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6900.1 msSELECT12
SELECT * FROM `tournaments` WHERE `id`=81

11:22:43.6900.1 msSELECT6
SELECT * FROM `user` WHERE `id`=181

11:22:43.6900.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='81') AND (`stage_id`=3) ORDER BY `position_group`

11:22:43.6900.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`='81') AND (`stage_id`=4) ORDER BY `position_group`

11:22:43.6910.1 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='place-3-stage-id'

11:22:43.6910.1 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='final-stage-id'

11:22:43.6910.1 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='play-off-stage-id'

11:22:43.6910.1 msSELECT1
SELECT * FROM `tournaments_playoff` WHERE `tour_id`='81' ORDER BY `ids`

11:22:43.6910.4 msSHOW1
SHOW FULL COLUMNS FROM `tournaments_playoff`
11:22:43.6920.4 msSELECT1
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'

11:22:43.6920.1 msSELECT1
SELECT * FROM `tournament_stage_games` WHERE `id` IN (746, 786, 750, 787, 747, 749, 754)

11:22:43.6920.1 msSELECT1
SELECT * FROM `stage` WHERE `id` IN (10, 11, 13)

11:22:43.6920.3 msSHOW1
SHOW FULL COLUMNS FROM `stage`
11:22:43.6930.4 msSELECT1
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'

11:22:43.6930.1 msSELECT1
SELECT * FROM `tournament_stage_games` WHERE (`tournament_id`='81') AND (`use_stage_id`='12')

11:22:43.6940.1 msSELECT1
SELECT * FROM `sportclub_court` WHERE `id` IN ('1', '2')

11:22:43.6940.4 msSHOW1
SHOW FULL COLUMNS FROM `sportclub_court`
11:22:43.6940.4 msSELECT1
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'

11:22:43.6950.1 msSELECT3
SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=81) AND (`position` IS NOT NULL))

11:22:43.6950.1 msSELECT1
SELECT EXISTS(SELECT * FROM `tournament_stage_games` WHERE (`tournament_id`=81) AND (`result` IS NOT NULL))

11:22:43.6950.1 msSELECT1
SELECT * FROM `sportclub` WHERE `id`=1

11:22:43.6950.4 msSHOW1
SHOW FULL COLUMNS FROM `sportclub`
11:22:43.6960.4 msSELECT1
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'

11:22:43.6960.1 msSELECT1
SELECT * FROM `balls` WHERE `id`=4

11:22:43.6960.3 msSHOW1
SHOW FULL COLUMNS FROM `balls`
11:22:43.6970.4 msSELECT1
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'

11:22:43.6970.1 msSELECT1
SELECT * FROM `tournament_has_players_double` WHERE (`position`=1) AND (`tournament_id`=81)

11:22:43.6970.1 msSELECT3
SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=81) AND (`position` IS NOT NULL))

11:22:43.6980.1 msSELECT1
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`=81 ORDER BY `position`, field (stage_id_feik, 13,12,11,10,9,8,7,6,15,1,2,3,4,5,14,9999)

11:22:43.6980.2 msSELECT1
SELECT * FROM `user` WHERE `id` IN (181, 171, 218, 53, 178, 217)

11:22:43.6980.1 msSELECT2
SELECT `id` FROM `stage` ORDER BY `priority` DESC, `name`

11:22:43.6990.2 msSELECT1
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`=81) ORDER BY field (use_stage_id, 13,12,11,10,9,8,7,6,15,1,2,3,4,5,14)

11:22:43.6990.1 msSELECT1
SELECT * FROM `stage` WHERE `id` IN (13, 12, 11, 10, 1, 2)

11:22:43.6990.1 msSELECT3
SELECT EXISTS(SELECT * FROM `tournaments_has_profiles` WHERE (`tournament_id`=81) AND (`position` IS NOT NULL))

11:22:43.6990.1 msSELECT1
SELECT `created_at` FROM `tournament_gallery` WHERE `tournament_id`=81 ORDER BY `created_at` DESC

11:22:43.7000.1 msSELECT1
SELECT * FROM `seo` WHERE `page_key`='home'