GET https://dev.petso.halisz.pl/hodowle/psy/cavapoo

Query Metrics

13 Database Queries
12 Different statements
69.25 ms Query time
1 Invalid entities
373 Managed entities

Queries

Group similar statements

# Time Info
1 0.82 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.active AS active_5, t0.breeding_description AS breeding_description_6, t0.title AS title_7, t0.meta_title AS meta_title_8, t0.meta_keywords AS meta_keywords_9, t0.meta_description AS meta_description_10, t0.image_id AS image_id_11 FROM type t0 WHERE t0.slug = ? AND t0.active = ? LIMIT 1
Parameters:
[
  "zwierzeta-na-sprzedaz"
  1
]
2 0.81 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.active AS active_5, t0.position AS position_6, t0.breeding_description AS breeding_description_7, t0.title AS title_8, t0.meta_title AS meta_title_9, t0.meta_keywords AS meta_keywords_10, t0.meta_description AS meta_description_11, t0.category_id AS category_id_12, t0.image_id AS image_id_13 FROM category t0 WHERE t0.slug = ? AND t0.active = ? LIMIT 1
Parameters:
[
  "psy"
  1
]
3 0.96 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.active AS active_5, t0.breeding_description AS breeding_description_6, t0.title AS title_7, t0.meta_title AS meta_title_8, t0.meta_keywords AS meta_keywords_9, t0.meta_description AS meta_description_10, t0.image_id AS image_id_11, t0.category_id AS category_id_12, t13.id AS id_14, t13.name AS name_15, t13.content AS content_16, t13.stat_size AS stat_size_17, t13.stat_exercises AS stat_exercises_18, t13.stat_training AS stat_training_19, t13.stat_hair_amount AS stat_hair_amount_20, t13.stat_haircut_frequency AS stat_haircut_frequency_21, t13.stat_kids AS stat_kids_22, t13.stat_health AS stat_health_23, t13.stat_costs AS stat_costs_24, t13.stat_intelligence AS stat_intelligence_25, t13.param_life AS param_life_26, t13.param_weight_male AS param_weight_male_27, t13.param_weight_female AS param_weight_female_28, t13.param_growth AS param_growth_29, t13.param_recognized_by_fci AS param_recognized_by_fci_30, t13.blocks AS blocks_31, t13.title AS title_32, t13.meta_title AS meta_title_33, t13.meta_keywords AS meta_keywords_34, t13.meta_description AS meta_description_35, t13.breed_id AS breed_id_36 FROM breed t0 LEFT JOIN breed_information t13 ON t13.breed_id = t0.id WHERE t0.slug = ? AND t0.active = ? LIMIT 1
Parameters:
[
  "cavapoo"
  1
]
4 30.36 ms
SELECT f0_.id AS id_0, f0_.name AS name_1, f0_.regon AS regon_2, f0_.description AS description_3, f0_.show_badge AS show_badge_4, f0_.full_name AS full_name_5, f0_.show_table AS show_table_6 FROM federation f0_ LEFT JOIN association a1_ ON f0_.id = a1_.federation_id LEFT JOIN breeding b2_ ON a1_.id = b2_.association_id GROUP BY f0_.id, f0_.name, f0_.regon, f0_.description, f0_.show_badge, f0_.full_name, f0_.show_table HAVING COUNT(a1_.id) > 0 AND COUNT(b2_.id) > 0 ORDER BY f0_.name ASC
Parameters:
[]
5 27.26 ms
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2, b0_.description AS description_3, b0_.active AS active_4, b0_.breeding_description AS breeding_description_5, b0_.title AS title_6, b0_.meta_title AS meta_title_7, b0_.meta_keywords AS meta_keywords_8, b0_.meta_description AS meta_description_9, c1_.id AS id_10, c1_.name AS name_11, c1_.slug AS slug_12, c1_.description AS description_13, c1_.active AS active_14, c1_.position AS position_15, c1_.breeding_description AS breeding_description_16, c1_.title AS title_17, c1_.meta_title AS meta_title_18, c1_.meta_keywords AS meta_keywords_19, c1_.meta_description AS meta_description_20, i2_.id AS id_21, i2_.name AS name_22, i2_.alt AS alt_23, i2_.file AS file_24, i2_.uuid AS uuid_25, i2_.type AS type_26, i2_.temp AS temp_27, i2_.path AS path_28, i2_.width AS width_29, i2_.height AS height_30, i2_.extension AS extension_31, i2_.position AS position_32, i2_.created_at AS created_at_33, i2_.updated_at AS updated_at_34, b3_.id AS id_35, b3_.name AS name_36, b3_.content AS content_37, b3_.stat_size AS stat_size_38, b3_.stat_exercises AS stat_exercises_39, b3_.stat_training AS stat_training_40, b3_.stat_hair_amount AS stat_hair_amount_41, b3_.stat_haircut_frequency AS stat_haircut_frequency_42, b3_.stat_kids AS stat_kids_43, b3_.stat_health AS stat_health_44, b3_.stat_costs AS stat_costs_45, b3_.stat_intelligence AS stat_intelligence_46, b3_.param_life AS param_life_47, b3_.param_weight_male AS param_weight_male_48, b3_.param_weight_female AS param_weight_female_49, b3_.param_growth AS param_growth_50, b3_.param_recognized_by_fci AS param_recognized_by_fci_51, b3_.blocks AS blocks_52, b3_.title AS title_53, b3_.meta_title AS meta_title_54, b3_.meta_keywords AS meta_keywords_55, b3_.meta_description AS meta_description_56, b0_.image_id AS image_id_57, b0_.category_id AS category_id_58, c1_.category_id AS category_id_59, c1_.image_id AS image_id_60, i2_.owner_id AS owner_id_61, b3_.breed_id AS breed_id_62 FROM breed b0_ LEFT JOIN category c1_ ON b0_.category_id = c1_.id LEFT JOIN image i2_ ON b0_.image_id = i2_.id LEFT JOIN breed_information b3_ ON b0_.id = b3_.breed_id WHERE c1_.active = ? AND b0_.active = ? AND c1_.slug = ?
Parameters:
[
  1
  1
  "psy"
]
6 0.84 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.active AS active_4 FROM province t0 ORDER BY t0.name ASC
Parameters:
[]
7 1.06 ms
SELECT s0_.name AS name_0, s0_.value AS value_1 FROM setting s0_
Parameters:
[]
8 1.82 ms
SELECT count(DISTINCT b0_.id) AS sclr_0 FROM breeding b0_ LEFT JOIN breeding_breed b2_ ON b0_.id = b2_.breeding_id LEFT JOIN breed b1_ ON b1_.id = b2_.breed_id LEFT JOIN breed_information b3_ ON b1_.id = b3_.breed_id LEFT JOIN category c4_ ON b1_.category_id = c4_.id LEFT JOIN `user` u5_ ON b0_.owner_id = u5_.id LEFT JOIN foundation f6_ ON u5_.id = f6_.owner_id LEFT JOIN breeding_images b8_ ON b0_.id = b8_.breeding_id LEFT JOIN image i7_ ON i7_.id = b8_.image_id LEFT JOIN association a9_ ON b0_.association_id = a9_.id LEFT JOIN federation f10_ ON a9_.federation_id = f10_.id LEFT JOIN image i11_ ON u5_.avatar_id = i11_.id LEFT JOIN province p12_ ON u5_.province_id = p12_.id LEFT JOIN offer o13_ ON u5_.id = o13_.owner_id WHERE u5_.is_blocked <> 1 AND u5_.is_verified = 1 AND u5_.active = 1 AND u5_.deleted_at IS NULL AND c4_.slug = ? AND b1_.slug = ?
Parameters:
[
  "psy"
  "cavapoo"
]
9 2.04 ms
SELECT DISTINCT b0_.id AS id_0, (CASE WHEN (SELECT COUNT(i1_.id) AS sclr_2 FROM breeding b2_ LEFT JOIN breeding_images b3_ ON b2_.id = b3_.breeding_id LEFT JOIN image i1_ ON i1_.id = b3_.image_id WHERE b2_.id = b0_.id) > 3 THEN 1 ELSE 0 END) + (CASE WHEN (SELECT COUNT(o4_.id) AS sclr_3 FROM breeding b5_ LEFT JOIN `user` u6_ ON b5_.owner_id = u6_.id LEFT JOIN offer o4_ ON u6_.id = o4_.owner_id WHERE b5_.id = b0_.id AND o4_.status = ?) > 0 THEN 2 ELSE 0 END) AS sclr_1, u7_.last_offer_added_at AS last_offer_added_at_4, b0_.id AS id_5 FROM breeding b0_ LEFT JOIN breeding_breed b9_ ON b0_.id = b9_.breeding_id LEFT JOIN breed b8_ ON b8_.id = b9_.breed_id LEFT JOIN breed_information b10_ ON b8_.id = b10_.breed_id LEFT JOIN category c11_ ON b8_.category_id = c11_.id LEFT JOIN `user` u7_ ON b0_.owner_id = u7_.id LEFT JOIN foundation f12_ ON u7_.id = f12_.owner_id LEFT JOIN breeding_images b14_ ON b0_.id = b14_.breeding_id LEFT JOIN image i13_ ON i13_.id = b14_.image_id LEFT JOIN association a15_ ON b0_.association_id = a15_.id LEFT JOIN federation f16_ ON a15_.federation_id = f16_.id LEFT JOIN image i17_ ON u7_.avatar_id = i17_.id LEFT JOIN province p18_ ON u7_.province_id = p18_.id LEFT JOIN offer o19_ ON u7_.id = o19_.owner_id WHERE u7_.is_blocked <> 1 AND u7_.is_verified = 1 AND u7_.active = 1 AND u7_.deleted_at IS NULL AND c11_.slug = ? AND b8_.slug = ? ORDER BY sclr_1 DESC, u7_.last_offer_added_at DESC, b0_.id DESC LIMIT 16
Parameters:
[
  "approved"
  "psy"
  "cavapoo"
]
10 0.89 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.alt AS alt_3, t0.file AS file_4, t0.uuid AS uuid_5, t0.type AS type_6, t0.temp AS temp_7, t0.path AS path_8, t0.width AS width_9, t0.height AS height_10, t0.extension AS extension_11, t0.position AS position_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.owner_id AS owner_id_15 FROM image t0 WHERE t0.id = ?
Parameters:
[
  2962
]
11 0.94 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.location AS location_2, a0_.advert_height AS advert_height_3, a0_.advert_width AS advert_width_4, a0_.active AS active_5, a0_.max_quantity AS max_quantity_6 FROM advert_group a0_ WHERE a0_.location = ? AND a0_.active = ?
Parameters:
[
  "listing_left_1"
  1
]
12 0.62 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.location AS location_2, a0_.advert_height AS advert_height_3, a0_.advert_width AS advert_width_4, a0_.active AS active_5, a0_.max_quantity AS max_quantity_6 FROM advert_group a0_ WHERE a0_.location = ? AND a0_.active = ?
Parameters:
[
  "listing_left_1"
  1
]
13 0.84 ms
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.url AS url_2, a0_.image AS image_3, a0_.code AS code_4, a0_.start_at AS start_at_5, a0_.end_at AS end_at_6, a0_.views AS views_7, a0_.clicks AS clicks_8, a0_.unique_views AS unique_views_9, a0_.uuid AS uuid_10, a0_.extension AS extension_11, a0_.alt AS alt_12, a0_.title AS title_13, a0_.weight AS weight_14, a0_.active AS active_15, a0_.advert_group_id AS advert_group_id_16 FROM advert a0_ WHERE a0_.advert_group_id = ? AND a0_.active = ? AND a0_.start_at < ? AND a0_.end_at > ? ORDER BY a0_.weight ASC
Parameters:
[
  3
  1
  "2025-12-06 06:39:03"
  "2025-12-06 06:39:03"
]

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\Image 129
App\Entity\Breed 127
App\Entity\BreedInformation 92
App\Entity\Province 16
App\Entity\Federation 6
App\Entity\Type 1
App\Entity\Category 1
App\Entity\AdvertGroup 1

Entities Mapping

Class Mapping errors
App\Entity\Type No errors.
App\Entity\Image No errors.
App\Entity\Category No errors.
App\Entity\Breed No errors.
App\Entity\Offer No errors.
App\Entity\Filter No errors.
App\Entity\BreedInformation No errors.
App\Entity\Federation No errors.
App\Entity\Association No errors.
App\Entity\Breeding No errors.
App\Entity\User
  • The mappings App\Entity\User#plans and App\Entity\UserPlan#owner are inconsistent with each other.
App\Entity\Province No errors.
App\Entity\City No errors.
App\Entity\Setting No errors.
App\Entity\Foundation No errors.
App\Entity\AdvertGroup No errors.
App\Entity\Advert No errors.