GET https://zamowienia.dhapps.co.pl/delivery/

Query Metrics

210 Database Queries
12 Different statements
72.34 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
34.07 ms
(47.10%)
177
SELECT t0.id AS id_1, t0.price AS price_2, t0.quantity AS quantity_3, t0.hotel_order_id AS hotel_order_id_4, t0.product_id AS product_id_5, t0.supplier_id AS supplier_id_6 FROM order_has_product t0 WHERE t0.hotel_order_id = ?
Parameters:
[
  14212
]
29.18 ms
(40.33%)
2
SELECT d0_.id AS id_0, d0_.invoice_no AS invoice_no_1, d0_.price AS price_2, d0_.creation_date AS creation_date_3, d0_.receipt_date AS receipt_date_4, d0_.file AS file_5, d0_.created_at AS created_at_6, d0_.number AS number_7, d0_.date_confirmed AS date_confirmed_8, d0_.hash AS hash_9, d0_.is_api AS is_api_10, d0_.supplier_comment AS supplier_comment_11, d0_.supplier_number AS supplier_number_12, d0_.comment AS comment_13, d0_.extra_data AS extra_data_14, d0_.api_status AS api_status_15, d0_.api_status_description AS api_status_description_16, d0_.is_accepted AS is_accepted_17, d0_.accepted_at AS accepted_at_18, d0_.hotel_order_id AS hotel_order_id_19, d0_.supplier_id AS supplier_id_20, d0_.accepted_by_id AS accepted_by_id_21 FROM delivery d0_ LEFT JOIN `order` o1_ ON d0_.hotel_order_id = o1_.id LEFT JOIN `user` u2_ ON o1_.user_id = u2_.id LEFT JOIN hotel h3_ ON o1_.hotel_id = h3_.id LEFT JOIN order_has_product o4_ ON o1_.id = o4_.hotel_order_id LEFT JOIN supplier s5_ ON d0_.supplier_id = s5_.id LEFT JOIN product p6_ ON o4_.product_id = p6_.id LEFT JOIN product_category p7_ ON p6_.category_id = p7_.id LEFT JOIN supplier_has_product s8_ ON p6_.id = s8_.product_id WHERE u2_.id = ? GROUP BY d0_.id ORDER BY o1_.id DESC LIMIT 400
Parameters:
[
  11
]
5.06 ms
(7.00%)
22
SELECT t0.id AS id_1, t0.name AS name_2, t0.city AS city_3, t0.address AS address_4, t0.phone AS phone_5, t0.email AS email_6, t0.is_active AS is_active_7, t0.crated_at AS crated_at_8, t0.postcode AS postcode_9, t0.email_txt AS email_txt_10, t0.order_confirm_type AS order_confirm_type_11, t0.col_name AS col_name_12, t0.col_number AS col_number_13, t0.col_price AS col_price_14, t0.min_price AS min_price_15, t0.col_ean AS col_ean_16, t0.col_image AS col_image_17, t0.col_pieces AS col_pieces_18, t0.col_weight AS col_weight_19, t0.nip AS nip_20, t0.contact_name AS contact_name_21, t0.contact_surname AS contact_surname_22, t0.shortcut AS shortcut_23, t0.payment_term AS payment_term_24, t0.col_manufacture AS col_manufacture_25, t0.email_type AS email_type_26 FROM supplier t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.93 ms
(1.28%)
1
SELECT t0.id AS id_1, t0.hotel_id AS hotel_id_2, t0.supplier_id AS supplier_id_3 FROM hotel_has_supplier t0 WHERE t0.hotel_id = ?
Parameters:
[
  10
]
0.70 ms
(0.97%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.email AS email_3, t0.roles AS roles_4, t0.password AS password_5, t0.first_name AS first_name_6, t0.last_name AS last_name_7, t0.created_at AS created_at_8, t0.is_active AS is_active_9, t0.sell_limit AS sell_limit_10, t0.position AS position_11, t0.logo AS logo_12, t0.phone AS phone_13, t0.is_price_changed AS is_price_changed_14, t0.last_price_read_at AS last_price_read_at_15, t0.hotel_id AS hotel_id_16, t0.hotel_department_id AS hotel_department_id_17 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  11
]
0.66 ms
(0.91%)
1
SELECT t0.id AS id_1, t0.hotel_has_supplier_id AS hotel_has_supplier_id_2, t0.department_id AS department_id_3 FROM hotel_supplier_exclude_department t0 WHERE t0.department_id = ?
Parameters:
[
  25
]
0.53 ms
(0.73%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.phone AS phone_3, t0.city AS city_4, t0.address AS address_5, t0.month_limit AS month_limit_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.postcode AS postcode_9, t0.email AS email_10, t0.shortcut AS shortcut_11, t0.logo AS logo_12, t0.www AS www_13, t0.nip AS nip_14 FROM hotel t0 WHERE t0.id = ?
Parameters:
[
  10
]
0.45 ms
(0.62%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.sell_limit AS sell_limit_3, t0.hotel_id AS hotel_id_4 FROM hotel_department t0 WHERE t0.id = ?
Parameters:
[
  25
]
0.23 ms
(0.31%)
1
SELECT t0.id AS id_1, t0.hotel_department_id AS hotel_department_id_2, t0.product_category_id AS product_category_id_3 FROM hotel_department_has_exclude_category t0 WHERE t0.hotel_department_id = ?
Parameters:
[
  25
]
0.22 ms
(0.31%)
1
SELECT h0_.id AS id_0, h0_.name AS name_1, h0_.phone AS phone_2, h0_.city AS city_3, h0_.address AS address_4, h0_.month_limit AS month_limit_5, h0_.is_active AS is_active_6, h0_.created_at AS created_at_7, h0_.postcode AS postcode_8, h0_.email AS email_9, h0_.shortcut AS shortcut_10, h0_.logo AS logo_11, h0_.www AS www_12, h0_.nip AS nip_13 FROM hotel h0_ WHERE h0_.id = ? ORDER BY h0_.name ASC
Parameters:
[
  10
]
0.17 ms
(0.24%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.is_confirmed AS is_confirmed_3, t0.status AS status_4, t0.order_number AS order_number_5, t0.is_template AS is_template_6, t0.template_name AS template_name_7, t0.basket_number AS basket_number_8, t0.is_only_template AS is_only_template_9, t0.extra_data AS extra_data_10, t0.updated_at AS updated_at_11, t0.delivery_code AS delivery_code_12, t0.hotel_id AS hotel_id_13, t0.user_id AS user_id_14, t0.accepted_by_id AS accepted_by_id_15 FROM `order` t0 WHERE t0.user_id = ?
Parameters:
[
  11
]
0.14 ms
(0.20%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1 FROM product_category p0_ ORDER BY p0_.name ASC
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.