Query Metrics
11
Database Queries
11
Different statements
27.00 ms
Query time
0
Invalid entities
20
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.87 ms (29.16%) |
1 |
SELECT s0_.id AS id_0, s1_.code AS code_1, s1_.id AS id_2, s0_.product_id AS product_id_3, s0_.tax_category_id AS tax_category_id_4, s0_.shipping_category_id AS shipping_category_id_5, s1_.option_id AS option_id_6 FROM sylius_product_variant s0_ LEFT JOIN sylius_product_variant_option_value s2_ ON s0_.id = s2_.variant_id LEFT JOIN sylius_product_option_value s1_ ON s1_.id = s2_.option_value_id WHERE s0_.id IN (?) ORDER BY s0_.id ASC, s1_.id ASC
Parameters:
[
1885
]
|
|
7.65 ms (28.34%) |
1 |
SELECT s0_.id AS id_0, s1_.price AS price_1, s1_.original_price AS original_price_2, s1_.minimum_price AS minimum_price_3, s1_.lowest_price_before_discount AS lowest_price_before_discount_4, s1_.channel_code AS channel_code_5, s1_.id AS id_6, s0_.product_id AS product_id_7, s0_.tax_category_id AS tax_category_id_8, s0_.shipping_category_id AS shipping_category_id_9, s1_.product_variant_id AS product_variant_id_10 FROM sylius_product_variant s0_ LEFT JOIN sylius_channel_pricing s1_ ON s0_.id = s1_.product_variant_id WHERE s0_.id IN (?) ORDER BY s0_.id ASC, s1_.id ASC
Parameters:
[
1885
]
|
|
3.17 ms (11.76%) |
1 |
SELECT s0_.code AS code_0, s0_.created_at AS created_at_1, s0_.updated_at AS updated_at_2, s0_.enabled AS enabled_3, s0_.id AS id_4, s0_.variant_selection_method AS variant_selection_method_5, s0_.average_rating AS average_rating_6, s0_.is_bestseller AS is_bestseller_7, s1_.name AS name_8, s1_.slug AS slug_9, s1_.description AS description_10, s1_.meta_keywords AS meta_keywords_11, s1_.meta_description AS meta_description_12, s1_.id AS id_13, s1_.short_description AS short_description_14, s1_.locale AS locale_15, s0_.main_taxon_id AS main_taxon_id_16, s1_.translatable_id AS translatable_id_17 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = ?) WHERE ((NOT EXISTS (SELECT 1 AS sclr_18 FROM sylius_product s2_ INNER JOIN sylius_product_customer_groups s4_ ON s2_.id = s4_.product_id INNER JOIN sylius_customer_group s3_ ON s3_.id = s4_.customer_group_id WHERE s2_.id = s0_.id) AND NOT EXISTS (SELECT 1 AS sclr_19 FROM sylius_product s5_ INNER JOIN sylius_product_organizations s7_ ON s5_.id = s7_.product_id INNER JOIN sylius_organization s6_ ON s6_.id = s7_.organization_id WHERE s5_.id = s0_.id)) OR (EXISTS (SELECT 1 AS sclr_20 FROM sylius_product s8_ INNER JOIN sylius_product_customer_groups s10_ ON s8_.id = s10_.product_id INNER JOIN sylius_customer_group s9_ ON s9_.id = s10_.customer_group_id WHERE s8_.id = s0_.id AND s9_.code = ?))) AND s1_.slug = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s11_ WHERE s11_.product_id = s0_.id AND s11_.channel_id IN (?)) AND s0_.enabled = ? ORDER BY s0_.id ASC
Parameters:
[ "pl_PL" "retail" "ezy-wheel-rolki-do-przewodow-i-wezy-2szt-czerwone" 3 1 ] |
|
2.08 ms (7.69%) |
1 |
SELECT s0_.name AS name_0, s0_.token AS token_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.id AS id_4, s0_.shop_user_id AS shop_user_id_5, s0_.channel_id AS channel_id_6 FROM sylius_wishlist s0_ WHERE s0_.channel_id = ? AND s0_.shop_user_id IS NULL AND s0_.token = ? ORDER BY s0_.id ASC
Parameters:
[ 3 "9cd3c6c3-657d-4057-a8a9-c0e9cff3f0fa" ] |
|
1.36 ms (5.03%) |
1 |
SELECT s0_.id AS id_0, s1_.type AS type_1, s1_.path AS path_2, s1_.id AS id_3, s1_.position AS position_4, s0_.main_taxon_id AS main_taxon_id_5, s1_.owner_id AS owner_id_6 FROM sylius_product s0_ LEFT JOIN sylius_product_image s1_ ON s0_.id = s1_.owner_id WHERE s0_.id IN (?) ORDER BY s0_.id ASC, s1_.position ASC, s1_.id ASC
Parameters:
[
10549
]
|
|
1.17 ms (4.33%) |
1 |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.shop_billing_data_id AS shop_billing_data_id_18, t0.channel_price_history_config_id AS channel_price_history_config_id_19, t0.default_locale_id AS default_locale_id_20, t21.code AS code_22, t21.created_at AS created_at_23, t21.updated_at AS updated_at_24, t21.id AS id_25, t0.base_currency_id AS base_currency_id_26, t27.code AS code_28, t27.created_at AS created_at_29, t27.updated_at AS updated_at_30, t27.id AS id_31, t0.default_tax_zone_id AS default_tax_zone_id_32, t0.menu_taxon_id AS menu_taxon_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t21 ON t0.default_locale_id = t21.id INNER JOIN sylius_currency t27 ON t0.base_currency_id = t27.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1
Parameters:
[ "dev.kochamysamochody.pl" 1 ] |
|
1.04 ms (3.84%) |
1 |
SELECT s0_.id AS id_0, s1_.code AS code_1, s1_.created_at AS created_at_2, s1_.updated_at AS updated_at_3, s1_.position AS position_4, s1_.enabled AS enabled_5, s1_.id AS id_6, s1_.version AS version_7, s1_.on_hold AS on_hold_8, s1_.on_hand AS on_hand_9, s1_.tracked AS tracked_10, s1_.width AS width_11, s1_.height AS height_12, s1_.depth AS depth_13, s1_.weight AS weight_14, s1_.shipping_required AS shipping_required_15, s0_.main_taxon_id AS main_taxon_id_16, s1_.product_id AS product_id_17, s1_.tax_category_id AS tax_category_id_18, s1_.shipping_category_id AS shipping_category_id_19 FROM sylius_product s0_ LEFT JOIN sylius_product_variant s1_ ON s0_.id = s1_.product_id WHERE s0_.id IN (?) ORDER BY s0_.id ASC, s1_.position ASC, s1_.id ASC
Parameters:
[
10549
]
|
|
0.90 ms (3.33%) |
1 |
SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0.id = sylius_channel_locales.locale_id WHERE sylius_channel_locales.channel_id = ?
Parameters:
[
3
]
|
|
0.63 ms (2.33%) |
1 |
SELECT s0_.id AS id_0, s1_.code AS code_1, s1_.position AS position_2, s1_.created_at AS created_at_3, s1_.updated_at AS updated_at_4, s1_.id AS id_5, s0_.main_taxon_id AS main_taxon_id_6 FROM sylius_product s0_ LEFT JOIN sylius_product_options s2_ ON s0_.id = s2_.product_id LEFT JOIN sylius_product_option s1_ ON s1_.id = s2_.option_id WHERE s0_.id IN (?) ORDER BY s0_.id ASC, s1_.position ASC, s1_.id ASC
Parameters:
[
10549
]
|
|
0.57 ms (2.11%) |
1 |
SELECT t0.code AS code_1, t0.name AS name_2, t0.color AS color_3, t0.description AS description_4, t0.enabled AS enabled_5, t0.hostname AS hostname_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.id AS id_9, t0.theme_name AS theme_name_10, t0.tax_calculation_strategy AS tax_calculation_strategy_11, t0.contact_email AS contact_email_12, t0.contact_phone_number AS contact_phone_number_13, t0.skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14, t0.skipping_payment_step_allowed AS skipping_payment_step_allowed_15, t0.account_verification_required AS account_verification_required_16, t0.shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17, t0.shop_billing_data_id AS shop_billing_data_id_18, t0.channel_price_history_config_id AS channel_price_history_config_id_19, t0.default_locale_id AS default_locale_id_20, t21.code AS code_22, t21.created_at AS created_at_23, t21.updated_at AS updated_at_24, t21.id AS id_25, t0.base_currency_id AS base_currency_id_26, t27.code AS code_28, t27.created_at AS created_at_29, t27.updated_at AS updated_at_30, t27.id AS id_31, t0.default_tax_zone_id AS default_tax_zone_id_32, t0.menu_taxon_id AS menu_taxon_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t21 ON t0.default_locale_id = t21.id INNER JOIN sylius_currency t27 ON t0.base_currency_id = t27.id LIMIT 1
Parameters:
[] |
|
0.56 ms (2.08%) |
1 |
SELECT COUNT(*) FROM sylius_channel t0
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.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| Sylius\Component\Core\Model\ProductImage | 6 |
| App\Entity\Taxon\Taxon | 2 |
| Sylius\Component\Core\Model\Channel | 1 |
| Sylius\Component\Core\Model\ShopBillingData | 1 |
| Sylius\Component\Core\Model\ChannelPriceHistoryConfig | 1 |
| Sylius\Component\Addressing\Model\Zone | 1 |
| Sylius\Component\Locale\Model\Locale | 1 |
| Sylius\Component\Currency\Model\Currency | 1 |
| App\Entity\Product\Product | 1 |
| Sylius\Component\Core\Model\ProductTranslation | 1 |
| App\Entity\Product\ProductVariant | 1 |
| Sylius\Component\Taxation\Model\TaxCategory | 1 |
| Sylius\Component\Shipping\Model\ShippingCategory | 1 |
| Sylius\Component\Core\Model\ChannelPricing | 1 |