Query Metrics
31
Database Queries
17
Different statements
10.88 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
1.55 ms (14.27%) |
1 |
SELECT DISTINCT id_4 FROM (SELECT DISTINCT id_4, created_at_1 FROM (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, s1_.name AS name_7, s1_.slug AS slug_8, s1_.description AS description_9, s1_.meta_keywords AS meta_keywords_10, s1_.meta_description AS meta_description_11, s1_.id AS id_12, s1_.short_description AS short_description_13, s1_.locale AS locale_14, s2_.position AS position_15, s2_.id AS id_16, s3_.code AS code_17, s3_.tree_left AS tree_left_18, s3_.tree_right AS tree_right_19, s3_.tree_level AS tree_level_20, s3_.position AS position_21, s3_.enabled AS enabled_22, s3_.id AS id_23, s3_.created_at AS created_at_24, s3_.updated_at AS updated_at_25 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = ?) INNER JOIN sylius_product_taxon s2_ ON s0_.id = s2_.product_id INNER JOIN sylius_taxon s3_ ON s2_.taxon_id = s3_.id WHERE s3_.tree_left >= ? AND s3_.tree_right <= ? AND s3_.tree_root = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s4_ WHERE s4_.product_id = s0_.id AND s4_.channel_id IN (?)) AND s0_.enabled = ? ORDER BY s2_.id ASC) dctrn_result_inner ORDER BY created_at_1 ASC, id_4 ASC) dctrn_result LIMIT 9
Parameters:
[ "en_US" 9 10 1 1 1 ] |
1.51 ms (13.84%) |
8 |
SELECT s0_.code AS code_0, s0_.name AS name_1, s0_.hostname AS hostname_2 FROM sylius_channel s0_ ORDER BY s0_.id ASC
Parameters:
[] |
0.81 ms (7.46%) |
2 |
SELECT b0_.name AS name_0, b0_.token AS token_1, b0_.created_at AS created_at_2, b0_.updated_at AS updated_at_3, b0_.id AS id_4, b0_.shop_user_id AS shop_user_id_5, b0_.channel_id AS channel_id_6 FROM bitbag_wishlist b0_ WHERE b0_.channel_id = ? AND b0_.shop_user_id IS NULL AND b0_.token = ? ORDER BY b0_.id ASC
Parameters:
[ 1 "f582bb12-7071-44ea-b5b1-6739feb7e4cd" ] |
0.78 ms (7.13%) |
2 |
SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.position AS position_4, t0.enabled AS enabled_5, t0.id AS id_6, t0.version AS version_7, t0.on_hold AS on_hold_8, t0.on_hand AS on_hand_9, t0.tracked AS tracked_10, t0.width AS width_11, t0.height AS height_12, t0.depth AS depth_13, t0.weight AS weight_14, t0.shipping_required AS shipping_required_15, t0.product_id AS product_id_16, t0.tax_category_id AS tax_category_id_17, t0.shipping_category_id AS shipping_category_id_18 FROM sylius_product_variant t0 WHERE t0.product_id = ? ORDER BY t0.position ASC, t0.id ASC
Parameters:
[
8
]
|
0.76 ms (7.00%) |
1 |
SELECT s0_.code AS code_0, s0_.tree_left AS tree_left_1, s0_.tree_right AS tree_right_2, s0_.tree_level AS tree_level_3, s0_.position AS position_4, s0_.enabled AS enabled_5, s0_.id AS id_6, s0_.created_at AS created_at_7, s0_.updated_at AS updated_at_8, s1_.name AS name_9, s1_.slug AS slug_10, s1_.description AS description_11, s1_.id AS id_12, s1_.locale AS locale_13, s2_.code AS code_14, s2_.tree_left AS tree_left_15, s2_.tree_right AS tree_right_16, s2_.tree_level AS tree_level_17, s2_.position AS position_18, s2_.enabled AS enabled_19, s2_.id AS id_20, s2_.created_at AS created_at_21, s2_.updated_at AS updated_at_22, s0_.tree_root AS tree_root_23, s0_.parent_id AS parent_id_24, s1_.translatable_id AS translatable_id_25, s2_.tree_root AS tree_root_26, s2_.parent_id AS parent_id_27 FROM sylius_taxon s0_ LEFT JOIN sylius_taxon_translation s1_ ON s0_.id = s1_.translatable_id INNER JOIN sylius_taxon s3_ ON s0_.parent_id = s3_.id LEFT JOIN sylius_taxon s2_ ON s0_.id = s2_.parent_id WHERE s1_.locale = ? AND s0_.enabled = ? AND s3_.code = ? ORDER BY s0_.position ASC, s0_.id ASC, s2_.position ASC, s2_.id ASC
Parameters:
[ "en_US" 1 "MENU_CATEGORY" ] |
0.71 ms (6.53%) |
3 |
SELECT s0_.code AS code_0, s0_.tree_left AS tree_left_1, s0_.tree_right AS tree_right_2, s0_.tree_level AS tree_level_3, s0_.position AS position_4, s0_.enabled AS enabled_5, s0_.id AS id_6, s0_.created_at AS created_at_7, s0_.updated_at AS updated_at_8, s1_.name AS name_9, s1_.slug AS slug_10, s1_.description AS description_11, s1_.id AS id_12, s1_.locale AS locale_13, s0_.tree_root AS tree_root_14, s0_.parent_id AS parent_id_15, s1_.translatable_id AS translatable_id_16 FROM sylius_taxon s0_ INNER JOIN sylius_taxon_translation s1_ ON s0_.id = s1_.translatable_id WHERE s0_.enabled = ? AND s1_.slug = ? AND s1_.locale = ? ORDER BY s0_.id ASC
Parameters:
[ 1 "caps/simple" "en_US" ] |
0.70 ms (6.47%) |
2 |
SELECT t0.type AS type_1, t0.path AS path_2, t0.id AS id_3, t0.owner_id AS owner_id_4 FROM sylius_product_image t0 WHERE t0.owner_id = ? ORDER BY t0.id ASC
Parameters:
[
8
]
|
0.64 ms (5.90%) |
2 |
SELECT t0.price AS price_1, t0.original_price AS original_price_2, t0.minimum_price AS minimum_price_3, t0.lowest_price_before_discount AS lowest_price_before_discount_4, t0.channel_code AS channel_code_5, t0.id AS id_6, t0.product_variant_id AS product_variant_id_7 FROM sylius_channel_pricing t0 WHERE t0.product_variant_id = ? ORDER BY t0.id ASC
Parameters:
[
32
]
|
0.52 ms (4.83%) |
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_currency t0 INNER JOIN sylius_channel_currencies ON t0.id = sylius_channel_currencies.currency_id WHERE sylius_channel_currencies.channel_id = ? ORDER BY t0.id ASC
Parameters:
[
1
]
|
0.51 ms (4.65%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_4 FROM (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, s1_.name AS name_7, s1_.slug AS slug_8, s1_.description AS description_9, s1_.meta_keywords AS meta_keywords_10, s1_.meta_description AS meta_description_11, s1_.id AS id_12, s1_.short_description AS short_description_13, s1_.locale AS locale_14, s2_.position AS position_15, s2_.id AS id_16 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = ?) INNER JOIN sylius_product_taxon s2_ ON s0_.id = s2_.product_id INNER JOIN sylius_taxon s3_ ON s2_.taxon_id = s3_.id WHERE s3_.tree_left >= ? AND s3_.tree_right <= ? AND s3_.tree_root = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s4_ WHERE s4_.product_id = s0_.id AND s4_.channel_id IN (?)) AND s0_.enabled = ? ORDER BY s0_.created_at ASC, s0_.id ASC, s2_.id ASC) dctrn_result) dctrn_table
Parameters:
[ "en_US" 9 10 1 1 1 ] |
0.46 ms (4.18%) |
1 |
SELECT s0_.code AS code_0, s0_.tree_left AS tree_left_1, s0_.tree_right AS tree_right_2, s0_.tree_level AS tree_level_3, s0_.position AS position_4, s0_.enabled AS enabled_5, s0_.id AS id_6, s0_.created_at AS created_at_7, s0_.updated_at AS updated_at_8, s0_.code AS code_9, s0_.tree_left AS tree_left_10, s0_.tree_right AS tree_right_11, s0_.tree_level AS tree_level_12, s0_.position AS position_13, s0_.enabled AS enabled_14, s0_.id AS id_15, s0_.created_at AS created_at_16, s0_.updated_at AS updated_at_17, s1_.name AS name_18, s1_.slug AS slug_19, s1_.description AS description_20, s1_.id AS id_21, s1_.locale AS locale_22, s2_.code AS code_23, s2_.tree_left AS tree_left_24, s2_.tree_right AS tree_right_25, s2_.tree_level AS tree_level_26, s2_.position AS position_27, s2_.enabled AS enabled_28, s2_.id AS id_29, s2_.created_at AS created_at_30, s2_.updated_at AS updated_at_31, s0_.tree_root AS tree_root_32, s0_.parent_id AS parent_id_33, s1_.translatable_id AS translatable_id_34, s2_.tree_root AS tree_root_35, s2_.parent_id AS parent_id_36 FROM sylius_taxon s0_ LEFT JOIN sylius_taxon_translation s1_ ON s0_.id = s1_.translatable_id LEFT JOIN sylius_taxon s2_ ON s0_.id = s2_.parent_id WHERE s1_.locale = ? AND s0_.tree_root = ? ORDER BY s0_.id ASC, s2_.position ASC, s2_.id ASC
Parameters:
[ "en_US" 1 ] |
0.45 ms (4.17%) |
2 |
SELECT t0.code AS code_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.position AS position_4, t0.enabled AS enabled_5, t0.id AS id_6, t0.version AS version_7, t0.on_hold AS on_hold_8, t0.on_hand AS on_hand_9, t0.tracked AS tracked_10, t0.width AS width_11, t0.height AS height_12, t0.depth AS depth_13, t0.weight AS weight_14, t0.shipping_required AS shipping_required_15, t0.product_id AS product_id_16, t0.tax_category_id AS tax_category_id_17, t0.shipping_category_id AS shipping_category_id_18 FROM sylius_product_variant t0 WHERE t0.product_id = ? AND t0.enabled = ? ORDER BY t0.position ASC, t0.id ASC LIMIT 1
Parameters:
[ 8 1 ] |
0.43 ms (3.92%) |
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, s1_.name AS name_7, s1_.slug AS slug_8, s1_.description AS description_9, s1_.meta_keywords AS meta_keywords_10, s1_.meta_description AS meta_description_11, s1_.id AS id_12, s1_.short_description AS short_description_13, s1_.locale AS locale_14, s2_.position AS position_15, s2_.id AS id_16, s0_.main_taxon_id AS main_taxon_id_17, s1_.translatable_id AS translatable_id_18, s2_.product_id AS product_id_19, s2_.taxon_id AS taxon_id_20 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_.id = s1_.translatable_id AND (s1_.locale = ?) INNER JOIN sylius_product_taxon s2_ ON s0_.id = s2_.product_id INNER JOIN sylius_taxon s3_ ON s2_.taxon_id = s3_.id WHERE s3_.tree_left >= ? AND s3_.tree_right <= ? AND s3_.tree_root = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s4_ WHERE s4_.product_id = s0_.id AND s4_.channel_id IN (?)) AND s0_.enabled = ? AND s0_.id IN (?, ?) ORDER BY s0_.created_at ASC, s0_.id ASC, s2_.id ASC
Parameters:
[ "en_US" 9 10 1 1 1 8 10 ] |
0.39 ms (3.62%) |
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.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id WHERE t0.hostname = ? AND t0.enabled = ? ORDER BY t0.id ASC LIMIT 1
Parameters:
[ "sylius.demo.wilma.dev" 1 ] |
0.28 ms (2.56%) |
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.default_locale_id AS default_locale_id_18, t19.code AS code_20, t19.created_at AS created_at_21, t19.updated_at AS updated_at_22, t19.id AS id_23, t0.base_currency_id AS base_currency_id_24, t25.code AS code_26, t25.created_at AS created_at_27, t25.updated_at AS updated_at_28, t25.id AS id_29, t0.default_tax_zone_id AS default_tax_zone_id_30, t0.menu_taxon_id AS menu_taxon_id_31, t0.shop_billing_data_id AS shop_billing_data_id_32, t0.channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0.default_locale_id = t19.id INNER JOIN sylius_currency t25 ON t0.base_currency_id = t25.id LIMIT 1
Parameters:
[] |
0.22 ms (2.06%) |
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:
[
1
]
|
0.15 ms (1.41%) |
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.