Total processing time: 13 ms; Peak memory: 2.702 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
10:42:59.342 | 1.4 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `posts` |
10:42:59.344 | 0.6 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `comments` |
10:42:59.341 | 0.4 ms | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;dbname=h008393606_demosforum |
10:42:59.347 | 0.4 ms | yii\db\Command::query | SHOW FULL COLUMNS FROM `user` |
10:42:59.343 | 0.2 ms | yii\db\Command::query | 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' |
10:42:59.345 | 0.2 ms | yii\db\Command::query | 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` = 'comments' AND `kcu`.`TABLE_NAME` = 'comments' |
10:42:59.347 | 0.2 ms | yii\db\Command::query | 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' |
10:42:59.346 | 0.1 ms | yii\db\Command::query | SELECT * FROM `user` WHERE `id`=1 |
10:42:59.346 | 0.1 ms | yii\db\Command::execute | UPDATE `posts` SET `views`=783 WHERE `id`=4 |
10:42:59.348 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `post_likes` WHERE `post_id`=4 |
10:42:59.344 | 0.1 ms | yii\db\Command::query | SELECT * FROM `posts` WHERE `id`='4' |
10:42:59.345 | 0.1 ms | yii\db\Command::query | SELECT * FROM `comments` WHERE (`status`=10) AND (`parent_id` IS NULL) AND (`post_id`=4) ORDER BY `created_at` DESC |
10:42:59.350 | 0.1 ms | yii\db\Command::query | SELECT * FROM `auth_item` WHERE `name`='admin' |
10:42:59.348 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `comment_likes` WHERE `comment_id`=7 |
10:42:59.345 | 0.1 ms | yii\db\Command::query | SELECT * FROM `comments` WHERE `post_id`=4 |
10:42:59.351 | 0.1 ms | yii\db\Command::query | SELECT `parent` FROM `auth_item_child` WHERE `child`='admin' |
10:42:59.349 | 0.1 ms | yii\db\Command::query | SELECT * FROM `user` WHERE `id`=2 |
10:42:59.350 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `notifications` WHERE (`user_id` IS NULL) AND (`is_read`=FALSE) |
10:42:59.348 | 0.1 ms | yii\db\Command::query | SELECT * FROM `user` WHERE `id`=1 |
10:42:59.346 | 0.1 ms | yii\db\Command::query | SELECT * FROM `comments` WHERE `parent_id`=7 |
10:42:59.348 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `comments` WHERE `post_id`=4 |
10:42:59.350 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `comment_likes` WHERE `comment_id`=9 |
10:42:59.351 | 0.1 ms | yii\db\Command::query | SELECT * FROM `auth_item` WHERE `name`='superadmin' |
10:42:59.348 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `comment_likes` WHERE `comment_id`=7 |
10:42:59.350 | 0.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM `comment_likes` WHERE `comment_id`=9 |
10:42:59.351 | 0.0 ms | yii\db\Command::query | SELECT `parent` FROM `auth_item_child` WHERE `child`='superadmin' |