POST https://edu.900900.ru/qa/question/119

Query Metrics

16 Database Queries
14 Different statements
33.04 ms Query time
2 Invalid entities
14 Managed entities

Grouped Statements

Show all queries

Time Count Info
5.66 ms
(17.14%)
3
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = ?
Parameters:
[
  "119"
]
4.78 ms
(14.46%)
1
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.access_until AS access_until_9 FROM "user" t0 WHERE t0.id = ?
Parameters:
[
  209
]
3.55 ms
(10.75%)
1
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = ? ORDER BY u0_.id ASC
Parameters:
[
  209
]
3.37 ms
(10.20%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = ?
Parameters:
[
  4
]
3.24 ms
(9.81%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4 FROM topic t0 WHERE t0.id = ?
Parameters:
[
  4
]
1.94 ms
(5.86%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = ?
Parameters:
[
  22
]
1.83 ms
(5.54%)
1
SELECT t0.id AS id_1, t0.attempts_count AS attempts_count_2, t0.last_answered_at AS last_answered_at_3, t0.last_is_correct AS last_is_correct_4, t0.ever_correct AS ever_correct_5, t0.user_id AS user_id_6, t0.question_id AS question_id_7 FROM qa_progress t0 WHERE t0.user_id = ? AND t0.question_id = ? LIMIT 1
Parameters:
[
  209
  119
]
1.77 ms
(5.34%)
1
SELECT t0.id AS id_1, t0.text AS text_2, t0.is_correct AS is_correct_3, t0.sort_order AS sort_order_4, t0.question_id AS question_id_5 FROM answer_option t0 WHERE t0.question_id = ? ORDER BY t0.sort_order ASC, t0.id ASC
Parameters:
[
  119
]
1.66 ms
(5.03%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = ?
Parameters:
[
  7
]
1.47 ms
(4.45%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.section_group_id AS section_group_id_5 FROM section t0 WHERE t0.id = ?
Parameters:
[
  7
]
1.16 ms
(3.52%)
1
SELECT q0_.id AS id_0 FROM question q0_ WHERE q0_.section_id = ? AND q0_.is_active = true ORDER BY q0_.sort_order ASC, q0_.id ASC
Parameters:
[
  7
]
1.13 ms
(3.42%)
1
UPDATE qa_progress SET attempts_count = ?, last_answered_at = ?, last_is_correct = ? WHERE id = ?
Parameters:
[
  3
  "2026-04-13 10:07:36"
  1
  15521
]
0.90 ms
(2.73%)
1
"COMMIT"
Parameters:
[]
0.58 ms
(1.76%)
1
"START TRANSACTION"
Parameters:
[]

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\Question 3
App\Entity\AnswerOption 3
App\Entity\User 1
App\Entity\Section 1
App\Entity\SectionGroup 1
App\Entity\UserAccessGrant 1
App\Entity\Topic 1
App\Entity\Category 1
App\Entity\Subcategory 1
App\Entity\QaProgress 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserAccessGrant No errors.
App\Entity\Question No errors.
App\Entity\Section No errors.
App\Entity\AnswerOption No errors.
App\Entity\SectionGroup No errors.
App\Entity\Topic No errors.
App\Entity\Category
  • The association App\Entity\Category#sections refers to the owning side field App\Entity\Section#category which does not exist.
App\Entity\Subcategory
  • The association App\Entity\Subcategory#category refers to the inverse side field App\Entity\Category#subcategories which does not exist.
  • The association App\Entity\Subcategory#sections refers to the owning side field App\Entity\Section#subcategory which does not exist.
App\Entity\Attempt No errors.
App\Entity\QaProgress No errors.