Query Metrics
14
Database Queries
12
Different statements
18.70 ms
Query time
4
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
8.01 ms (42.81%) |
2 |
"COMMIT"
Parameters:
[] |
|
4.82 ms (25.75%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.create_at AS create_at_3, t0.telegram_id AS telegram_id_4, t0.phone AS phone_5, t0.is_admin AS is_admin_6, t0.is_banned AS is_banned_7, t0.email AS email_8, t0.city AS city_9, t0.roles AS roles_10, t0.password AS password_11, t0.brands_history AS brands_history_12 FROM app_user t0 WHERE t0.telegram_id = ? LIMIT 1
Parameters:
[
8178362520
]
|
|
0.94 ms (5.00%) |
1 |
SELECT COUNT(a0_.id) AS sclr_0 FROM app_questionnaire_result a0_ INNER JOIN app_answer a1_ ON a0_.answer_id = a1_.id WHERE a0_.user_id = ? AND a0_.survey_id = ? AND a1_.is_correct = 1
Parameters:
[ 2888 72 ] |
|
0.87 ms (4.64%) |
1 |
SELECT t0.id AS id_1, t0.result AS result_2, t0.create_at AS create_at_3, t0.completed AS completed_4, t0.survey_id AS survey_id_5, t0.question_id AS question_id_6, t0.answer_id AS answer_id_7, t0.user_id AS user_id_8 FROM app_questionnaire_result t0 WHERE t0.answer_id = ? AND t0.user_id = ? LIMIT 1
Parameters:
[ 1134 2888 ] |
|
0.71 ms (3.82%) |
1 |
INSERT INTO app_questionnaire_result (result, create_at, completed, survey_id, question_id, answer_id, user_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ "Фруктовый" "2026-06-07 15:27:54" 1 72 383 1134 2888 ] |
|
0.64 ms (3.43%) |
1 |
INSERT INTO app_article_history (message_id, create_at, article_id, user_id) VALUES (?, ?, ?, ?)
Parameters:
[ "691481" "2026-06-07 15:27:55" 203 2888 ] |
|
0.55 ms (2.93%) |
2 |
"START TRANSACTION"
Parameters:
[] |
|
0.49 ms (2.61%) |
1 |
SELECT t0.id AS id_1, t0.text AS text_2, t0.text_local AS text_local_3, t0.end_survey AS end_survey_4, t0.is_correct AS is_correct_5, t0.score AS score_6, t0.question_id AS question_id_7 FROM app_answer t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
1134
]
|
|
0.45 ms (2.39%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.title_local AS title_local_4, t0.description_local AS description_local_5, t0.is_active AS is_active_6, t0.is_poll AS is_poll_7, t0.total_correct AS total_correct_8, t0.type AS type_9, t0.article_success_id AS article_success_id_10, t0.article_failed_id AS article_failed_id_11 FROM app_survey t0 WHERE t0.id = ?
Parameters:
[
72
]
|
|
0.43 ms (2.29%) |
1 |
SELECT t0.id AS id_1, t0.text AS text_2, t0.text_local AS text_local_3, t0.type AS type_4, t0.is_add_balance AS is_add_balance_5, t0.survey_id AS survey_id_6 FROM app_question t0 WHERE t0.id = ?
Parameters:
[
383
]
|
|
0.41 ms (2.21%) |
1 |
SELECT t0.id AS id_1, t0.description AS description_2, t0.description_local AS description_local_3, t0.image_name AS image_name_4, t0.image_name_kg AS image_name_kg_5, t0.updated_at AS updated_at_6, t0.score_from AS score_from_7, t0.score_to AS score_to_8, t0.survey_id AS survey_id_9 FROM app_article t0 WHERE t0.id = ?
Parameters:
[
203
]
|
|
0.40 ms (2.14%) |
1 |
SELECT t0.id AS id_1, t0.text AS text_2, t0.text_local AS text_local_3, t0.type AS type_4, t0.is_add_balance AS is_add_balance_5, t0.survey_id AS survey_id_6 FROM app_question t0 WHERE t0.survey_id = ?
Parameters:
[
72
]
|
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\QuestionnaireResult |
|
| App\Entity\Answer | No errors. |
| App\Entity\Question | No errors. |
| App\Entity\Survey |
|
| App\Entity\QuestionImage | No errors. |
| App\Entity\Article |
|
| App\Entity\SurveyImage | No errors. |
| App\Entity\ArticleHistory |
|