GET https://www.supermarket.quicksellsbd.com/shop/products?category=other

Query Metrics

8 Database Queries
7 Different statements
10.49 ms Query time
0 Invalid entities
34 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
2.79 ms
(26.56%)
2
SELECT DISTINCT p0_.category AS category_0 FROM products p0_ LEFT JOIN offers o1_ ON p0_.id = o1_.product_id AND (o1_.is_deleted = 0) WHERE p0_.store_id = ? AND p0_.is_deleted = 0 AND p0_.online_enabled = 1 AND p0_.is_weight_from_scale = 0 AND p0_.price_cents > 0
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
]
2.12 ms
(20.21%)
1
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, name_2 FROM (SELECT p0_.id AS id_0, p0_.barcode AS barcode_1, p0_.name AS name_2, p0_.brand AS brand_3, p0_.category AS category_4, p0_.subcategory AS subcategory_5, p0_.price_cents AS price_cents_6, p0_.previous_price_cents AS previous_price_cents_7, p0_.price_changed_at AS price_changed_at_8, p0_.size AS size_9, p0_.size_label AS size_label_10, p0_.shelf_name AS shelf_name_11, p0_.stock_on_hand AS stock_on_hand_12, p0_.reorder_point AS reorder_point_13, p0_.min_stock AS min_stock_14, p0_.max_stock AS max_stock_15, p0_.cost_cents AS cost_cents_16, p0_.is_tax_allowed AS is_tax_allowed_17, p0_.is_weight_from_scale AS is_weight_from_scale_18, p0_.is_favorite AS is_favorite_19, p0_.online_enabled AS online_enabled_20, p0_.is_deleted AS is_deleted_21, p0_.image_path AS image_path_22, p0_.image_url AS image_url_23, p0_.sync_status AS sync_status_24, p0_.client_id AS client_id_25, p0_.created_at AS created_at_26, p0_.updated_at AS updated_at_27, o1_.id AS id_28, o1_.quantity AS quantity_29, o1_.price_cents AS price_cents_30, o1_.is_deleted AS is_deleted_31, o1_.updated_at AS updated_at_32 FROM products p0_ LEFT JOIN offers o1_ ON p0_.id = o1_.product_id AND (o1_.is_deleted = 0) WHERE p0_.store_id = ? AND p0_.is_deleted = 0 AND p0_.online_enabled = 1 AND p0_.is_weight_from_scale = 0 AND p0_.price_cents > 0 AND p0_.category = ? ORDER BY o1_.quantity ASC) dctrn_result_inner ORDER BY name_2 ASC) dctrn_result LIMIT 24
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
  "other"
]
1.83 ms
(17.43%)
1
SELECT p0_.id AS id_0, p0_.barcode AS barcode_1, p0_.name AS name_2, p0_.brand AS brand_3, p0_.category AS category_4, p0_.subcategory AS subcategory_5, p0_.price_cents AS price_cents_6, p0_.previous_price_cents AS previous_price_cents_7, p0_.price_changed_at AS price_changed_at_8, p0_.size AS size_9, p0_.size_label AS size_label_10, p0_.shelf_name AS shelf_name_11, p0_.stock_on_hand AS stock_on_hand_12, p0_.reorder_point AS reorder_point_13, p0_.min_stock AS min_stock_14, p0_.max_stock AS max_stock_15, p0_.cost_cents AS cost_cents_16, p0_.is_tax_allowed AS is_tax_allowed_17, p0_.is_weight_from_scale AS is_weight_from_scale_18, p0_.is_favorite AS is_favorite_19, p0_.online_enabled AS online_enabled_20, p0_.is_deleted AS is_deleted_21, p0_.image_path AS image_path_22, p0_.image_url AS image_url_23, p0_.sync_status AS sync_status_24, p0_.client_id AS client_id_25, p0_.created_at AS created_at_26, p0_.updated_at AS updated_at_27, o1_.id AS id_28, o1_.quantity AS quantity_29, o1_.price_cents AS price_cents_30, o1_.is_deleted AS is_deleted_31, o1_.updated_at AS updated_at_32, p0_.store_id AS store_id_33, p0_.supplier_id AS supplier_id_34, o1_.product_id AS product_id_35 FROM products p0_ LEFT JOIN offers o1_ ON p0_.id = o1_.product_id AND (o1_.is_deleted = 0) WHERE p0_.store_id = ? AND p0_.is_deleted = 0 AND p0_.online_enabled = 1 AND p0_.is_weight_from_scale = 0 AND p0_.price_cents > 0 AND p0_.category = ? AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.name ASC, o1_.quantity ASC
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
  "other"
  "cac256ed-0987-4fe3-8511-1b3b2c8ca8fe"
  "f008e0a8-4f52-438b-8ebf-af333685dc9a"
  "e5acbfd3-ea96-474c-a1fe-1b5b44698edb"
  "c6b0d8aa-9041-4515-8b10-6c7dc5bf2ea2"
  "45e1b805-8a89-405d-b84f-c85ec3c31ee6"
  "2d75e47d-9ef8-4adb-ba01-d6fc065d18c6"
  "04d490e2-51ce-4b79-821b-137d7ba39b0b"
  "1d98572e-a5f5-4572-aed4-c6467dc20187"
  "f8851e42-3fca-4bac-8dcc-430a941346c5"
  "8a783f46-f1af-484f-9935-d415d022edde"
  "0818436e-8862-4553-a4f2-d4a12a648197"
  "f0774ada-ad3b-4ed5-a040-8c93b30b11ab"
  "03064d39-8d40-4ff6-9794-46d7d2eb6e22"
  "a6d7f659-b56c-47db-b302-d59ad1cd0e9c"
  "76641c01-2ca9-4ff5-ac03-9fb3fe0e8c93"
  "9b3efb26-0184-4f7c-92fa-3f5ac5f9c857"
  "ac0e7e54-c973-49d7-b0a7-24656c7f900c"
  "d7db1a4d-7d54-48f0-8975-bff10ccba989"
  "fb54af58-94bf-4040-a114-0ee65590d5ab"
  "da8976af-f955-43f8-9df5-844f6508f464"
  "cfbec690-cc14-4192-ae7b-421f5484987b"
  "da62c409-4202-4365-8bdd-ecebec17e279"
  "4917f2cf-fc07-43a5-aed6-854d439bdd25"
  "af6a4822-1955-4b14-80f8-0facaaead21b"
]
1.24 ms
(11.83%)
1
SELECT o0_.product_id AS sclr_0, SUM(o0_.quantity) AS sclr_1 FROM online_order_lines o0_ INNER JOIN online_orders o1_ ON o0_.order_id = o1_.id WHERE o1_.store_id = ? AND o1_.status IN (?, ?, ?, ?) AND o0_.product_id IS NOT NULL AND o0_.product_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY o0_.product_id
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
  "pending_payment"
  "new"
  "preparing"
  "ready"
  "cac256ed-0987-4fe3-8511-1b3b2c8ca8fe"
  "f008e0a8-4f52-438b-8ebf-af333685dc9a"
  "e5acbfd3-ea96-474c-a1fe-1b5b44698edb"
  "c6b0d8aa-9041-4515-8b10-6c7dc5bf2ea2"
  "45e1b805-8a89-405d-b84f-c85ec3c31ee6"
  "2d75e47d-9ef8-4adb-ba01-d6fc065d18c6"
  "04d490e2-51ce-4b79-821b-137d7ba39b0b"
  "1d98572e-a5f5-4572-aed4-c6467dc20187"
  "f8851e42-3fca-4bac-8dcc-430a941346c5"
  "8a783f46-f1af-484f-9935-d415d022edde"
  "0818436e-8862-4553-a4f2-d4a12a648197"
  "f0774ada-ad3b-4ed5-a040-8c93b30b11ab"
  "03064d39-8d40-4ff6-9794-46d7d2eb6e22"
  "a6d7f659-b56c-47db-b302-d59ad1cd0e9c"
  "76641c01-2ca9-4ff5-ac03-9fb3fe0e8c93"
  "9b3efb26-0184-4f7c-92fa-3f5ac5f9c857"
  "ac0e7e54-c973-49d7-b0a7-24656c7f900c"
  "d7db1a4d-7d54-48f0-8975-bff10ccba989"
  "fb54af58-94bf-4040-a114-0ee65590d5ab"
  "da8976af-f955-43f8-9df5-844f6508f464"
  "cfbec690-cc14-4192-ae7b-421f5484987b"
  "da62c409-4202-4365-8bdd-ecebec17e279"
  "4917f2cf-fc07-43a5-aed6-854d439bdd25"
  "af6a4822-1955-4b14-80f8-0facaaead21b"
]
1.12 ms
(10.68%)
1
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM products p0_ LEFT JOIN offers o1_ ON p0_.id = o1_.product_id AND (o1_.is_deleted = 0) WHERE p0_.store_id = ? AND p0_.is_deleted = 0 AND p0_.online_enabled = 1 AND p0_.is_weight_from_scale = 0 AND p0_.price_cents > 0 AND p0_.category = ?
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
  "other"
]
0.77 ms
(7.38%)
1
SELECT t0.id AS id_1, t0.enabled AS enabled_2, t0.shop_name AS shop_name_3, t0.tagline AS tagline_4, t0.theme_color AS theme_color_5, t0.pickup_address AS pickup_address_6, t0.pickup_instructions AS pickup_instructions_7, t0.phone AS phone_8, t0.contact_email AS contact_email_9, t0.notify_email AS notify_email_10, t0.timezone AS timezone_11, t0.open_time AS open_time_12, t0.close_time AS close_time_13, t0.prep_minutes AS prep_minutes_14, t0.slot_minutes AS slot_minutes_15, t0.min_order_cents AS min_order_cents_16, t0.stock_buffer AS stock_buffer_17, t0.delivery_enabled AS delivery_enabled_18, t0.pickup_enabled AS pickup_enabled_19, t0.delivery_fee_cents AS delivery_fee_cents_20, t0.free_delivery_over_cents AS free_delivery_over_cents_21, t0.delivery_tax_basis_points AS delivery_tax_basis_points_22, t0.delivery_minutes AS delivery_minutes_23, t0.delivery_areas AS delivery_areas_24, t0.pay_online AS pay_online_25, t0.pay_at_pickup AS pay_at_pickup_26, t0.id_categories AS id_categories_27, t0.clover_environment AS clover_environment_28, t0.clover_region AS clover_region_29, t0.clover_merchant_id AS clover_merchant_id_30, t0.clover_private_token AS clover_private_token_31, t0.clover_webhook_secret AS clover_webhook_secret_32, t0.created_at AS created_at_33, t0.updated_at AS updated_at_34, t0.store_id AS store_id_35 FROM shop_settings t0 ORDER BY t0.created_at ASC LIMIT 1
Parameters:
[]
0.62 ms
(5.92%)
1
SELECT p0_.id AS id_0, p0_.slug AS slug_1, p0_.name AS name_2, p0_.tax_basis_points AS tax_basis_points_3, p0_.sort_order AS sort_order_4, p0_.is_active AS is_active_5, p0_.is_pos_key AS is_pos_key_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.store_id AS store_id_9 FROM product_categories p0_ WHERE p0_.store_id = ? ORDER BY p0_.sort_order ASC, p0_.name ASC
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Product 24
App\Entity\ProductCategory 8
App\Entity\ShopSettings 1
App\Entity\Store 1

Entities Mapping

Class Mapping errors
App\Entity\ShopSettings No errors.
App\Entity\Store No errors.
App\Entity\Product No errors.
App\Entity\Offer No errors.
App\Entity\ProductCategory No errors.
App\Entity\Supplier No errors.
App\Entity\OnlineOrder No errors.
App\Entity\OnlineOrderLine No errors.