GET https://shop.devlaboratory.es/search

Query Metrics

25 Database Queries
4 Different statements
104.71 ms Query time
0 Invalid entities
67 Managed entities

Queries

Group similar statements

# Time Info
1 9.21 ms
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ WHERE p0_.active = ? ORDER BY p0_.views DESC, p0_.position ASC LIMIT 20
Parameters:
[
  1
]
2 0.59 ms
SELECT s0_.id AS id_0, s0_.query_term AS query_term_1, s0_.count AS count_2, s0_.last_searched_at AS last_searched_at_3 FROM search_query s0_ ORDER BY s0_.count DESC LIMIT 5
Parameters:
[]
3 30.03 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
  1
]
4 28.98 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
  1
]
5 0.66 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  435
]
6 0.71 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  6496
]
7 0.63 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  6661
]
8 0.41 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  9478
]
9 0.65 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  7188
]
10 0.68 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  1
]
11 0.40 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  7682
]
12 0.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  8196
]
13 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  424
]
14 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  423
]
15 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  36
]
16 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  431
]
17 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  27
]
18 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  32
]
19 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  44
]
20 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  425
]
21 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  23
]
22 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  42
]
23 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  54
]
24 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  427
]
25 29.35 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
  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 33
App\Entity\Product 20
App\Entity\Brand 9
App\Entity\SearchQuery 5

Entities Mapping

Class Mapping errors
App\Entity\Product No errors.
App\Entity\Brand No errors.
App\Entity\Category No errors.
App\Entity\SearchQuery No errors.