GET https://optixs-2014.greendot.cz/_fragment/generate-menu/4

Query Metrics

14 Database Queries
12 Different statements
2.77 ms Query time
3 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.39 ms
(13.95%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.conversion_rate AS conversion_rate_4, t0.rounding AS rounding_5, t0.is_default AS is_default_6 FROM currency t0 WHERE t0.is_default = ? LIMIT 1
Parameters:
[
  1
]
0.36 ms
(12.97%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.description AS description_4, t0.title AS title_5, t0.slug AS slug_6, t0.is_active AS is_active_7, t0.sequence AS sequence_8, t0.javascript AS javascript_9, t0.text_general AS text_general_10, t0.state AS state_11, t0.external_id AS external_id_12, t0.is_indexable AS is_indexable_13, t0.meta_description AS meta_description_14, t0.producer_id AS producer_id_15, t0.upload_id AS upload_id_16 FROM product t0 WHERE t0.slug = ? AND ((t0.is_active != 0)) LIMIT 1
Parameters:
[
  "helios-fire"
]
0.32 ms
(11.71%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.stock AS stock_3, t0.external_id AS external_id_4, t0.avg_restock_days AS avg_restock_days_5, t0.is_active AS is_active_6, t0.product_id AS product_id_7, t0.colour_id AS colour_id_8, t0.availability_id AS availability_id_9, t0.upload_id AS upload_id_10 FROM product_variant t0 WHERE t0.product_id = ? AND ((t0.is_active != 0))
Parameters:
[
  269
]
0.32 ms
(11.63%)
1
SELECT p0_.id AS id_0, p0_.data AS data_1, p0_.sequence AS sequence_2, p0_.parameter_group_id AS parameter_group_id_3, p0_.category_id AS category_id_4, p0_.product_variant_id AS product_variant_id_5, p0_.person_id AS person_id_6 FROM parameter p0_ LEFT JOIN parameter_group p1_ ON p0_.parameter_group_id = p1_.id WHERE p1_.is_product_parameter = 1 AND p0_.product_variant_id IN (?) GROUP BY p0_.parameter_group_id
Parameters:
[
  237
]
0.30 ms
(10.76%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.created_at AS created_at_16, p0_.published_at AS published_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id LEFT JOIN category_menu_type c2_ ON p0_.id = c2_.category_id WHERE p0_.is_active = ? AND p0_.id >= ? AND p1_.id IS NULL AND c2_.menu_type_id = ? ORDER BY c2_.sequence ASC
Parameters:
[
  1
  2
  4
]
0.18 ms
(6.50%)
1
SELECT p0_.id AS id_0, p0_.price AS price_1, p0_.vat AS vat_2, p0_.minimal_amount AS minimal_amount_3, p0_.discount AS discount_4, p0_.valid_from AS valid_from_5, p0_.valid_until AS valid_until_6, p0_.created AS created_7, p0_.is_package AS is_package_8, p0_.min_price AS min_price_9, p0_.product_variant_id AS product_variant_id_10, p0_.event_id AS event_id_11 FROM price p0_ WHERE p0_.product_variant_id = ? AND p0_.valid_from <= ? AND (p0_.valid_until >= ? OR p0_.valid_until IS NULL) GROUP BY p0_.minimal_amount ORDER BY p0_.minimal_amount DESC, p0_.price ASC
Parameters:
[
  237
  "2025-01-12 23:28:13"
  "2025-01-12 23:28:13"
]
0.18 ms
(6.39%)
1
SELECT t0.id AS id_1, t0.price AS price_2, t0.vat AS vat_3, t0.minimal_amount AS minimal_amount_4, t0.discount AS discount_5, t0.valid_from AS valid_from_6, t0.valid_until AS valid_until_7, t0.created AS created_8, t0.is_package AS is_package_9, t0.min_price AS min_price_10, t0.product_variant_id AS product_variant_id_11, t0.event_id AS event_id_12 FROM price t0 WHERE t0.product_variant_id = ? ORDER BY t0.minimal_amount ASC
Parameters:
[
  237
]
0.16 ms
(5.75%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.controller_name AS controller_name_4 FROM menu_type t0 WHERE t0.id = ?
Parameters:
[
  "4"
]
0.15 ms
(5.35%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.description_mail AS description_mail_4, t0.description_duration AS description_duration_5, t0.html AS html_6, t0.icon AS icon_7, t0.duration AS duration_8, t0.price AS price_9, t0.free_from_price AS free_from_price_10, t0.squence AS squence_11, t0.country AS country_12, t0.state_url AS state_url_13, t0.section AS section_14, t0.is_enabled AS is_enabled_15, t0.vat AS vat_16 FROM transportation t0 ORDER BY t0.squence ASC
Parameters:
[]
0.15 ms
(5.27%)
1
SELECT DISTINCT p0_.id AS id_0 FROM parameter p1_ LEFT JOIN parameter_group p0_ ON p1_.parameter_group_id = p0_.id WHERE p0_.is_product_parameter = 1 AND p1_.product_variant_id IN (?)
Parameters:
[
  237
]
0.14 ms
(5.24%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.stock AS stock_3, t0.external_id AS external_id_4, t0.avg_restock_days AS avg_restock_days_5, t0.is_active AS is_active_6, t0.product_id AS product_id_7, t0.colour_id AS colour_id_8, t0.availability_id AS availability_id_9, t0.upload_id AS upload_id_10 FROM product_variant t0 WHERE t0.product_id = ? AND ((t0.is_active != 0)) ORDER BY t0.external_id ASC
Parameters:
[
  269
]
0.12 ms
(4.48%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.unit AS unit_3, t0.is_product_parameter AS is_product_parameter_4, t0.type_id AS type_id_5, t0.parameter_group_filter_type_id AS parameter_group_filter_type_id_6 FROM parameter_group t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "Packing Unit"
]

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.

Entities Mapping

Class Mapping errors
App\Entity\Project\Currency No errors.
App\Entity\Project\Product
  • The mappings App\Entity\Project\Product#productUploadGroup and App\Entity\Project\ProductUploadGroup#Product are inconsistent with each other.
App\Entity\Project\Producer No errors.
App\Entity\Project\Upload No errors.
App\Entity\Project\ProductVariant No errors.
App\Entity\Project\Review No errors.
App\Entity\Project\CategoryProduct No errors.
App\Entity\Project\ProductUploadGroup
  • The association App\Entity\Project\ProductUploadGroup#UploadGroup refers to the inverse side field App\Entity\Project\UploadGroup#productUploadGroups which does not exist.
  • The association App\Entity\Project\ProductUploadGroup#Product refers to the inverse side field App\Entity\Project\Product#productUploadGroups which does not exist.
App\Entity\Project\ProductPerson No errors.
App\Entity\Project\Colour No errors.
App\Entity\Project\Availability No errors.
App\Entity\Project\PurchaseProductVariant No errors.
App\Entity\Project\Video No errors.
App\Entity\Project\Parameter No errors.
App\Entity\Project\Price
  • The association App\Entity\Project\Price#event refers to the inverse side field App\Entity\Project\Event#price which is not defined as association.
  • The association App\Entity\Project\Price#event refers to the inverse side field App\Entity\Project\Event#price which does not exist.
App\Entity\Project\ProductVariantUploadGroup No errors.
App\Entity\Project\Event No errors.
App\Entity\Project\Transportation No errors.
App\Entity\Project\Purchase No errors.
App\Entity\Project\PaymentType No errors.
App\Entity\Project\ParameterGroup No errors.
App\Entity\Project\ParameterGroupType No errors.
App\Entity\Project\ParameterGroupFilterType No errors.
App\Entity\Project\Category No errors.
App\Entity\Project\Person No errors.
App\Entity\Project\MenuType No errors.
App\Entity\Project\CategoryMenuType No errors.
App\Entity\Project\CategoryCategory No errors.
App\Entity\Project\CategoryType No errors.
App\Entity\Project\Label No errors.
App\Entity\Project\CategoryFile No errors.
App\Entity\Project\Comment No errors.
App\Entity\Project\CategoryPerson No errors.
App\Entity\Project\CategoryEvent No errors.
App\Entity\Project\CategoryUploadGroup No errors.
App\Entity\Project\SubMenuType No errors.