GET https://www.sklep.dakam.axpstudio.com/kategoria/1/lozyska

Query Metrics

12 Database Queries
12 Different statements
3.54 ms Query time
0 Invalid entities
1 Managed entities

Queries

Group similar statements

# Time Info
1 0.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.parent_id IS NULL AND t0.active = ?
Parameters:
[
  1
]
2 0.24 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.parent_id = ? AND t0.active = ?
Parameters:
[
  1
  1
]
3 0.37 ms
SELECT s0_.id AS id_0, s1_.id AS id_1, s1_.name AS name_2, s1_.active AS active_3, s0_.specification_id AS specification_id_4, s0_.category_id AS category_id_5 FROM specification_category s0_ INNER JOIN specification s1_ ON s0_.specification_id = s1_.id WHERE s0_.category_id = ? ORDER BY s1_.name ASC
Parameters:
[
  1
]
4 0.29 ms
SELECT MIN(p0_.length) AS sclr_0, MAX(p0_.length) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.length IS NOT NULL
Parameters:
[
  1
]
5 0.26 ms
SELECT MIN(p0_.width) AS sclr_0, MAX(p0_.width) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.width IS NOT NULL
Parameters:
[
  1
]
6 0.28 ms
SELECT MIN(p0_.depth) AS sclr_0, MAX(p0_.depth) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.depth IS NOT NULL
Parameters:
[
  1
]
7 0.25 ms
SELECT MIN(p0_.weight) AS sclr_0, MAX(p0_.weight) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.weight IS NOT NULL
Parameters:
[
  1
]
8 0.24 ms
SELECT MIN(p0_.gross_price) AS sclr_0, MAX(p0_.gross_price) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.gross_price IS NOT NULL
Parameters:
[
  1
]
9 0.23 ms
SELECT MIN(p0_.net_price) AS sclr_0, MAX(p0_.net_price) AS sclr_1 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1 AND p0_.net_price IS NOT NULL
Parameters:
[
  1
]
10 0.28 ms
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM products p0_ INNER JOIN category_products c1_ ON (c1_.product_id = p0_.id) WHERE c1_.category_id IN (?) AND p0_.active = 1
Parameters:
[
  1
]
11 0.40 ms
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.index_code AS index_code_2, p0_.length AS length_3, p0_.width AS width_4, p0_.depth AS depth_5, p0_.weight AS weight_6, p0_.gross_price AS gross_price_7, p0_.net_price AS net_price_8, p0_.stock_status AS stock_status_9, p0_.active AS active_10, p1_.id AS id_11, p1_.name AS name_12, p1_.active AS active_13, p2_.id AS id_14, p2_.photo AS photo_15, p2_.position AS position_16, p0_.producer_id AS producer_id_17, p2_.product_id AS product_id_18 FROM products p0_ INNER JOIN category_products c3_ ON (c3_.product_id = p0_.id) LEFT JOIN producers p1_ ON p0_.producer_id = p1_.id LEFT JOIN products_photos p2_ ON p0_.id = p2_.product_id WHERE c3_.category_id IN (?) AND p0_.active = 1 ORDER BY p0_.id DESC, p0_.name ASC LIMIT 12
Parameters:
[
  1
]
12 0.29 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.parent_id = ? AND t0.active = ? ORDER BY t0.name ASC
Parameters:
[
  1
  1
]

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\Entity\Category 1

Entities Mapping