Query Metrics

5 Database Queries
5 Different statements
18.93 ms Query time
0 Invalid entities
10 Managed entities

Show all queries

Time Count Info
9.80 ms
(51.74%)
1
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" ]
3.21 ms
(16.96%)
1
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
[ "497-beetle-custom-dragster-1972" ]
2.70 ms
(14.28%)
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 manufacturer m2_ ON v0_.manufacturer_id = m2_.id LEFT JOIN brand b3_ ON v0_.brand_id = b3_.id WHERE v0_.construction_year = ? AND t1_.slug = ? AND m2_.slug = ? AND b3_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t1_.name ASC LIMIT 20
Parameters:
0 of 0
[ "2022" "497-beetle-custom-dragster-1972" "4-matchbox" "23-vw" 1 "collection" 1 ]
2.06 ms
(10.88%)
1
SELECT COUNT(v0_.id) AS sclr_0 FROM vehicle v0_ LEFT JOIN type t1_ ON v0_.type_id = t1_.id LEFT JOIN manufacturer m2_ ON v0_.manufacturer_id = m2_.id LEFT JOIN brand b3_ ON v0_.brand_id = b3_.id WHERE v0_.construction_year = ? AND t1_.slug = ? AND m2_.slug = ? AND b3_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t1_.name ASC
Parameters:
0 of 0
[ "2022" "497-beetle-custom-dragster-1972" "4-matchbox" "23-vw" 1 "collection" 1 ]
1.16 ms
(6.14%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM brand t0 WHERE t0.slug = ? LIMIT 1
Parameters:
0 of 0
[ "23-vw" ]