Query Metrics
14
Database Queries
12
Different statements
25.34 ms
Query time
3
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
11.40 ms (45.00%) |
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:
[
5969113615
]
|
|
7.04 ms (27.78%) |
2 |
"COMMIT"
Parameters:
[] |
|
1.56 ms (6.17%) |
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:
[ 7753 81 ] |
|
0.81 ms (3.19%) |
1 |
INSERT INTO app_article_history (message_id, create_at, article_id, user_id) VALUES (?, ?, ?, ?)
Parameters:
[ "817117" "2026-07-22 12:31:21" 242 7753 ] |
|
0.75 ms (2.95%) |
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:
[ 1242 7753 ] |
|
0.75 ms (2.94%) |
1 |
INSERT INTO app_questionnaire_result (result, create_at, completed, survey_id, question_id, answer_id, user_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ "Балким" "2026-07-22 12:31:21" 1 81 413 1242 7753 ] |
|
0.73 ms (2.89%) |
2 |
"START TRANSACTION"
Parameters:
[] |
|
0.51 ms (2.00%) |
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:
[
1242
]
|
|
0.49 ms (1.95%) |
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:
[
413
]
|
|
0.46 ms (1.81%) |
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:
[
81
]
|
|
0.42 ms (1.67%) |
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:
[
81
]
|
|
0.42 ms (1.65%) |
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:
[
242
]
|
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 | No errors. |
| 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 |
|