Query Metrics
2
Database Queries
2
Different statements
25.23 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 22.47 ms |
SELECT p.id as id, REPLACE(REPLACE(TRIM(CONCAT_WS(' ', p.manufacturer, p.manufacture_type)), '''', '\u0027'), '"', '\u0022') as name, p.machine_number as machine_number, (SELECT CONCAT_WS(' / ', c.name, sc.name) FROM sub_category sc INNER JOIN category c ON c.id = sc.category_id WHERE sc.id = p.sub_category_id) as categoryName, (SELECT c.id FROM sub_category sc INNER JOIN category c ON c.id = sc.category_id WHERE sc.id = p.sub_category_id) as categoryId, p.sub_category_id as subCategoryId, IFNULL(p.manufacture_year, 'unknown') as manufacture_year, (SELECT w.location FROM warehouse w WHERE w.id = p.warehouse_id) as warehouse_name, IFNULL(p.country_of_origin, 'unknown') as country_of_origin, p.delivery_time as delivery_time, IF(p.price = 0, 'Price on Request', CONCAT_WS(' ', p.price, p.currency)) as price, (SELECT REPLACE(m.url, "https://emuk.de/", "") FROM media m WHERE m.product_id = p.id AND m.type = "PICTURE" LIMIT 1) as thumbnail_url, (SELECT m.description FROM media m WHERE m.product_id = p.id AND m.type = "PICTURE" LIMIT 1) as thumbnail_description, p.is_archived as is_archived, p.overview_video_link as videoOnFire, p.youtube_codes as youtubeCodes FROM product p INNER JOIN sub_category sc ON sc.id = p.sub_category_id INNER JOIN category c ON c.id = sc.category_id WHERE p.lang_code = 'en' AND p.is_archived = 1 ORDER BY p.id DESC;
Parameters:
[] |
| 2 | 2.76 ms |
SELECT c.name as categoryName, c.id as categoryId, c.slug as categorySlug, sc.name as subcategoryName, sc.id as subcategoryId, (SELECT COUNT(p.id) FROM product p WHERE p.sub_category_id = sc.id AND p.is_archived = 1) as productCount FROM sub_category sc INNER JOIN category c ON c.id = sc.category_id WHERE sc.lang_code = 'en' AND sc.id IN (351,351,116,339,119,119,326,319,319,116,150,319,121,119,116,150,304,119,119,118,247,150,120,183,119,119,186,118,119,119,119,119,119,268,120,118,150,119,118,116,119,110,119,135,204,105,120,119,152,152,152,152,152,152,152,139,139,118,226,224,120,163,176,172,172,143,116,119,119,150,119,167,167,105,163,164,120,120,118,118,119,204,143,197,167,167,167,167,167,167,167,167,144,192,192,192,192,191,191,191,183,177,176,176,176,176,176,176,176,176,176,176,176,176,176,176,176,176,176,175,172,171,167,167,167,167,167,167,167,164,163,162,162,159,155,155,155,155,155,155,155,155,155,153,153,153,152,152,152,152,152,152,152,152,152,150,144,144,144,144,143,143,143,143,143,143,143,143,143,135,120,120,120,119,119,119,119,119,119,119,118,118,116,116,104,104) ORDER BY categoryName, subcategoryName
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |