3 duplicated queries found.
Time | Duration | Type | Duplicated | Query |
---|---|---|---|---|
05:16:55.942 | 1.5 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `posts` |
05:16:55.944 | 0.2 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` = 'posts' AND `kcu`.`TABLE_NAME` = 'posts' |
05:16:55.945 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `posts` WHERE `status`=10 |
05:16:55.945 | 0.1 ms | SELECT | 1 | SELECT * FROM `posts` WHERE `status`=10 ORDER BY `created_at` DESC LIMIT 8 |
05:16:55.947 | 0.1 ms | SELECT | 3 | SELECT * FROM `user` WHERE `id`=1 |
05:16:55.947 | 0.6 ms | SHOW | 1 | SHOW FULL COLUMNS FROM `user` |
05:16:55.948 | 0.2 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' |
05:16:55.948 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=4 |
05:16:55.948 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `comments` WHERE `post_id`=4 |
05:16:55.948 | 0.1 ms | SELECT | 3 | SELECT * FROM `user` WHERE `id`=1 |
05:16:55.949 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=3 |
05:16:55.949 | 0.2 ms | SELECT | 1 | SELECT COUNT(*) FROM `comments` WHERE `post_id`=3 |
05:16:55.949 | 0.1 ms | SELECT | 3 | SELECT * FROM `user` WHERE `id`=1 |
05:16:55.949 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=2 |
05:16:55.949 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `comments` WHERE `post_id`=2 |
05:16:55.950 | 0.1 ms | SELECT | 1 | SELECT * FROM `user` WHERE `id`=2 |
05:16:55.950 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=1 |
05:16:55.950 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `comments` WHERE `post_id`=1 |
05:16:55.950 | 0.1 ms | SELECT | 1 | SELECT COUNT(*) FROM `notifications` WHERE (`user_id` IS NULL) AND (`is_read`=FALSE) |
05:16:55.951 | 0.1 ms | SELECT | 1 | SELECT * FROM `auth_item` WHERE `name`='admin' |
05:16:55.951 | 0.1 ms | SELECT | 1 | SELECT `parent` FROM `auth_item_child` WHERE `child`='admin' |
05:16:55.951 | 0.1 ms | SELECT | 1 | SELECT * FROM `auth_item` WHERE `name`='superadmin' |
05:16:55.951 | 0.0 ms | SELECT | 1 | SELECT `parent` FROM `auth_item_child` WHERE `child`='superadmin' |