Query Metrics

41 Database Queries
13 Different statements
78.99 ms Query time
0 Invalid entities
22 Managed entities

Show all queries

Time Count Info
15.86 ms
(20.08%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM type t0 WHERE t0.slug = ? LIMIT 1
Parameters:
0 of 0
[ "448-q5-e-tron" ]
12.26 ms
(15.53%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM manufacturer t0 WHERE t0.slug = ? LIMIT 1
Parameters:
0 of 0
[ "4-matchbox" ]
11.52 ms
(14.58%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters:
0 of 0
[ "1-ohne-angabe" ]
10.74 ms
(13.60%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters:
0 of 0
[ "35-kombi" ]
9.27 ms
(11.74%)
1
SELECT v0_.construction_year AS construction_year_0 FROM vehicle v0_ LEFT JOIN type t1_ ON (t1_.id = v0_.type_id) LEFT JOIN scale s2_ ON (s2_.id = v0_.scale_id) LEFT JOIN design_type d3_ ON (d3_.id = v0_.design_type_id) LEFT JOIN manufacturer m4_ ON (m4_.id = v0_.manufacturer_id) WHERE v0_.construction_year IS NOT NULL AND v0_.construction_year <> 0 AND v0_.status = ? AND v0_.approved = ? AND v0_.visible = ? AND t1_.slug = ? AND s2_.slug = ? AND d3_.slug = ? AND m4_.slug = ? GROUP BY v0_.construction_year ORDER BY v0_.construction_year ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "1-ohne-angabe" "35-kombi" "4-matchbox" ]
3.88 ms
(4.91%)
1
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2 FROM manufacturer m0_ LEFT JOIN vehicle v1_ ON (v1_.manufacturer_id = m0_.id) LEFT JOIN type t2_ ON (t2_.id = v1_.type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) LEFT JOIN design_type d4_ ON (d4_.id = v1_.design_type_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND t2_.slug = ? AND s3_.slug = ? AND v1_.construction_year = ? AND d4_.slug = ? ORDER BY m0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "1-ohne-angabe" "2024" "35-kombi" ]
2.50 ms
(3.17%)
1
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.slug AS slug_2 FROM design_type d0_ LEFT JOIN vehicle v1_ ON (v1_.design_type_id = d0_.id) LEFT JOIN type t2_ ON (t2_.id = v1_.type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) LEFT JOIN manufacturer m4_ ON (m4_.id = v1_.manufacturer_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND t2_.slug = ? AND s3_.slug = ? AND v1_.construction_year = ? AND m4_.slug = ? ORDER BY d0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "1-ohne-angabe" "2024" "4-matchbox" ]
2.29 ms
(2.90%)
1
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.slug AS slug_2 FROM type t0_ LEFT JOIN vehicle v1_ ON (v1_.type_id = t0_.id) LEFT JOIN scale s2_ ON (s2_.id = v1_.scale_id) LEFT JOIN design_type d3_ ON (d3_.id = v1_.design_type_id) LEFT JOIN manufacturer m4_ ON (m4_.id = v1_.manufacturer_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND s2_.slug = ? AND v1_.construction_year = ? AND d3_.slug = ? AND m4_.slug = ? ORDER BY t0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "1-ohne-angabe" "2024" "35-kombi" "4-matchbox" ]
2.27 ms
(2.88%)
1
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2 FROM brand b0_ LEFT JOIN vehicle v1_ ON (v1_.brand_id = b0_.id) LEFT JOIN type t2_ ON (t2_.id = v1_.type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) LEFT JOIN design_type d4_ ON (d4_.id = v1_.design_type_id) LEFT JOIN manufacturer m5_ ON (m5_.id = v1_.manufacturer_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND t2_.slug = ? AND s3_.slug = ? AND v1_.construction_year = ? AND d4_.slug = ? AND m5_.slug = ? ORDER BY b0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "1-ohne-angabe" "2024" "35-kombi" "4-matchbox" ]
2.13 ms
(2.69%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM series s0_ LEFT JOIN vehicle v1_ ON (v1_.series_id = s0_.id) LEFT JOIN type t2_ ON (t2_.id = v1_.type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) LEFT JOIN design_type d4_ ON (d4_.id = v1_.design_type_id) LEFT JOIN manufacturer m5_ ON (m5_.id = v1_.manufacturer_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND t2_.slug = ? AND s3_.slug = ? AND v1_.construction_year = ? AND d4_.slug = ? AND m5_.slug = ? ORDER BY s0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "1-ohne-angabe" "2024" "35-kombi" "4-matchbox" ]
2.10 ms
(2.66%)
1
SELECT COUNT(v0_.id) AS sclr_0 FROM vehicle v0_ LEFT JOIN type t1_ ON v0_.type_id = t1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN design_type d3_ ON v0_.design_type_id = d3_.id LEFT JOIN manufacturer m4_ ON v0_.manufacturer_id = m4_.id WHERE t1_.slug = ? AND s2_.slug = ? AND v0_.construction_year = ? AND d3_.slug = ? AND m4_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t1_.name ASC
Parameters:
0 of 0
[ "448-q5-e-tron" "1-ohne-angabe" "2024" "35-kombi" "4-matchbox" 1 "collection" 1 ]
2.09 ms
(2.65%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM scale s0_ LEFT JOIN vehicle v1_ ON (v1_.scale_id = s0_.id) LEFT JOIN type t2_ ON (t2_.id = v1_.type_id) LEFT JOIN design_type d3_ ON (d3_.id = v1_.design_type_id) LEFT JOIN manufacturer m4_ ON (m4_.id = v1_.manufacturer_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND t2_.slug = ? AND v1_.construction_year = ? AND d3_.slug = ? AND m4_.slug = ? ORDER BY s0_.name ASC
Parameters:
0 of 0
[ "collection" 1 1 "448-q5-e-tron" "2024" "35-kombi" "4-matchbox" ]
2.07 ms
(2.62%)
1
SELECT v0_.id AS id_0, v0_.construction_year AS construction_year_1, v0_.labeling AS labeling_2, v0_.article_number AS article_number_3, v0_.purchased_at AS purchased_at_4, v0_.storage_location AS storage_location_5, v0_.condition_rating AS condition_rating_6, v0_.approved AS approved_7, v0_.visible AS visible_8, v0_.status AS status_9, v0_.description AS description_10, v0_.brand_id AS brand_id_11, v0_.design_type_id AS design_type_id_12, v0_.bottom_embossing_id AS bottom_embossing_id_13, v0_.type_id AS type_id_14, v0_.tire_type_id AS tire_type_id_15, v0_.scale_id AS scale_id_16, v0_.series_id AS series_id_17, v0_.manufacturer_id AS manufacturer_id_18, v0_.category_id AS category_id_19 FROM vehicle v0_ LEFT JOIN type t1_ ON v0_.type_id = t1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN design_type d3_ ON v0_.design_type_id = d3_.id LEFT JOIN manufacturer m4_ ON v0_.manufacturer_id = m4_.id WHERE t1_.slug = ? AND s2_.slug = ? AND v0_.construction_year = ? AND d3_.slug = ? AND m4_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t1_.name ASC LIMIT 20
Parameters:
0 of 0
[ "448-q5-e-tron" "1-ohne-angabe" "2024" "35-kombi" "4-matchbox" 1 "collection" 1 ]