GET https://test.123loger.com/location/

Query Metrics

12 Database Queries
8 Different statements
12.91 ms Query time
1 Invalid entities
19 Managed entities

Queries

Group similar statements

# Time Info
1 2.68 ms
SELECT MAX(p0_.rent) AS sclr_0 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2
Parameters:
[]
2 0.59 ms
SELECT MIN(p0_.rent) AS sclr_0 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2
Parameters:
[]
3 1.38 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_.id AS id_0, p0_.uid AS uid_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.status AS status_4, p0_.state AS state_5, p0_.type AS type_6, p0_.area AS area_7, p0_.rooms AS rooms_8, p0_.floor AS floor_9, p0_.elevator AS elevator_10, p0_.furnished AS furnished_11, p0_.heating AS heating_12, p0_.equipments AS equipments_13, p0_.benefits AS benefits_14, p0_.rent AS rent_15, p0_.charges AS charges_16, p0_.services AS services_17, p0_.availability_date AS availability_date_18, p0_.description AS description_19, p0_.title AS title_20, p0_.active AS active_21, p0_.score AS score_22, p0_.extrafields AS extrafields_23 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2 ORDER BY p0_.active DESC, p0_.score DESC, p0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[]
4 3.40 ms
SELECT l0_.id AS id_0, l0_.zipcode AS zipcode_1, l0_.locality AS locality_2, l0_.latitude AS latitude_3, l0_.longitude AS longitude_4, l0_.osm AS osm_5, l0_.tier AS tier_6, l0_.city AS city_7, l0_.slug AS slug_8, l0_.search AS search_9, l0_.area AS area_10, l0_.state AS state_11, l0_.illustration AS illustration_12, l0_.priority AS priority_13 FROM locality l0_ WHERE l0_.priority IS NOT NULL ORDER BY l0_.priority DESC LIMIT 12
Parameters:
[]
5 1.42 ms
SELECT DISTINCT id_0, MIN(sclr_24) AS dctrn_minrownum FROM (SELECT p0_.id AS id_0, p0_.uid AS uid_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.status AS status_4, p0_.state AS state_5, p0_.type AS type_6, p0_.area AS area_7, p0_.rooms AS rooms_8, p0_.floor AS floor_9, p0_.elevator AS elevator_10, p0_.furnished AS furnished_11, p0_.heating AS heating_12, p0_.equipments AS equipments_13, p0_.benefits AS benefits_14, p0_.rent AS rent_15, p0_.charges AS charges_16, p0_.services AS services_17, p0_.availability_date AS availability_date_18, p0_.description AS description_19, p0_.title AS title_20, p0_.active AS active_21, p0_.score AS score_22, p0_.extrafields AS extrafields_23, ROW_NUMBER() OVER(ORDER BY p0_.active DESC, p0_.score DESC, p0_.created_at DESC) AS sclr_24 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 20
Parameters:
[]
6 0.79 ms
SELECT p0_.id AS id_0, p0_.uid AS uid_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.status AS status_4, p0_.state AS state_5, p0_.type AS type_6, p0_.area AS area_7, p0_.rooms AS rooms_8, p0_.floor AS floor_9, p0_.elevator AS elevator_10, p0_.furnished AS furnished_11, p0_.heating AS heating_12, p0_.equipments AS equipments_13, p0_.benefits AS benefits_14, p0_.rent AS rent_15, p0_.charges AS charges_16, p0_.services AS services_17, p0_.availability_date AS availability_date_18, p0_.description AS description_19, p0_.title AS title_20, p0_.active AS active_21, p0_.score AS score_22, p0_.extrafields AS extrafields_23, p0_.owner_id AS owner_id_24, p0_.address_id AS address_id_25 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2 AND p0_.id IN (?, ?, ?) ORDER BY p0_.active DESC, p0_.score DESC, p0_.created_at DESC
Parameters:
[
  1
  3
  4
]
7 0.45 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.label AS label_3, t0.address AS address_4, t0.housenumber AS housenumber_5, t0.street AS street_6, t0.city AS city_7, t0.zipcode AS zipcode_8, t0.area AS area_9, t0.context AS context_10, t0.longitude AS longitude_11, t0.latitude AS latitude_12, t0.api_id AS api_id_13, t0.slug AS slug_14, t0.state AS state_15, t0.city_slug AS city_slug_16, t0.area_slug AS area_slug_17, t0.place AS place_18, t0.district AS district_19, t0.tier AS tier_20, t0.hood AS hood_21 FROM address t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.75 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.name AS name_3, t0.position AS position_4, t0.property_id AS property_id_5 FROM property_image t0 WHERE t0.property_id = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
9 0.42 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.label AS label_3, t0.address AS address_4, t0.housenumber AS housenumber_5, t0.street AS street_6, t0.city AS city_7, t0.zipcode AS zipcode_8, t0.area AS area_9, t0.context AS context_10, t0.longitude AS longitude_11, t0.latitude AS latitude_12, t0.api_id AS api_id_13, t0.slug AS slug_14, t0.state AS state_15, t0.city_slug AS city_slug_16, t0.area_slug AS area_slug_17, t0.place AS place_18, t0.district AS district_19, t0.tier AS tier_20, t0.hood AS hood_21 FROM address t0 WHERE t0.id = ?
Parameters:
[
  2
]
10 0.33 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.name AS name_3, t0.position AS position_4, t0.property_id AS property_id_5 FROM property_image t0 WHERE t0.property_id = ? ORDER BY t0.position ASC
Parameters:
[
  3
]
11 0.41 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.label AS label_3, t0.address AS address_4, t0.housenumber AS housenumber_5, t0.street AS street_6, t0.city AS city_7, t0.zipcode AS zipcode_8, t0.area AS area_9, t0.context AS context_10, t0.longitude AS longitude_11, t0.latitude AS latitude_12, t0.api_id AS api_id_13, t0.slug AS slug_14, t0.state AS state_15, t0.city_slug AS city_slug_16, t0.area_slug AS area_slug_17, t0.place AS place_18, t0.district AS district_19, t0.tier AS tier_20, t0.hood AS hood_21 FROM address t0 WHERE t0.id = ?
Parameters:
[
  3
]
12 0.32 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.name AS name_3, t0.position AS position_4, t0.property_id AS property_id_5 FROM property_image t0 WHERE t0.property_id = ? ORDER BY t0.position ASC
Parameters:
[
  4
]

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\Locality 12
App\Entity\Property 3
App\Entity\Address 3
App\Entity\User 1

Entities Mapping

Class Mapping errors
App\Entity\Property No errors.
App\Entity\Address No errors.
App\Entity\Locality
  • The field App\Entity\Locality#descriptions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\LocalityDescription#locality does not contain the required 'inversedBy="descriptions"' attribute.
  • The field App\Entity\Locality#prices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\LocalityPrice#locality does not contain the required 'inversedBy="prices"' attribute.
App\Entity\LocalityDescription No errors.
App\Entity\LocalityPrice No errors.
App\Entity\User No errors.
App\Entity\PropertyImage No errors.
App\Entity\Application No errors.
App\Entity\Counter No errors.