Query Metrics
3
Database Queries
3
Different statements
10.09 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 3.14 ms |
SELECT p.id as id, p.machine_number as machine_number, CONCAT_WS(' ', p.manufacturer, p.manufacture_type) as name, p.description, (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 FROM product p WHERE p.lang_code = 'en' AND p.is_archived = 0 AND p.highlighted_at IS NOT NULL ORDER BY p.highlighted_at DESC, p.id DESC LIMIT 3
Parameters:
[] |
| 2 | 1.89 ms |
SELECT c.slug as slug, c.name, COUNT(c.id) as machineCount, c.is_accessory as isAccessoryOnly 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 = 0 AND c.is_top_category = 1 GROUP BY c.id ORDER BY c.name;
Parameters:
[] |
| 3 | 5.06 ms |
SELECT c.slug as slug, c.name, COUNT(c.id) as machineCount, c.is_accessory as isAccessoryOnly 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 = 0 AND c.is_top_category = 0 GROUP BY c.id ORDER BY c.name;
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. |
| App\Entity\Category | No errors. |