Query Metrics

29 Database Queries
18 Different statements
187.12 ms Query time
2 Invalid entities
21 Managed entities

Grouped Statements

Show all queries

Time Count Info
89.70 ms
(47.94%)
1
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.slug AS slug_2 FROM locations l0_ WHERE l0_._left < ? AND l0_._right > ? AND l0_.root = ?
Parameters:
[
  7669
  7670
  1
]
18.67 ms
(9.98%)
3
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.title_singular AS title_singular_2, p0_.title_plural AS title_plural_3, p0_.slug AS slug_4, p0_.private AS private_5, p0_.level AS level_6, p0_._left AS _left_7, p0_._right AS _right_8, p0_.root AS root_9, p0_.compound_related AS compound_related_10, p0_.reference_id AS reference_id_11, p0_.exchangeable AS exchangeable_12, p0_.is_evaluable AS is_evaluable_13, p0_.searchable AS searchable_14, p0_.deleted_at AS deleted_at_15, p0_.custom_order AS custom_order_16, p0_.amenities AS amenities_17, p0_.parent_id AS parent_id_18 FROM property_types p0_ WHERE (p0_.parent_id IS NULL) AND (p0_.deleted_at IS NULL) ORDER BY p0_._left ASC
Parameters:
[]
13.93 ms
(7.45%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.alias AS alias_3, t0.description AS description_4, t0.slug AS slug_5, t0.lat AS lat_6, t0.lon AS lon_7, t0.zoom AS zoom_8, t0.coordinates AS coordinates_9, t0.searchable AS searchable_10, t0.home_filter AS home_filter_11, t0.statistics_filter AS statistics_filter_12, t0.neighborhood_filter AS neighborhood_filter_13, t0.compound_filter AS compound_filter_14, t0.estimate AS estimate_15, t0.disabled AS disabled_16, t0.level AS level_17, t0._left AS _left_18, t0._right AS _right_19, t0.root AS root_20, t0.show_primary_only AS show_primary_only_21, t0.leads_counter AS leads_counter_22, t0.listings_counter AS listings_counter_23, t0.synonyms AS synonyms_24, t0.full_path AS full_path_25, t0.reference_id AS reference_id_26, t0.type AS type_27, t0.eligible_for_mortgage AS eligible_for_mortgage_28, t0.is_compound_location AS is_compound_location_29, t0.parent_id AS parent_id_30, t0.location_compound_id AS location_compound_id_31, t0.rating_id AS rating_id_32, t0.listing_id AS listing_id_33 FROM locations t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "cairo/6th-of-october/el-ahyaa/neighborhood-8th/street-4"
]
12.81 ms
(6.85%)
4
SELECT t0.id AS id_1, t0.title AS title_2, t0.alias AS alias_3, t0.description AS description_4, t0.slug AS slug_5, t0.lat AS lat_6, t0.lon AS lon_7, t0.zoom AS zoom_8, t0.coordinates AS coordinates_9, t0.searchable AS searchable_10, t0.home_filter AS home_filter_11, t0.statistics_filter AS statistics_filter_12, t0.neighborhood_filter AS neighborhood_filter_13, t0.compound_filter AS compound_filter_14, t0.estimate AS estimate_15, t0.disabled AS disabled_16, t0.level AS level_17, t0._left AS _left_18, t0._right AS _right_19, t0.root AS root_20, t0.show_primary_only AS show_primary_only_21, t0.leads_counter AS leads_counter_22, t0.listings_counter AS listings_counter_23, t0.synonyms AS synonyms_24, t0.full_path AS full_path_25, t0.reference_id AS reference_id_26, t0.type AS type_27, t0.eligible_for_mortgage AS eligible_for_mortgage_28, t0.is_compound_location AS is_compound_location_29, t0.parent_id AS parent_id_30, t0.location_compound_id AS location_compound_id_31, t0.rating_id AS rating_id_32, t0.listing_id AS listing_id_33 FROM locations t0 WHERE t0.id = ?
Parameters:
[
  826
]
11.09 ms
(5.93%)
6
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.main AS main_6, t0.searchable AS searchable_7, t0.slug AS slug_8, t0.reference_id AS reference_id_9, t0.meta_search_description AS meta_search_description_10 FROM sections t0 WHERE t0.id = ?
Parameters:
[
  1
]
9.74 ms
(5.20%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.main AS main_6, t0.searchable AS searchable_7, t0.slug AS slug_8, t0.reference_id AS reference_id_9, t0.meta_search_description AS meta_search_description_10 FROM sections t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "for-sale"
]
3.67 ms
(1.96%)
1
SELECT p0_.title AS title_0 FROM property_types p0_ WHERE (p0_.parent_id = 5 AND p0_.private = ?) AND (p0_.deleted_at IS NULL)
Parameters:
[
  0
]
3.65 ms
(1.95%)
2
SELECT t0.id AS id_1, t0.locale AS locale_2, t0.field AS field_3, t0.content AS content_4, t0.section_id AS section_id_5 FROM sections_translations t0 WHERE t0.section_id = ?
Parameters:
[
  1
]
3.15 ms
(1.69%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.paragraph AS paragraph_2, c0_.place AS place_3, c0_.is_published AS is_published_4, c0_.by_owner_only AS by_owner_only_5, c0_.photo AS photo_6 FROM custom_paragraphs c0_ INNER JOIN paragraphs_property_types p2_ ON c0_.id = p2_.paragraph_id INNER JOIN property_types p1_ ON p1_.id = p2_.property_type_id AND (p1_.deleted_at IS NULL) INNER JOIN paragraphs_sections p4_ ON c0_.id = p4_.paragraph_id INNER JOIN sections s3_ ON s3_.id = p4_.section_id INNER JOIN paragraphs_locations p6_ ON c0_.id = p6_.paragraph_id INNER JOIN locations l5_ ON l5_.id = p6_.location_id WHERE p1_.id IN (?) AND s3_.id = ? AND c0_.place = ? AND l5_.id IN (?) AND (SELECT COUNT(*) FROM paragraphs_compound_locations p7_ WHERE p7_.paragraph_id = c0_.id) = 0 AND c0_.by_owner_only = ? LIMIT 1
Parameters:
[
  5
  2
  1
  23496
  false
]
2.66 ms
(1.42%)
1
SELECT l0_.id AS id_0, l0_.title AS title_1, l0_.alias AS alias_2, l0_.description AS description_3, l0_.slug AS slug_4, l0_.lat AS lat_5, l0_.lon AS lon_6, l0_.zoom AS zoom_7, l0_.coordinates AS coordinates_8, l0_.searchable AS searchable_9, l0_.home_filter AS home_filter_10, l0_.statistics_filter AS statistics_filter_11, l0_.neighborhood_filter AS neighborhood_filter_12, l0_.compound_filter AS compound_filter_13, l0_.estimate AS estimate_14, l0_.disabled AS disabled_15, l0_.level AS level_16, l0_._left AS _left_17, l0_._right AS _right_18, l0_.root AS root_19, l0_.show_primary_only AS show_primary_only_20, l0_.leads_counter AS leads_counter_21, l0_.listings_counter AS listings_counter_22, l0_.synonyms AS synonyms_23, l0_.full_path AS full_path_24, l0_.reference_id AS reference_id_25, l0_.type AS type_26, l0_.eligible_for_mortgage AS eligible_for_mortgage_27, l0_.is_compound_location AS is_compound_location_28, l0_.parent_id AS parent_id_29, l0_.location_compound_id AS location_compound_id_30, l0_.rating_id AS rating_id_31, l0_.listing_id AS listing_id_32 FROM locations l0_ WHERE l0_.slug IN (?)
Parameters:
[
  "cairo/6th-of-october/el-ahyaa/neighborhood-8th/street-4"
]
2.59 ms
(1.38%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.alias AS alias_3, t0.description AS description_4, t0.slug AS slug_5, t0.lat AS lat_6, t0.lon AS lon_7, t0.zoom AS zoom_8, t0.coordinates AS coordinates_9, t0.searchable AS searchable_10, t0.home_filter AS home_filter_11, t0.statistics_filter AS statistics_filter_12, t0.neighborhood_filter AS neighborhood_filter_13, t0.compound_filter AS compound_filter_14, t0.estimate AS estimate_15, t0.disabled AS disabled_16, t0.level AS level_17, t0._left AS _left_18, t0._right AS _right_19, t0.root AS root_20, t0.show_primary_only AS show_primary_only_21, t0.leads_counter AS leads_counter_22, t0.listings_counter AS listings_counter_23, t0.synonyms AS synonyms_24, t0.full_path AS full_path_25, t0.reference_id AS reference_id_26, t0.type AS type_27, t0.eligible_for_mortgage AS eligible_for_mortgage_28, t0.is_compound_location AS is_compound_location_29, t0.parent_id AS parent_id_30, t0.location_compound_id AS location_compound_id_31, t0.rating_id AS rating_id_32, t0.listing_id AS listing_id_33 FROM locations t0 WHERE (t0.disabled = ? AND t0.parent_id = ?) ORDER BY t0._left ASC
Parameters:
[
  0
  23496
]
2.57 ms
(1.37%)
1
SELECT t0.id AS id_1, t0.growth AS growth_2, t0.avg_price AS avg_price_3, t0.demand_heat AS demand_heat_4, t0.ppm_min AS ppm_min_5, t0.ppm_max AS ppm_max_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.property_type_id AS property_type_id_9, t0.location_id AS location_id_10 FROM locations_statistics t0 WHERE t0.section_id = ? AND t0.property_type_id = ? AND t0.location_id = ? ORDER BY t0.updated_at DESC LIMIT 1
Parameters:
[
  2
  5
  23496
]
2.54 ms
(1.36%)
1
SELECT COUNT(*) FROM listings t0 WHERE t0.section_id = ? AND t0.property_type_id = ? AND t0.location_id = ? AND t0.status = ? AND t0.featured IN (?, ?, ?, ?, ?, ?) AND ((t0.deleted_at IS NULL))
Parameters:
[
  2
  5
  23496
  2
  2
  8
  7
  5
  6
  4
]
2.45 ms
(1.31%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.title_singular AS title_singular_3, t0.title_plural AS title_plural_4, t0.slug AS slug_5, t0.private AS private_6, t0.level AS level_7, t0._left AS _left_8, t0._right AS _right_9, t0.root AS root_10, t0.compound_related AS compound_related_11, t0.reference_id AS reference_id_12, t0.exchangeable AS exchangeable_13, t0.is_evaluable AS is_evaluable_14, t0.searchable AS searchable_15, t0.deleted_at AS deleted_at_16, t0.custom_order AS custom_order_17, t0.amenities AS amenities_18, t0.parent_id AS parent_id_19 FROM property_types t0 WHERE t0.slug = ? AND ((t0.deleted_at IS NULL)) LIMIT 1
Parameters:
[
  "building"
]
2.22 ms
(1.19%)
1
SELECT s0_.rooms AS rooms_0, s0_.id AS id_1, s0_.market_property_type AS market_property_type_2, s0_.finish_type AS finish_type_3, s0_.listing_payment_method AS listing_payment_method_4, s0_.eligible_for_mortgage AS eligible_for_mortgage_5 FROM search_result_combination_filters s0_ WHERE s0_.section_id = ? AND s0_.property_type_id = ? AND s0_.location_id = ? AND s0_.search_result_count > ?
Parameters:
[
  2
  5
  23496
  0
]
2.16 ms
(1.15%)
1
SELECT u0_.full_name AS full_name_0 FROM top_customers t1_ INNER JOIN users u0_ ON t1_.user_id = u0_.id WHERE t1_.location_id = 23496 AND t1_.section_id = 2 AND t1_.property_type_id = 2 AND t1_.parent_id IS NULL AND t1_.is_company = ? AND t1_.live_listings_count <> ? AND t1_.is_valid = ? GROUP BY t1_.user_id ORDER BY t1_.live_listings_count DESC LIMIT 5
Parameters:
[
  true
  0
  true
]
1.85 ms
(0.99%)
1
SELECT s0_.id AS id_0, s0_.title AS title_1, s0_.description AS description_2, s0_.meta_title AS meta_title_3, s0_.meta_description AS meta_description_4, s0_.main AS main_5, s0_.searchable AS searchable_6, s0_.slug AS slug_7, s0_.reference_id AS reference_id_8, s0_.meta_search_description AS meta_search_description_9 FROM sections s0_ WHERE s0_.searchable = 1
Parameters:
[]
1.66 ms
(0.89%)
1
SELECT l0_.title AS title_0 FROM locations l0_ WHERE l0_.parent_id = 23496 AND l0_.disabled = ? LIMIT 15
Parameters:
[
  0
]

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
Aqarmap\Bundle\ListingBundle\Entity\SectionTranslation 8
Aqarmap\Bundle\ListingBundle\Entity\Location 5
Aqarmap\Bundle\ListingBundle\Entity\LocationRating 3
Aqarmap\Bundle\ListingBundle\Entity\Section 2
Aqarmap\Bundle\ListingBundle\Entity\PropertyType 2
Aqarmap\Bundle\NeighborhoodBundle\Entity\LocationCompound 1

Entities Mapping

Class Mapping errors
Aqarmap\Bundle\ListingBundle\Entity\Location
  • The mappings Aqarmap\Bundle\ListingBundle\Entity\Location#childrenSortedById and Aqarmap\Bundle\ListingBundle\Entity\Location#parent are inconsistent with each other.
Aqarmap\Bundle\FeatureToggleBundle\Entity\FeatureToggle No errors.
Aqarmap\Bundle\ListingBundle\Entity\PropertyType No errors.
Aqarmap\Bundle\ListingBundle\Entity\Rule No errors.
Aqarmap\Bundle\ListingBundle\Entity\Listing
  • The field Aqarmap\Bundle\ListingBundle\Entity\Listing#compoundAveragePrices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Aqarmap\Bundle\ListingBundle\Entity\CompoundAveragePrice#parentCompound does not contain the required 'inversedBy="compoundAveragePrices"' attribute.
Aqarmap\Bundle\NeighborhoodBundle\Entity\LocationStatistics No errors.
Aqarmap\Bundle\ListingBundle\Entity\TopCustomer No errors.
Aqarmap\Bundle\MainBundle\Entity\Setting No errors.
Aqarmap\Bundle\ListingBundle\Entity\CompoundLocation No errors.
Aqarmap\Bundle\AnnouncementBundle\Entity\Announcement No errors.
Aqarmap\Bundle\ListingBundle\Entity\Section No errors.
Aqarmap\Bundle\SearchBundle\Entity\SearchResultCombinations No errors.
Aqarmap\Bundle\NeighborhoodBundle\Entity\LocationCompound No errors.
Aqarmap\Bundle\ListingBundle\Entity\LocationRating No errors.
Aqarmap\Bundle\ListingBundle\Entity\LocationTranslation No errors.
Aqarmap\Bundle\CRMBundle\Entity\Company No errors.
Aqarmap\Bundle\ListingBundle\Entity\LocationSupplyDemand No errors.
Aqarmap\Bundle\NotifierBundle\Entity\Notifier No errors.
Aqarmap\Bundle\UserBundle\Entity\UserInterest No errors.
Aqarmap\Bundle\ListingBundle\Entity\LocationPhoto No errors.
Aqarmap\Bundle\DiscussionBundle\Entity\Discussion No errors.
Aqarmap\Bundle\ExchangeBundle\Entity\ExchangeRequest No errors.
Aqarmap\Bundle\ListingBundle\Entity\SearchTerm No errors.
App\Entity\Location\LocationTier No errors.
Aqarmap\Bundle\ListingBundle\Entity\SectionTranslation No errors.
Aqarmap\Bundle\ListingBundle\Entity\PriceFilter No errors.
Aqarmap\Bundle\ListingBundle\Entity\PropertyTypeTranslation No errors.
Aqarmap\Bundle\NeighborhoodBundle\Entity\LocationCompoundSize No errors.
Aqarmap\Bundle\ListingBundle\Entity\CustomField No errors.
Aqarmap\Bundle\ListingBundle\Entity\CompoundAveragePrice No errors.
Aqarmap\Bundle\SearchBundle\Entity\SearchResultCombinationFilter No errors.
Aqarmap\Bundle\MainBundle\Entity\CustomParagraph No errors.