Database Queries

3 duplicated queries found.

Всего 23 записи.
TimeDurationTypeDuplicatedQuery
   
12:45:59.3013.3 msSHOW1
SHOW FULL COLUMNS FROM `posts`
12:45:59.3050.2 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` = 'posts' AND `kcu`.`TABLE_NAME` = 'posts'

12:45:59.3050.1 msSELECT1
SELECT COUNT(*) FROM `posts` WHERE `status`=10

12:45:59.3060.1 msSELECT1
SELECT * FROM `posts` WHERE `status`=10 ORDER BY `created_at` DESC LIMIT 8

12:45:59.3070.1 msSELECT3
SELECT * FROM `user` WHERE `id`=1

12:45:59.3070.3 msSHOW1
SHOW FULL COLUMNS FROM `user`
12:45:59.3080.2 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'

12:45:59.3080.1 msSELECT1
SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=4

12:45:59.3080.1 msSELECT1
SELECT COUNT(*) FROM `comments` WHERE `post_id`=4

12:45:59.3090.1 msSELECT3
SELECT * FROM `user` WHERE `id`=1

12:45:59.3090.1 msSELECT1
SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=3

12:45:59.3090.1 msSELECT1
SELECT COUNT(*) FROM `comments` WHERE `post_id`=3

12:45:59.3090.1 msSELECT3
SELECT * FROM `user` WHERE `id`=1

12:45:59.3090.1 msSELECT1
SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=2

12:45:59.3100.1 msSELECT1
SELECT COUNT(*) FROM `comments` WHERE `post_id`=2

12:45:59.3100.1 msSELECT1
SELECT * FROM `user` WHERE `id`=2

12:45:59.3100.1 msSELECT1
SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=1

12:45:59.3100.1 msSELECT1
SELECT COUNT(*) FROM `comments` WHERE `post_id`=1

12:45:59.3110.1 msSELECT1
SELECT COUNT(*) FROM `notifications` WHERE (`user_id` IS NULL) AND (`is_read`=FALSE)

12:45:59.3110.1 msSELECT1
SELECT * FROM `auth_item` WHERE `name`='admin'

12:45:59.3110.1 msSELECT1
SELECT `parent` FROM `auth_item_child` WHERE `child`='admin'

12:45:59.3120.1 msSELECT1
SELECT * FROM `auth_item` WHERE `name`='superadmin'

12:45:59.3120.1 msSELECT1
SELECT `parent` FROM `auth_item_child` WHERE `child`='superadmin'