Query Metrics
21
Database Queries
15
Different statements
3.55 ms
Query time
0
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.33 ms |
SELECT t0.insales_id AS insales_id_1, t0.url AS url_2, t0.password AS password_3, t0.password_token AS password_token_4, t0.last_export_date AS last_export_date_5, t0.ready_export_client AS ready_export_client_6, t0.bounced_email_count AS bounced_email_count_7, t0.fake_email_count AS fake_email_count_8, t0.install_notification_send AS install_notification_send_9, t0.last_update_client AS last_update_client_10, t0.import_type AS import_type_11, t0.id AS id_12, t0.create_at AS create_at_13, t0.update_at AS update_at_14, t0.uuid AS uuid_15, t0.auth_login AS auth_login_16, t0.auth_password AS auth_password_17, t0.auth_authentication_success AS auth_authentication_success_18, t0.auth_authentication_error AS auth_authentication_error_19, t0.auth_api_key AS auth_api_key_20, t0.import_order_import_finish AS import_order_import_finish_21, t0.import_client_import_finish AS import_client_import_finish_22, t0.import_last_order_page AS import_last_order_page_23, t0.options_address_book_id AS options_address_book_id_24, t0.options_address_book_title AS options_address_book_title_25 FROM application t0 WHERE t0.uuid = ? LIMIT 1
Parameters:
[
"0192769e-e622-7c3a-b8d8-3587938d1a25"
]
|
2 | 0.33 ms |
SELECT t0.payed AS payed_1, t0.order_id AS order_id_2, t0.order_number AS order_number_3, t0.order_price AS order_price_4, t0.delivery_price AS delivery_price_5, t0.create_order_at AS create_order_at_6, t0.id AS id_7, t0.create_at AS create_at_8, t0.update_at AS update_at_9, t0.uuid AS uuid_10, t0.application_id AS application_id_11, t0.client_id AS client_id_12 FROM orders t0 WHERE t0.application_id = ? AND t0.order_id = ? LIMIT 1
Parameters:
[ "1" 125564199 ] |
3 | 0.35 ms |
SELECT t0.payment_order AS payment_order_1, t0.payment_order_count AS payment_order_count_2, t0.order_count AS order_count_3, t0.exported AS exported_4, t0.name AS name_5, t0.surname AS surname_6, t0.middlename AS middlename_7, t0.email AS email_8, t0.phone AS phone_9, t0.client_create_at AS client_create_at_10, t0.first_order_payment_date AS first_order_payment_date_11, t0.last_order_payment_date AS last_order_payment_date_12, t0.client_insales_ids AS client_insales_ids_13, t0.dasha_mail_id AS dasha_mail_id_14, t0.dasha_mail_email AS dasha_mail_email_15, t0.dasha_mail_bounced_email AS dasha_mail_bounced_email_16, t0.dasha_mail_fake_email AS dasha_mail_fake_email_17, t0.id AS id_18, t0.create_at AS create_at_19, t0.update_at AS update_at_20, t0.uuid AS uuid_21, t0.application_id AS application_id_22, t0.client_group_id AS client_group_id_23 FROM clients t0 WHERE t0.application_id = ? AND t0.email = ? LIMIT 1
Parameters:
[ "1" "a@mail.ru" ] |
4 | 0.12 ms |
"START TRANSACTION"
Parameters:
[] |
5 | 0.21 ms |
UPDATE application SET insales_id = ?, ready_export_client = ?, bounced_email_count = ?, fake_email_count = ?, options_address_book_id = ?, update_at = ? WHERE id = ?
Parameters:
[ 232775 2 79 6 274029 "2025-01-09 19:42:00" "1" ] |
6 | 0.13 ms |
UPDATE clients SET payment_order_count = ?, order_count = ?, client_create_at = ?, dasha_mail_id = ?, update_at = ? WHERE id = ?
Parameters:
[ 6 0 "2024-12-28 13:07:27" 13294 "2025-01-09 19:42:00" "2120" ] |
7 | 0.12 ms |
UPDATE orders SET order_id = ?, update_at = ? WHERE id = ?
Parameters:
[ 125564199 "2025-01-09 19:42:00" "521" ] |
8 | 0.09 ms |
"COMMIT"
Parameters:
[] |
9 | 0.06 ms |
"START TRANSACTION"
Parameters:
[] |
10 | 0.11 ms |
UPDATE orders SET create_order_at = ?, update_at = ? WHERE id = ?
Parameters:
[ "2024-12-28 13:07:27" "2025-01-09 19:42:00" "521" ] |
11 | 0.08 ms |
"COMMIT"
Parameters:
[] |
12 | 0.24 ms |
SELECT SUM(o0_.order_price) AS sclr_0 FROM orders o0_ LEFT JOIN clients c1_ ON o0_.client_id = c1_.id WHERE o0_.payed = ? AND o0_.client_id = ?
Parameters:
[ 1 "2120" ] |
13 | 0.18 ms |
SELECT COUNT(o0_.id) AS sclr_0 FROM orders o0_ LEFT JOIN clients c1_ ON o0_.client_id = c1_.id WHERE o0_.payed = ? AND o0_.client_id = ?
Parameters:
[ 1 "2120" ] |
14 | 0.21 ms |
SELECT t0.payed AS payed_1, t0.order_id AS order_id_2, t0.order_number AS order_number_3, t0.order_price AS order_price_4, t0.delivery_price AS delivery_price_5, t0.create_order_at AS create_order_at_6, t0.id AS id_7, t0.create_at AS create_at_8, t0.update_at AS update_at_9, t0.uuid AS uuid_10, t0.application_id AS application_id_11, t0.client_id AS client_id_12 FROM orders t0 WHERE t0.client_id = ? AND t0.payed = ? ORDER BY t0.create_order_at ASC LIMIT 1
Parameters:
[ "2120" 1 ] |
15 | 0.19 ms |
SELECT t0.payed AS payed_1, t0.order_id AS order_id_2, t0.order_number AS order_number_3, t0.order_price AS order_price_4, t0.delivery_price AS delivery_price_5, t0.create_order_at AS create_order_at_6, t0.id AS id_7, t0.create_at AS create_at_8, t0.update_at AS update_at_9, t0.uuid AS uuid_10, t0.application_id AS application_id_11, t0.client_id AS client_id_12 FROM orders t0 WHERE t0.client_id = ? AND t0.payed = ? ORDER BY t0.create_order_at DESC LIMIT 1
Parameters:
[ "2120" 1 ] |
16 | 0.07 ms |
"START TRANSACTION"
Parameters:
[] |
17 | 0.13 ms |
UPDATE clients SET first_order_payment_date = ?, last_order_payment_date = ?, update_at = ? WHERE id = ?
Parameters:
[ "2023-02-13 19:26:06" "2025-01-09 11:26:29" "2025-01-09 19:42:00" "2120" ] |
18 | 0.10 ms |
UPDATE orders SET order_id = ?, update_at = ? WHERE id = ?
Parameters:
[ 69249791 "2025-01-09 19:42:00" "505" ] |
19 | 0.09 ms |
UPDATE orders SET order_id = ?, update_at = ? WHERE id = ?
Parameters:
[ 126735515 "2025-01-09 19:42:00" "522" ] |
20 | 0.08 ms |
"COMMIT"
Parameters:
[] |
21 | 0.31 ms |
SELECT COUNT(DISTINCT c0_.email) AS sclr_0 FROM clients c0_ WHERE c0_.application_id = ? AND c0_.exported = ? AND c0_.dasha_mail_bounced_email = ? AND c0_.dasha_mail_fake_email = ? AND c0_.email IS NOT NULL
Parameters:
[ "1" 0 0 0 ] |
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\Core\Domain\Model\Insales\Embed\Authentication | No errors. |
App\Core\Domain\Model\Insales\Embed\Import | No errors. |
App\Core\Domain\Model\Insales\Embed\Options | No errors. |
App\Core\Domain\Model\Insales\Application | No errors. |
App\Core\Domain\Model\Insales\Order | No errors. |
App\Core\Domain\Model\Insales\Client | No errors. |
App\Core\Domain\Model\Insales\ClientGroup | No errors. |