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

Query Metrics

12 Database Queries
10 Different statements
30.82 ms Query time
1 Invalid entities
23 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.76 ms
(25.16%)
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:
[
  55
]
3.97 ms
(12.87%)
1
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:
[
  2296
]
3.78 ms
(12.27%)
1
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:
[
  5817
]
3.72 ms
(12.07%)
2
"COMMIT"
Parameters:
[]
3.51 ms
(11.38%)
1
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:
[
  2296
]
2.31 ms
(7.49%)
1
INSERT INTO attempt_answer (selected_option_ids, is_correct, points, attempt_id, question_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "[20551]"
  1
  1
  2296
  5817
]
2.07 ms
(6.71%)
1
SELECT a0_.id AS id_0 FROM answer_option a0_ WHERE a0_.question_id = ? AND a0_.is_correct = true
Parameters:
[
  5817
]
1.77 ms
(5.74%)
2
"START TRANSACTION"
Parameters:
[]
1.05 ms
(3.42%)
1
UPDATE attempt SET current_index = ? WHERE id = ?
Parameters:
[
  9
  2296
]
0.89 ms
(2.89%)
1
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:
[
  2296
  5817
]

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