GET https://victoriamart.ca/shop/products?category=softDrink&page=2

Query Metrics

8 Database Queries
7 Different statements
34.44 ms Query time
0 Invalid entities
37 Managed entities

Queries

Group similar statements

#▲ Time Info
1 1.07 ms
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:
[]
2 8.39 ms
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"
]
3 0.68 ms
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"
]
4 4.79 ms
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"
  "softDrink"
]
5 7.31 ms
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_.description AS description_22, p0_.facebook_status AS facebook_status_23, p0_.facebook_post_id AS facebook_post_id_24, p0_.facebook_published_at AS facebook_published_at_25, p0_.facebook_error AS facebook_error_26, p0_.image_path AS image_path_27, p0_.image_url AS image_url_28, p0_.sync_status AS sync_status_29, p0_.client_id AS client_id_30, p0_.created_at AS created_at_31, p0_.updated_at AS updated_at_32, o1_.id AS id_33, o1_.quantity AS quantity_34, o1_.price_cents AS price_cents_35, o1_.is_deleted AS is_deleted_36, o1_.updated_at AS updated_at_37 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 OFFSET 24
Parameters:
[
  "8241c908-a268-4867-85dc-e6714e489812"
  "softDrink"
]
6 2.89 ms
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_.description AS description_22, p0_.facebook_status AS facebook_status_23, p0_.facebook_post_id AS facebook_post_id_24, p0_.facebook_published_at AS facebook_published_at_25, p0_.facebook_error AS facebook_error_26, p0_.image_path AS image_path_27, p0_.image_url AS image_url_28, p0_.sync_status AS sync_status_29, p0_.client_id AS client_id_30, p0_.created_at AS created_at_31, p0_.updated_at AS updated_at_32, o1_.id AS id_33, o1_.quantity AS quantity_34, o1_.price_cents AS price_cents_35, o1_.is_deleted AS is_deleted_36, o1_.updated_at AS updated_at_37, p0_.store_id AS store_id_38, p0_.supplier_id AS supplier_id_39, o1_.product_id AS product_id_40 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"
  "softDrink"
  "e54a9937-27aa-40eb-b201-5ece5b1343e2"
  "25902a78-fc72-43d1-948e-ae0d72805ea9"
  "db360c91-dd4f-47e8-886e-f1616c37cf1f"
  "8c8adbfd-35d4-4692-a004-05a430aaa092"
  "f55ac005-2fbc-4f70-8f21-02f1e1a99854"
  "9010e7c5-0ea3-4981-b6a2-ff1802f79244"
  "adbd0d6a-5161-4a86-8488-26e35984e347"
  "1a8e2d65-5957-472c-af27-2b3bdbe400e9"
  "48c44ed4-6b04-4fa1-b9e7-0080a0bba676"
  "e39bd5a4-38c2-4d95-938f-44e61522727c"
  "56cd2544-c7ff-443a-83d5-d483e60339e1"
  "e3d2778f-74df-4dd5-9f4f-670c0013d94e"
  "7069b6eb-ec9f-47ef-875c-2967bc98a395"
  "fb8f4902-e587-46f6-a4c2-b66868d3e867"
  "60700d60-fc38-4985-b9d5-f2a31bbde23b"
  "626d2854-a384-43b0-a5b8-7262a9cef6e2"
  "70a6d309-eadf-401b-a296-afc979ec7387"
  "fb4eae91-c69d-4fb9-86ca-ba0ae904b4e7"
  "227073fb-99c7-41c2-8dae-62099bdbddad"
  "92447037-31ff-4c59-850c-522213dfd621"
  "a1c671dd-20a0-45aa-8560-f63bfb3116a9"
  "84e21a34-3d4a-4803-b5d9-04152b33733f"
  "81d59ea6-694e-4668-9123-7ae4577cc52d"
  "cdca4dc9-3156-4c1f-ba48-fd87154af429"
]
7 1.07 ms
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"
  "e54a9937-27aa-40eb-b201-5ece5b1343e2"
  "25902a78-fc72-43d1-948e-ae0d72805ea9"
  "db360c91-dd4f-47e8-886e-f1616c37cf1f"
  "8c8adbfd-35d4-4692-a004-05a430aaa092"
  "f55ac005-2fbc-4f70-8f21-02f1e1a99854"
  "9010e7c5-0ea3-4981-b6a2-ff1802f79244"
  "adbd0d6a-5161-4a86-8488-26e35984e347"
  "1a8e2d65-5957-472c-af27-2b3bdbe400e9"
  "48c44ed4-6b04-4fa1-b9e7-0080a0bba676"
  "e39bd5a4-38c2-4d95-938f-44e61522727c"
  "56cd2544-c7ff-443a-83d5-d483e60339e1"
  "e3d2778f-74df-4dd5-9f4f-670c0013d94e"
  "7069b6eb-ec9f-47ef-875c-2967bc98a395"
  "fb8f4902-e587-46f6-a4c2-b66868d3e867"
  "60700d60-fc38-4985-b9d5-f2a31bbde23b"
  "626d2854-a384-43b0-a5b8-7262a9cef6e2"
  "70a6d309-eadf-401b-a296-afc979ec7387"
  "fb4eae91-c69d-4fb9-86ca-ba0ae904b4e7"
  "227073fb-99c7-41c2-8dae-62099bdbddad"
  "92447037-31ff-4c59-850c-522213dfd621"
  "a1c671dd-20a0-45aa-8560-f63bfb3116a9"
  "84e21a34-3d4a-4803-b5d9-04152b33733f"
  "81d59ea6-694e-4668-9123-7ae4577cc52d"
  "cdca4dc9-3156-4c1f-ba48-fd87154af429"
]
8 8.24 ms
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"
]

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 11
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.