POST https://edu.900900.ru/exam/q/2295

Query Metrics

12 Database Queries
10 Different statements
16.26 ms Query time
1 Invalid entities
13 Managed entities

Queries

Group similar statements

# Time Info
1 4.00 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:
[
  55
]
2 2.30 ms
SELECT t0.id AS id_1, t0.question_ids AS question_ids_2, t0.current_index AS current_index_3, t0.started_at AS started_at_4, t0.expires_at AS expires_at_5, t0.finished_at AS finished_at_6, t0.score AS score_7, t0.max_score AS max_score_8, t0.passed AS passed_9, t0.user_id AS user_id_10, t0.section_id AS section_id_11, t0.subcategory_id AS subcategory_id_12, t0.section_group_id AS section_group_id_13 FROM attempt t0 WHERE t0.id = ?
Parameters:
[
  2295
]
3 2.45 ms
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? ORDER BY t0.id ASC
Parameters:
[
  2295
]
4 1.43 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:
[
  6317
]
5 0.63 ms
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? AND t0.question_id = ? LIMIT 1
Parameters:
[
  2295
  6317
]
6 1.14 ms
SELECT a0_.id AS id_0 FROM answer_option a0_ WHERE a0_.question_id = ? AND a0_.is_correct = true
Parameters:
[
  6317
]
7 0.16 ms
"START TRANSACTION"
Parameters:
[]
8 1.48 ms
INSERT INTO attempt_answer (selected_option_ids, is_correct, points, attempt_id, question_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "[22327]"
  1
  1
  2295
  6317
]
9 1.20 ms
"COMMIT"
Parameters:
[]
10 0.11 ms
"START TRANSACTION"
Parameters:
[]
11 0.55 ms
UPDATE attempt SET current_index = ? WHERE id = ?
Parameters:
[
  4
  2295
]
12 0.80 ms
"COMMIT"
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\AttemptAnswer 4
App\Entity\Question 4
App\Entity\User 1
App\Entity\Attempt 1
App\Entity\Subcategory 1
App\Entity\SectionGroup 1
App\Entity\Section 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserAccessGrant No errors.
App\Entity\Attempt No errors.
App\Entity\Section No errors.
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\SectionGroup No errors.
App\Entity\AttemptAnswer No errors.
App\Entity\Question No errors.
App\Entity\AnswerOption No errors.