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

Query Metrics

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

Queries

Group similar statements

# Time Info
1 4.72 ms
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:
[
  182
]
2 2.58 ms
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:
[
  "5797"
]
3 1.90 ms
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:
[
  177
]
4 3.39 ms
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:
[
  182
]
5 1.88 ms
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:
[
  14
]
6 3.98 ms
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:
[
  4
]
7 1.69 ms
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:
[
  2
]
8 1.61 ms
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:
[
  5797
]
9 2.43 ms
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:
[
  182
  5797
]
10 4.74 ms
"START TRANSACTION"
Parameters:
[]
11 1.42 ms
UPDATE qa_progress SET attempts_count = ?, last_answered_at = ?, last_is_correct = ? WHERE id = ?
Parameters:
[
  6
  "2026-04-13 06:32:26"
  0
  12990
]
12 1.17 ms
"COMMIT"
Parameters:
[]
13 0.90 ms
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:
[
  177
]
14 0.46 ms
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:
[
  5796
]
15 0.40 ms
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:
[
  5798
]
16 1.29 ms
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:
[
  2
]

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\AnswerOption 4
App\Entity\Question 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.