Query Metrics

42 Database Queries
8 Different statements
49.32 ms Query time
0 Invalid entities
156 Managed entities

Grouped Statements

Show all queries

Time Count Info
18.42 ms
(37.35%)
18
SELECT t0.id AS id_1, t0.shop_id AS shop_id_2, t0.sku AS sku_3, t0.barcode AS barcode_4, t0.option_value_ids AS option_value_ids_5, t0.price_cents AS price_cents_6, t0.currency AS currency_7, t0.original_price_cents AS original_price_cents_8, t0.tax_rate_bps AS tax_rate_bps_9, t0.stock_quantity AS stock_quantity_10, t0.low_stock_threshold AS low_stock_threshold_11, t0.tracks_inventory AS tracks_inventory_12, t0.allow_backorder AS allow_backorder_13, t0.weight_grams AS weight_grams_14, t0.enabled AS enabled_15, t0.position AS position_16, t0.product_id AS product_id_17 FROM shop_product_variants t0 WHERE t0.product_id = ? ORDER BY t0.position ASC
Parameters:
[
  "019faa7b-74be-775e-9b87-b14c66b209b9"
]
14.67 ms
(29.75%)
18
SELECT t0.id AS id_1, t0.url AS url_2, t0.alt_text AS alt_text_3, t0.position AS position_4, t0.product_id AS product_id_5 FROM shop_product_images t0 WHERE t0.product_id = ? ORDER BY t0.position ASC
Parameters:
[
  "019faa7b-74be-775e-9b87-b14c66b209b9"
]
4.99 ms
(10.11%)
1
SELECT s0_.id AS id_0, s0_.shop_id AS shop_id_1, s0_.name AS name_2, s0_.slug AS slug_3, s0_.description AS description_4, s0_.short_description AS short_description_5, s0_.status AS status_6, s0_.product_type AS product_type_7, s0_.brand AS brand_8, s0_.position AS position_9, s0_.created_at AS created_at_10, s0_.updated_at AS updated_at_11, s0_.taxon_ids AS taxon_ids_12 FROM shop_products s0_ WHERE s0_.shop_id = ? AND s0_.status = ? ORDER BY s0_.position ASC, s0_.created_at DESC LIMIT 100
Parameters:
[
  "019faa7b-7350-76c5-a323-f767c991beda"
  "published"
]
4.75 ms
(9.64%)
1
SELECT t0.id AS id_1, t0.conversation_id AS conversation_id_2, t0.currency AS currency_3, t0.prices_include_tax AS prices_include_tax_4, t0.enabled AS enabled_5, t0.pickup_enabled AS pickup_enabled_6, t0.shipping_enabled AS shipping_enabled_7, t0.pickup_address AS pickup_address_8, t0.pickup_instructions AS pickup_instructions_9, t0.flat_shipping_cents AS flat_shipping_cents_10, t0.free_shipping_threshold_cents AS free_shipping_threshold_cents_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13 FROM shop_shops t0 WHERE t0.conversation_id = ? LIMIT 1
Parameters:
[
  "019faa7b-72fa-79fe-a64d-cb92fba2ab2b"
]
1.84 ms
(3.73%)
1
SELECT t0.id AS id_1, t0.shop_id AS shop_id_2, t0.parent_id AS parent_id_3, t0.name AS name_4, t0.slug AS slug_5, t0.position AS position_6 FROM shop_taxons t0 WHERE t0.shop_id = ? ORDER BY t0.position ASC
Parameters:
[
  "019faa7b-7350-76c5-a323-f767c991beda"
]
1.76 ms
(3.57%)
1
SELECT t0.id AS id_1, t0.shop_id AS shop_id_2, t0.name AS name_3, t0.description AS description_4, t0.status AS status_5, t0.starts_at AS starts_at_6, t0.ends_at AS ends_at_7, t0.target_channel_ids AS target_channel_ids_8, t0.promotion_ids AS promotion_ids_9, t0.banner_text AS banner_text_10, t0.banner_image_path AS banner_image_path_11, t0.announcement_sent AS announcement_sent_12 FROM shop_campaigns t0 WHERE t0.status = ?
Parameters:
[
  "active"
]
1.51 ms
(3.05%)
1
SELECT COUNT(s0_.id) AS sclr_0 FROM shop_products s0_ WHERE s0_.shop_id = ? AND s0_.status = ?
Parameters:
[
  "019faa7b-7350-76c5-a323-f767c991beda"
  "published"
]
1.37 ms
(2.78%)
1
SELECT t0.id AS id_1, t0.shop_id AS shop_id_2, t0.name AS name_3, t0.scope_type AS scope_type_4, t0.scope_id AS scope_id_5, t0.action_type AS action_type_6, t0.action_value AS action_value_7, t0.starts_at AS starts_at_8, t0.ends_at AS ends_at_9, t0.priority AS priority_10, t0.enabled AS enabled_11 FROM shop_catalog_promotions t0 WHERE t0.shop_id = ? ORDER BY t0.priority DESC
Parameters:
[
  "019faa7b-7350-76c5-a323-f767c991beda"
]

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\Shop\Domain\Model\ProductVariant 84
App\Shop\Domain\Model\ProductImage 36
App\Shop\Domain\Model\Product 18
App\Shop\Domain\Model\Taxon 16
App\Shop\Domain\Model\Shop 1
App\Shop\Domain\Model\Campaign 1