Query Metrics
8
Database Queries
5
Different statements
5.30 ms
Query time
0
Invalid entities
22
Managed entities
Grouped Statements
default connection
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1.69 ms (31.77%) |
3 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.email AS email_3, t0.name AS name_4, t0.surname AS surname_5, t0.roles AS roles_6, t0.mobile_phone AS mobile_phone_7, t0.address AS address_8, t0.city AS city_9, t0.zip_code AS zip_code_10, t0.state AS state_11, t0.country AS country_12, t0.discount_percent AS discount_percent_13, t0.surcharge_percent AS surcharge_percent_14, t0.hide_prices AS hide_prices_15, t0.password AS password_16, t0.reset_password_token AS reset_password_token_17, t0.locale AS locale_18, t0.piece_view_mode AS piece_view_mode_19, t0.double_factor_method AS double_factor_method_20, t0.auth_code AS auth_code_21, t0.google_authenticator_secret AS google_authenticator_secret_22, t0.disabled_at AS disabled_at_23, t0.last_login_at AS last_login_at_24, t0.last_login_ip AS last_login_ip_25, t0.previous_login_at AS previous_login_at_26, t0.previous_login_ip AS previous_login_ip_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.distributor_id AS distributor_id_30 FROM users t0 WHERE t0.id = ?
Parameters:
[
"e1d213a7-a827-410f-8a36-623e68f7991b"
]
|
||||||||||||||||||||||||||||||||
|
1.27 ms (23.98%) |
2 |
SELECT t0.id AS id_1, t0.product_name AS product_name_2, t0.product_reference AS product_reference_3, t0.quantity AS quantity_4, t0.price AS price_5, t0.original_price AS original_price_6, t0.discount_percent AS discount_percent_7, t0.discount_source AS discount_source_8, t0.amount AS amount_9, t0.vat_rate AS vat_rate_10, t0.vat_amount AS vat_amount_11, t0.status AS status_12, t0.is_offer AS is_offer_13, t0.stock_reserved AS stock_reserved_14, t0.on_demand_quantity AS on_demand_quantity_15, t0.second_hand AS second_hand_16, t0.cancellation_reason AS cancellation_reason_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.order_id AS order_id_20, t0.product_id AS product_id_21 FROM order_item t0 WHERE t0.order_id = ?
Parameters:
[
"86ad9071-5005-4126-b8e6-fbc3e22d5345"
]
|
||||||||||||||||||||||||||||||||
|
0.96 ms (18.13%) |
1 |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_15 FROM (SELECT o0_.id AS id_0, o0_.order_number AS order_number_1, o0_.status AS status_2, o0_.notes AS notes_3, o0_.shipping AS shipping_4, o0_.total AS total_5, o0_.price_modifier AS price_modifier_6, o0_.price_modifier_amount AS price_modifier_amount_7, o0_.price_rate AS price_rate_8, o0_.external_number AS external_number_9, o0_.coupon_code AS coupon_code_10, o0_.coupon_discount_percent AS coupon_discount_percent_11, o0_.preseason_name AS preseason_name_12, o0_.subtotal_without_discount AS subtotal_without_discount_13, o0_.discount_amount AS discount_amount_14, o0_.created_at AS created_at_15, o0_.cancellation_reason AS cancellation_reason_16, o0_.updated_at AS updated_at_17 FROM `order` o0_ WHERE o0_.status = ?) dctrn_result_inner ORDER BY created_at_15 DESC) dctrn_result LIMIT 5
Parameters:
[
"Pending"
]
|
||||||||||||||||||||||||||||||||
|
0.90 ms (16.96%) |
1 |
SELECT o0_.id AS id_0, o0_.order_number AS order_number_1, o0_.status AS status_2, o0_.notes AS notes_3, o0_.shipping AS shipping_4, o0_.total AS total_5, o0_.price_modifier AS price_modifier_6, o0_.price_modifier_amount AS price_modifier_amount_7, o0_.price_rate AS price_rate_8, o0_.external_number AS external_number_9, o0_.coupon_code AS coupon_code_10, o0_.coupon_discount_percent AS coupon_discount_percent_11, o0_.preseason_name AS preseason_name_12, o0_.subtotal_without_discount AS subtotal_without_discount_13, o0_.discount_amount AS discount_amount_14, o0_.created_at AS created_at_15, o0_.cancellation_reason AS cancellation_reason_16, o0_.updated_at AS updated_at_17, o0_.user_id AS user_id_18, o0_.cart_id AS cart_id_19, o0_.coupon_id AS coupon_id_20 FROM `order` o0_ WHERE o0_.status = ? AND o0_.id IN (?, ?) ORDER BY o0_.created_at DESC
Parameters:
[ "Pending" "86ad9071-5005-4126-b8e6-fbc3e22d5345" "4b74b66c-e314-4ad9-a737-fbf0f55c9be7" ] |
||||||||||||||||||||||||||||||||
|
0.49 ms (9.15%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT o0_.id AS id_0, o0_.order_number AS order_number_1, o0_.status AS status_2, o0_.notes AS notes_3, o0_.shipping AS shipping_4, o0_.total AS total_5, o0_.price_modifier AS price_modifier_6, o0_.price_modifier_amount AS price_modifier_amount_7, o0_.price_rate AS price_rate_8, o0_.external_number AS external_number_9, o0_.coupon_code AS coupon_code_10, o0_.coupon_discount_percent AS coupon_discount_percent_11, o0_.preseason_name AS preseason_name_12, o0_.subtotal_without_discount AS subtotal_without_discount_13, o0_.discount_amount AS discount_amount_14, o0_.created_at AS created_at_15, o0_.cancellation_reason AS cancellation_reason_16, o0_.updated_at AS updated_at_17 FROM `order` o0_ WHERE o0_.status = ? ORDER BY o0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
"Pending"
]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| legacy | doctrine.dbal.legacy_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\OrderItem | 7 |
| App\Entity\Product | 7 |
| App\Entity\User | 4 |
| App\Entity\Order | 2 |
| App\Entity\Cart | 2 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\User | No errors. |
| App\Entity\Order | No errors. |
| App\Entity\Cart | No errors. |
| App\Entity\Coupon | No errors. |
| App\Entity\OrderItem | No errors. |
| App\Entity\OrderHistory | No errors. |
| App\Entity\Product | No errors. |