GET https://skilch.ru/

Query Metrics

13 Database Queries
8 Different statements
5.41 ms Query time
0 Invalid entities
23 Managed entities

Queries

Group similar statements

# Time Info
1 1.09 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.is_verified AS is_verified_5, t0.type AS type_6, t0.name AS name_7, t0.sname AS sname_8, t0.country AS country_9, t0.city AS city_10, t0.about AS about_11, t0.avatar AS avatar_12, t0.show_in_rating AS show_in_rating_13, t0.rating AS rating_14, t0.nickname AS nickname_15, t0.plan AS plan_16, t0.plan_end AS plan_end_17 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 0.68 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4 FROM course t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "music"
]
3 0.55 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started AS started_3, t0.done AS done_4, t0.ended AS ended_5, t0.student_id AS student_id_6, t0.lesson_id AS lesson_id_7, t0.curator_id AS curator_id_8 FROM user_lesson t0 WHERE t0.student_id = ? AND t0.status = ?
Parameters:
[
  1
  1
]
4 0.35 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started AS started_3, t0.done AS done_4, t0.ended AS ended_5, t0.student_id AS student_id_6, t0.lesson_id AS lesson_id_7, t0.curator_id AS curator_id_8 FROM user_lesson t0 WHERE t0.student_id = ? AND t0.status = ?
Parameters:
[
  1
  3
]
5 0.51 ms
SELECT id FROM lesson ORDER BY RANDOM() LIMIT 6
Parameters:
[]
6 0.40 ms
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.slug AS slug_2, l0_.description AS description_3, l0_.difficulty AS difficulty_4, l0_.prev AS prev_5, l0_.img AS img_6, l0_.category_id AS category_id_7 FROM lesson l0_ WHERE l0_.id IN (?, ?, ?, ?, ?, ?)
Parameters:
[
  6
  4
  3
  2
  10
  1
]
7 0.46 ms
SELECT t0.id AS id_1, t0.message AS message_2, t0.is_read AS is_read_3, t0.created_at AS created_at_4, t0.target_id AS target_id_5 FROM notification t0 WHERE t0.target_id = ?
Parameters:
[
  1
]
8 0.32 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.course_id AS course_id_5 FROM category t0 WHERE t0.id = ?
Parameters:
[
  2
]
9 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4, t0.course_id AS course_id_5 FROM category t0 WHERE t0.id = ?
Parameters:
[
  1
]
10 0.24 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.description AS description_4, t0.difficulty AS difficulty_5, t0.prev AS prev_6, t0.img AS img_7, t0.category_id AS category_id_8 FROM lesson t0 WHERE t0.id = ?
Parameters:
[
  5
]
11 0.20 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.description AS description_4, t0.difficulty AS difficulty_5, t0.prev AS prev_6, t0.img AS img_7, t0.category_id AS category_id_8 FROM lesson t0 WHERE t0.id = ?
Parameters:
[
  9
]
12 0.24 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.description AS description_4, t0.difficulty AS difficulty_5, t0.prev AS prev_6, t0.img AS img_7, t0.category_id AS category_id_8 FROM lesson t0 WHERE t0.id = ?
Parameters:
[
  8
]
13 0.17 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.description AS description_4, t0.difficulty AS difficulty_5, t0.prev AS prev_6, t0.img AS img_7, t0.category_id AS category_id_8 FROM lesson t0 WHERE t0.id = ?
Parameters:
[
  7
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Lesson 10
App\Entity\UserLesson 8
App\Entity\Category 2
App\Entity\User 1
App\Entity\Course 1
App\Entity\Notification 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserLesson No errors.
App\Entity\Message No errors.
App\Entity\Notification No errors.
App\Entity\Course No errors.
App\Entity\Category No errors.
App\Entity\Lesson No errors.