https://dev.centr.sariato.ru/telegram/bot/candidates-photo-bot/webhook

Query Metrics

14 Database Queries
13 Different statements
32.27 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
12.54 ms
(38.86%)
1
SELECT t0.id AS id_1, t0.data AS data_2, t0.is_bot AS is_bot_3, t0.chat_id AS chat_id_4, t0.message_id AS message_id_5, t0.is_deleted AS is_deleted_6, t0.text AS text_7, t0.user_id AS user_id_8, t0.username AS username_9, t0.name AS name_10, t0.date_time AS date_time_11 FROM telegram_message t0 WHERE t0.chat_id = ? AND t0.message_id = ? AND t0.user_id = ? AND t0.date_time = ? LIMIT 1
Parameters:
[
  5416148045
  969
  8479930131
  "2026-04-28 10:55:13"
]
5.01 ms
(15.52%)
1
INSERT INTO image (path, file_id, telegram_user_id, image_id) VALUES (?, ?, ?, ?)
Parameters:
[
  "images/message_photo/2944_5115e960d28bd8292404984efd9346ec.jpg"
  null
  null
  null
]
3.23 ms
(10.00%)
1
SELECT t0.id AS id_1, t0.show_reviewer_recommendations_tip AS show_reviewer_recommendations_tip_2, t0.show_calendar_events_period_tip AS show_calendar_events_period_tip_3, t0.user_id AS user_id_4 FROM tip_settings t0 WHERE t0.user_id = ?
Parameters:
[
  1
]
2.83 ms
(8.77%)
1
SELECT i0_.id AS id_0, i0_.path AS path_1, i0_.file_id AS file_id_2, i0_.telegram_user_id AS telegram_user_id_3, i0_.image_id AS image_id_4 FROM image i0_ WHERE i0_.path = ? LIMIT 1
Parameters:
[
  "images/message_photo/2944_5115e960d28bd8292404984efd9346ec.jpg"
]
2.05 ms
(6.37%)
1
SELECT t0.id AS id_1, t0.candidate_decline_comments AS candidate_decline_comments_2, t0.candidate_recommendations AS candidate_recommendations_3, t0.user_id AS user_id_4 FROM reviewer_settings t0 WHERE t0.user_id = ?
Parameters:
[
  1
]
1.80 ms
(5.57%)
1
SELECT c0_.id AS id_0, c0_.status AS status_1, c0_.created_at AS created_at_2, c0_.viewer_comment AS viewer_comment_3, c0_.approved_at AS approved_at_4, c0_.comment AS comment_5, c0_.payment_deferment AS payment_deferment_6, c0_.recommendations AS recommendations_7, c0_.updated_at AS updated_at_8, c0_.review_approve_comment AS review_approve_comment_9, c0_.access_by_receipt AS access_by_receipt_10, c0_.decline_comment AS decline_comment_11, c0_.leaved_at AS leaved_at_12, c0_.author_id AS author_id_13, c0_.person_id AS person_id_14, c0_.calendar_event_id AS calendar_event_id_15, c0_.image_id AS image_id_16, c0_.selected_author_id AS selected_author_id_17, c0_.curator_id AS curator_id_18, c0_.invoice_id AS invoice_id_19 FROM candidate c0_ WHERE c0_.author_id = ? AND c0_.status = ? ORDER BY c0_.id DESC LIMIT 1
Parameters:
[
  1
  "draft"
]
1.09 ms
(3.37%)
1
"COMMIT"
Parameters:
[]
1.02 ms
(3.15%)
2
SELECT t0_.id AS id_0, t0_.data AS data_1, t0_.bot_id AS bot_id_2, t0_.selected_data AS selected_data_3, t0_.editable_messages AS editable_messages_4, t0_.user_id AS user_id_5 FROM telegram_bot_navigation t0_ WHERE t0_.bot_id = ? AND t0_.user_id = ? LIMIT 1
Parameters:
[
  "candidate_photos_bot"
  3
]
0.86 ms
(2.67%)
1
SELECT c0_.id AS id_0, c0_.status AS status_1, c0_.created_at AS created_at_2, c0_.viewer_comment AS viewer_comment_3, c0_.approved_at AS approved_at_4, c0_.comment AS comment_5, c0_.payment_deferment AS payment_deferment_6, c0_.recommendations AS recommendations_7, c0_.updated_at AS updated_at_8, c0_.review_approve_comment AS review_approve_comment_9, c0_.access_by_receipt AS access_by_receipt_10, c0_.decline_comment AS decline_comment_11, c0_.leaved_at AS leaved_at_12, c0_.author_id AS author_id_13, c0_.person_id AS person_id_14, c0_.calendar_event_id AS calendar_event_id_15, c0_.image_id AS image_id_16, c0_.selected_author_id AS selected_author_id_17, c0_.curator_id AS curator_id_18, c0_.invoice_id AS invoice_id_19 FROM candidate c0_ WHERE c0_.author_id = ? AND c0_.status IN (?, ?, ?, ?, ?) ORDER BY c0_.id DESC LIMIT 1
Parameters:
[
  1
  "new"
  "approved"
  "declined"
  "leaved"
  "refused"
]
0.61 ms
(1.89%)
1
SELECT u0_.id AS id_0, u0_.username AS username_1, u0_.roles AS roles_2, u0_.password AS password_3, u0_.first_name AS first_name_4, u0_.last_name AS last_name_5, u0_.telegram_user_id AS telegram_user_id_6, u0_.telegram_phone AS telegram_phone_7, u0_.sort_id AS sort_id_8, u0_.status AS status_9, u0_.settings_id AS settings_id_10 FROM user u0_ WHERE u0_.telegram_user_id = ? LIMIT 1
Parameters:
[
  "5416148045"
]
0.56 ms
(1.73%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.user_id AS user_id_3, t0.name AS name_4, t0.wait_bot_command_param AS wait_bot_command_param_5 FROM telegram_user t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  "5416148045"
]
0.48 ms
(1.49%)
1
SELECT t0.id AS id_1, t0.path AS path_2, t0.file_id AS file_id_3, t0.telegram_user_id AS telegram_user_id_4, t0.image_id AS image_id_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  2944
]
0.19 ms
(0.60%)
1
"START TRANSACTION"
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.