GET https://www.stama.s1.pexow.dev/category/50

Query Metrics

37 Database Queries
16 Different statements
33.20 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
6.91 ms
(20.82%)
11
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.lft AS lft_4, t0.lvl AS lvl_5, t0.rgt AS rgt_6, t0.og_title AS og_title_7, t0.og_description AS og_description_8, t0.active AS active_9, t0.deleted AS deleted_10, t0.tree_root AS tree_root_11, t0.parent_id AS parent_id_12 FROM category t0 WHERE t0.parent_id = ? ORDER BY t0.lft ASC
Parameters:
[
  1
]
5.00 ms
(15.05%)
6
SELECT t0.id AS id_1, t0.featured AS featured_2, t0.sort AS sort_3, t0.category_id AS category_id_4, t5.id AS id_6, t5.title AS title_7, t5.description AS description_8, t5.lft AS lft_9, t5.lvl AS lvl_10, t5.rgt AS rgt_11, t5.og_title AS og_title_12, t5.og_description AS og_description_13, t5.active AS active_14, t5.deleted AS deleted_15, t5.tree_root AS tree_root_16, t5.parent_id AS parent_id_17, t0.product_id AS product_id_18 FROM category_product t0 INNER JOIN category t5 ON t0.category_id = t5.id WHERE t0.category_id = ? ORDER BY t0.featured DESC, t0.sort ASC
Parameters:
[
  51
]
4.31 ms
(12.98%)
2
SELECT DISTINCT c0_.id AS id_0, c0_.title AS title_1, c0_.perex AS perex_2, c0_.description AS description_3, c0_.website AS website_4, c0_.og_title AS og_title_5, c0_.og_description AS og_description_6, c0_.active AS active_7, c0_.deleted AS deleted_8 FROM catalogue_producer c0_ INNER JOIN catalogue_product c1_ ON c0_.id = c1_.producer_id AND c1_.type IN ('SIMPLE', 'VARIANT') INNER JOIN category_product c2_ ON c1_.id = c2_.product_id INNER JOIN category c3_ ON c2_.category_id = c3_.id WHERE c3_.id IN (?, ?, ?, ?, ?, ?) ORDER BY c0_.title ASC
Parameters:
[
  50
  51
  52
  53
  54
  61
]
3.35 ms
(10.09%)
4
SELECT t0.id AS id_1, t0.filepath AS filepath_2, t0.filename AS filename_3, t0.type AS type_4, t0.thumbnail_type AS thumbnail_type_5, t0.size AS size_6, t0.thumbnail AS thumbnail_7, t0.sort AS sort_8, t0.active AS active_9, t0.main AS main_10, t0.product_id AS product_id_11, t0.product_variant_id AS product_variant_id_12, t0.producer_id AS producer_id_13 FROM image t0 WHERE t0.product_id = ?
Parameters:
[
  46
]
1.64 ms
(4.93%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.perex AS perex_2, c0_.description AS description_3, c0_.price AS price_4, c0_.promotional_price AS promotional_price_5, c0_.og_title AS og_title_6, c0_.og_description AS og_description_7, c0_.active AS active_8, c0_.deleted AS deleted_9, c0_.type AS type_10, c0_.producer_id AS producer_id_11, c0_.availability_id AS availability_id_12, c0_.unit_id AS unit_id_13, c0_.vat_id AS vat_id_14, c0_.product_type_id AS product_type_id_15 FROM catalogue_product c0_ INNER JOIN category_product c1_ ON c0_.id = c1_.product_id INNER JOIN category c2_ ON c1_.category_id = c2_.id WHERE (c2_.id IN (?, ?, ?, ?, ?, ?) AND c0_.id IN (?, ?, ?, ?)) AND c0_.type IN ('SIMPLE', 'VARIANT')
Parameters:
[
  50
  51
  52
  53
  54
  61
  496
  497
  46
  403
]
1.63 ms
(4.90%)
2
SELECT c0_.id AS id_0 FROM category c0_ WHERE c0_.lft >= ? AND c0_.rgt <= ?
Parameters:
[
  186
  197
]
1.57 ms
(4.72%)
2
SELECT COUNT(n0_.id) AS sclr_0 FROM navigation n0_ WHERE n0_.position = ?
Parameters:
[
  "HEADER"
]
1.30 ms
(3.90%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.lft AS lft_4, t0.lvl AS lvl_5, t0.rgt AS rgt_6, t0.og_title AS og_title_7, t0.og_description AS og_description_8, t0.active AS active_9, t0.deleted AS deleted_10, t0.tree_root AS tree_root_11, t0.parent_id AS parent_id_12 FROM category t0 WHERE t0.id = ?
Parameters:
[
  "50"
]
1.27 ms
(3.81%)
1
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM catalogue_product c0_ INNER JOIN category_product c1_ ON c0_.id = c1_.product_id INNER JOIN category c2_ ON c1_.category_id = c2_.id WHERE (c2_.id IN (?, ?, ?, ?, ?, ?)) AND c0_.type IN ('SIMPLE', 'VARIANT')
Parameters:
[
  50
  51
  52
  53
  54
  61
]
1.15 ms
(3.48%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.description AS description_2, c0_.lft AS lft_3, c0_.lvl AS lvl_4, c0_.rgt AS rgt_5, c0_.og_title AS og_title_6, c0_.og_description AS og_description_7, c0_.active AS active_8, c0_.deleted AS deleted_9, c0_.tree_root AS tree_root_10, c0_.parent_id AS parent_id_11 FROM category c0_ WHERE c0_.lft <= 186 AND c0_.rgt >= 197 AND c0_.tree_root = ? ORDER BY c0_.lft ASC
Parameters:
[
  2
]
1.10 ms
(3.33%)
1
SELECT t0.id AS id_1, t0.featured AS featured_2, t0.sort AS sort_3, t0.category_id AS category_id_4, t5.id AS id_6, t5.title AS title_7, t5.description AS description_8, t5.lft AS lft_9, t5.lvl AS lvl_10, t5.rgt AS rgt_11, t5.og_title AS og_title_12, t5.og_description AS og_description_13, t5.active AS active_14, t5.deleted AS deleted_15, t5.tree_root AS tree_root_16, t5.parent_id AS parent_id_17, t0.product_id AS product_id_18 FROM category_product t0 INNER JOIN category t5 ON t0.category_id = t5.id WHERE t0.product_id IN (?, ?, ?, ?)
Parameters:
[
  46
  403
  496
  497
]
1.02 ms
(3.07%)
1
SELECT t0.id AS id_1, t0.sort AS sort_2, t0.deleted AS deleted_3, t0.navigation_id AS navigation_id_4, t5.id AS id_6, t5.position AS position_7, t5.title AS title_8, t5.active AS active_9, t5.deleted AS deleted_10, t0.category_id AS category_id_11, t12.id AS id_13, t12.title AS title_14, t12.description AS description_15, t12.lft AS lft_16, t12.lvl AS lvl_17, t12.rgt AS rgt_18, t12.og_title AS og_title_19, t12.og_description AS og_description_20, t12.active AS active_21, t12.deleted AS deleted_22, t12.tree_root AS tree_root_23, t12.parent_id AS parent_id_24 FROM navigation_category t0 INNER JOIN navigation t5 ON t0.navigation_id = t5.id INNER JOIN category t12 ON t0.category_id = t12.id WHERE t0.navigation_id IN (?)
Parameters:
[
  1
]
0.91 ms
(2.73%)
1
SELECT DISTINCT c0_.id AS id_0 FROM catalogue_product c0_ INNER JOIN category_product c1_ ON c0_.id = c1_.product_id INNER JOIN category c2_ ON c1_.category_id = c2_.id WHERE (c2_.id IN (?, ?, ?, ?, ?, ?)) AND c0_.type IN ('SIMPLE', 'VARIANT') LIMIT 12
Parameters:
[
  50
  51
  52
  53
  54
  61
]
0.72 ms
(2.16%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.type AS type_3, t0.rate AS rate_4, t0.active AS active_5, t0.main AS main_6, t0.deleted AS deleted_7 FROM setup_vat t0 WHERE t0.id IN (?)
Parameters:
[
  1
]
0.70 ms
(2.11%)
1
SELECT FLOOR(MIN(c0_.price)) AS sclr_0, CEIL(MAX(c0_.price)) AS sclr_1 FROM category c1_ INNER JOIN category_product c2_ ON c1_.id = c2_.category_id INNER JOIN catalogue_product c0_ ON c2_.product_id = c0_.id AND c0_.type IN ('SIMPLE', 'VARIANT') WHERE c1_.lft >= ? AND c1_.rgt <= ?
Parameters:
[
  186
  197
]
0.63 ms
(1.91%)
1
SELECT n0_.id AS id_0, n0_.position AS position_1, n0_.title AS title_2, n0_.active AS active_3, n0_.deleted AS deleted_4 FROM navigation n0_ WHERE n0_.position = ?
Parameters:
[
  "TOP"
]

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\Category\Category No errors.
App\Entity\Navigation\NavigationCategory No errors.
App\Entity\Category\CategoryProduct No errors.
App\Entity\Catalogue\Producer\Producer No errors.
App\Entity\Catalogue\Product\Product No errors.
App\Entity\Catalogue\Product\SimpleProduct No errors.
App\Entity\Catalogue\Product\VariantProduct No errors.
App\Entity\Image\Image No errors.
App\Entity\Setup\Availability No errors.
App\Entity\Setup\Unit No errors.
App\Entity\Setup\Vat No errors.
App\Entity\Catalogue\Product\Type\ProductType No errors.
App\Entity\Catalogue\Product\Code\ProductCode No errors.
App\Entity\Navigation\Navigation No errors.
App\Entity\Catalogue\Product\Variant\ProductVariant
  • The association App\Entity\Catalogue\Product\Variant\ProductVariant#product refers to the inverse side field App\Entity\Catalogue\Product\Product#variants which does not exist.