Database Queries

4 duplicated queries found.

Всего 38 записей.
TimeDurationTypeDuplicatedQuery
   
09:06:13.2110.3 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='frontend.maintenance'

09:06:13.2110.7 msSHOW1
SHOW FULL COLUMNS FROM `key_storage_item`
09:06:13.2120.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'

09:06:13.2130.6 msSHOW1
SHOW FULL COLUMNS FROM `seo`
09:06:13.2140.6 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'

09:06:13.2150.2 msSELECT1
SELECT * FROM `seo` WHERE `page_key`='profile/265'

09:06:13.2150.8 msSHOW1
SHOW FULL COLUMNS FROM `user`
09:06:13.2160.7 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'

09:06:13.2170.2 msSELECT1
SELECT * FROM `user` WHERE `id`='265'

09:06:13.2170.7 msSHOW1
SHOW FULL COLUMNS FROM `tournaments`
09:06:13.2180.7 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'

09:06:13.2200.6 msSELECT1
SELECT * FROM `age_category` WHERE `id` IN (SELECT `age_category_id` FROM `tournaments` WHERE ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `profile_id`=265 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `players_double_id` IN (SELECT `id` FROM `players_double` WHERE (`player_1_id`=265) OR (`player_2_id`=265)) GROUP BY `tournament_id`))) AND ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `position` > 0 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `position` > 0 GROUP BY `tournament_id`)))) ORDER BY `sort`

09:06:13.2200.6 msSHOW1
SHOW FULL COLUMNS FROM `age_category`
09:06:13.2210.6 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'

09:06:13.2210.4 msSELECT1
SELECT DISTINCT year(start_date) AS `start_date` FROM `tournaments` WHERE ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `profile_id`=265 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `players_double_id` IN (SELECT `id` FROM `players_double` WHERE (`player_1_id`=265) OR (`player_2_id`=265)) GROUP BY `tournament_id`))) AND ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `position` > 0 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `position` > 0 GROUP BY `tournament_id`))) ORDER BY `start_date` DESC

09:06:13.4170.2 msSELECT1
SELECT * FROM `key_storage_item` WHERE `key`='rating-period'

09:06:13.4170.3 msSELECT1
SELECT * FROM `age_category` WHERE (`is_active`=1) AND ((`age_limit` IS NULL) OR (`age_limit` >= '8')) AND (`gender` IN (2, 3)) AND (`is_not_rating`=0) ORDER BY `sort`

09:06:13.4181.4 msSELECT2
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) ORDER BY `rating` DESC

09:06:13.4211.2 msSELECT2
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) ORDER BY `rating` DESC

09:06:13.4241.1 msSELECT1
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) AND (`gender`=2) ORDER BY `rating` DESC

09:06:13.4261.0 msSELECT1
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) AND (`gender`=2) AND (((YEAR(CURRENT_DATE) - YEAR(birth_date)) - (DATE_FORMAT(CURRENT_DATE, '%m%d') < DATE_FORMAT(birth_date, '%m%d'))) <= 14) ORDER BY `rating` DESC

09:06:13.4271.0 msSELECT1
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) AND (((YEAR(CURRENT_DATE) - YEAR(birth_date)) - (DATE_FORMAT(CURRENT_DATE, '%m%d') < DATE_FORMAT(birth_date, '%m%d'))) <= 11) ORDER BY `rating` DESC

09:06:13.4300.9 msSELECT1
SELECT * FROM `user` WHERE (`id` IN (SELECT `user_id` FROM `rbac_auth_assignment` WHERE `item_name`='user')) AND (`rating` != 0) AND (((YEAR(CURRENT_DATE) - YEAR(birth_date)) - (DATE_FORMAT(CURRENT_DATE, '%m%d') < DATE_FORMAT(birth_date, '%m%d'))) <= 9) ORDER BY `rating` DESC

09:06:13.4310.4 msSELECT1
SELECT COUNT(*) FROM `tournaments` WHERE ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `profile_id`=265 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `players_double_id` IN (SELECT `id` FROM `players_double` WHERE (`player_1_id`=265) OR (`player_2_id`=265)) GROUP BY `tournament_id`))) AND ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `position` > 0 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `position` > 0 GROUP BY `tournament_id`)))

09:06:13.4320.5 msSELECT1
SELECT * FROM `tournaments` WHERE ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `profile_id`=265 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `players_double_id` IN (SELECT `id` FROM `players_double` WHERE (`player_1_id`=265) OR (`player_2_id`=265)) GROUP BY `tournament_id`))) AND ((`id` IN (SELECT `tournament_id` FROM `tournaments_has_profiles` WHERE `position` > 0 GROUP BY `tournament_id`)) OR (`id` IN (SELECT `tournament_id` FROM `tournament_has_players_double` WHERE `position` > 0 GROUP BY `tournament_id`))) ORDER BY `start_date` DESC LIMIT 5

09:06:13.4320.1 msSELECT1
SELECT * FROM `age_category` WHERE `id`=1

09:06:13.4320.1 msSELECT1
SELECT * FROM `tournaments_has_profiles` WHERE `tournament_id`=99

09:06:13.4330.3 msSELECT1
SELECT * FROM `user` WHERE `id` IN (236, 240, 265, 266, 267, 268, 269, 270, 271, 272, 273, 280, 282, 283) ORDER BY `user`.`first_name`

09:06:13.4340.2 msSELECT1
SELECT * FROM `balls` WHERE `id`=1

09:06:13.4350.6 msSHOW1
SHOW FULL COLUMNS FROM `balls`
09:06:13.4350.7 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'

09:06:13.4360.2 msSELECT1
SELECT * FROM `city` WHERE `id`=1

09:06:13.4360.5 msSHOW1
SHOW FULL COLUMNS FROM `city`
09:06:13.4370.7 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` = 'city' AND `kcu`.`TABLE_NAME` = 'city'

09:06:13.4380.1 msSELECT1
SELECT `position` FROM `tournaments_has_profiles` WHERE (`profile_id`=265) AND (`position` IS NOT NULL) AND (`tournament_id`=99) ORDER BY `position`

09:06:13.4380.2 msSELECT2
SELECT SUM(rating) FROM `rating` WHERE (`tournament`=99) AND (`player_id`=265)

09:06:13.4380.1 msSELECT2
SELECT SUM(rating) FROM `rating` WHERE (`tournament`=99) AND (`player_id`=265)

09:06:13.4390.1 msSELECT1
SELECT * FROM `seo` WHERE `page_key`='home'