GET https://test.123loger.com/location/gent-9000/logement-etudiant/

Query Metrics

9 Database Queries
9 Different statements
11.99 ms Query time
1 Invalid entities
1 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.54 ms
(21.19%)
1
SELECT DISTINCT l0_.locality AS locality_0, l0_.city AS city_1, l0_.slug AS slug_2, l0_.zipcode AS zipcode_3, l0_.latitude AS latitude_4, l0_.longitude AS longitude_5 FROM locality l0_ WHERE l0_.latitude > ? AND l0_.latitude < ? AND l0_.longitude > ? AND l0_.longitude < ? AND l0_.slug <> ? AND (l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ? OR l0_.slug LIKE ?) ORDER BY l0_.zipcode ASC, l0_.city ASC
Parameters:
[
  50.981963347349
  51.125693852651
  3.6106843932716
  3.8393398067284
  "gent-9000"
  "%0%"
  "%1%"
  "%2%"
  "%3%"
  "%4%"
  "%5%"
  "%6%"
  "%7%"
  "%8%"
  "%9%"
]
2.43 ms
(20.30%)
1
SELECT t0.id AS id_1, t0.zipcode AS zipcode_2, t0.locality AS locality_3, t0.latitude AS latitude_4, t0.longitude AS longitude_5, t0.osm AS osm_6, t0.tier AS tier_7, t0.city AS city_8, t0.slug AS slug_9, t0.search AS search_10, t0.area AS area_11, t0.state AS state_12, t0.illustration AS illustration_13, t0.priority AS priority_14 FROM locality t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "gent-9000"
]
1.60 ms
(13.35%)
1
SELECT MAX(p0_.rent) AS sclr_0 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2 AND a1_.city IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND a1_.zipcode IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND (p0_.rooms IN (1, 2) OR p0_.type = 3)
Parameters:
[
  "Gent"
  "Mariakerke"
  "Drongen"
  "Wondelgem"
  "Sint-Amandsberg"
  "Oostakker"
  "Desteldonk"
  "Gentbrugge"
  "Ledeberg"
  "Afsnee"
  "Sint-Denijs-Westrem"
  "Zwijnaarde"
  "Destelbergen"
  "Lochristi"
  "Gontrode"
  "Melle"
  "Merelbeke"
  "Sint-Martens-Latem"
  "De Pinte"
  "Vinderhoute"
  "Evergem"
  "9000"
  "9030"
  "9031"
  "9032"
  "9040"
  "9041"
  "9042"
  "9050"
  "9050"
  "9051"
  "9051"
  "9052"
  "9070"
  "9080"
  "9090"
  "9090"
  "9820"
  "9830"
  "9840"
  "9921"
  "9940"
]
1.39 ms
(11.61%)
1
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 AND (p0_.rooms IN (1, 2) OR p0_.type = 3) AND a1_.city IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND a1_.slug IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.active DESC, CASE WHEN a1_.slug = ? THEN 1 ELSE 0 END DESC, CASE WHEN a1_.city LIKE ? THEN 1 ELSE 0 END DESC, p0_.score DESC, p0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[
  "Gent"
  "Mariakerke"
  "Drongen"
  "Wondelgem"
  "Sint-Amandsberg"
  "Oostakker"
  "Desteldonk"
  "Gentbrugge"
  "Ledeberg"
  "Afsnee"
  "Sint-Denijs-Westrem"
  "Zwijnaarde"
  "Destelbergen"
  "Lochristi"
  "Gontrode"
  "Melle"
  "Merelbeke"
  "Sint-Martens-Latem"
  "De Pinte"
  "Vinderhoute"
  "Evergem"
  "gent-9000"
  "mariakerke-9030"
  "drongen-9031"
  "wondelgem-9032"
  "sint-amandsberg-9040"
  "oostakker-9041"
  "desteldonk-9042"
  "gentbrugge-9050"
  "ledeberg-9050"
  "afsnee-9051"
  "sint-denijs-westrem-9051"
  "zwijnaarde-9052"
  "destelbergen-9070"
  "lochristi-9080"
  "gontrode-9090"
  "melle-9090"
  "merelbeke-9820"
  "sint-martens-latem-9830"
  "de-pinte-9840"
  "vinderhoute-9921"
  "evergem-9940"
  "gent-9000"
  "Gent%"
]
1.35 ms
(11.25%)
1
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, CASE WHEN a1_.slug = ? THEN 1 ELSE 0 END DESC, CASE WHEN a1_.city LIKE ? THEN 1 ELSE 0 END 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 AND (p0_.rooms IN (1, 2) OR p0_.type = 3) AND a1_.city IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND a1_.slug IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 20
Parameters:
[
  "gent-9000"
  "Gent%"
  "Gent"
  "Mariakerke"
  "Drongen"
  "Wondelgem"
  "Sint-Amandsberg"
  "Oostakker"
  "Desteldonk"
  "Gentbrugge"
  "Ledeberg"
  "Afsnee"
  "Sint-Denijs-Westrem"
  "Zwijnaarde"
  "Destelbergen"
  "Lochristi"
  "Gontrode"
  "Melle"
  "Merelbeke"
  "Sint-Martens-Latem"
  "De Pinte"
  "Vinderhoute"
  "Evergem"
  "gent-9000"
  "mariakerke-9030"
  "drongen-9031"
  "wondelgem-9032"
  "sint-amandsberg-9040"
  "oostakker-9041"
  "desteldonk-9042"
  "gentbrugge-9050"
  "ledeberg-9050"
  "afsnee-9051"
  "sint-denijs-westrem-9051"
  "zwijnaarde-9052"
  "destelbergen-9070"
  "lochristi-9080"
  "gontrode-9090"
  "melle-9090"
  "merelbeke-9820"
  "sint-martens-latem-9830"
  "de-pinte-9840"
  "vinderhoute-9921"
  "evergem-9940"
]
1.10 ms
(9.17%)
1
SELECT t0.id AS id_1, t0.zipcode AS zipcode_2, t0.locality AS locality_3, t0.latitude AS latitude_4, t0.longitude AS longitude_5, t0.osm AS osm_6, t0.tier AS tier_7, t0.city AS city_8, t0.slug AS slug_9, t0.search AS search_10, t0.area AS area_11, t0.state AS state_12, t0.illustration AS illustration_13, t0.priority AS priority_14 FROM locality t0 WHERE t0.city = ? AND t0.zipcode = ? LIMIT 1
Parameters:
[
  "Gent"
  "9000"
]
0.75 ms
(6.22%)
1
SELECT MIN(p0_.rent) AS sclr_0 FROM property p0_ LEFT JOIN address a1_ ON p0_.address_id = a1_.id WHERE p0_.status = 2 AND a1_.city IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND a1_.zipcode IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND (p0_.rooms IN (1, 2) OR p0_.type = 3)
Parameters:
[
  "Gent"
  "Mariakerke"
  "Drongen"
  "Wondelgem"
  "Sint-Amandsberg"
  "Oostakker"
  "Desteldonk"
  "Gentbrugge"
  "Ledeberg"
  "Afsnee"
  "Sint-Denijs-Westrem"
  "Zwijnaarde"
  "Destelbergen"
  "Lochristi"
  "Gontrode"
  "Melle"
  "Merelbeke"
  "Sint-Martens-Latem"
  "De Pinte"
  "Vinderhoute"
  "Evergem"
  "9000"
  "9030"
  "9031"
  "9032"
  "9040"
  "9041"
  "9042"
  "9050"
  "9050"
  "9051"
  "9051"
  "9052"
  "9070"
  "9080"
  "9090"
  "9090"
  "9820"
  "9830"
  "9840"
  "9921"
  "9940"
]
0.48 ms
(3.98%)
1
SELECT t0.id AS id_1, t0.type AS type_2, t0.content AS content_3, t0.h1 AS h1_4, t0.meta_title AS meta_title_5, t0.meta_description AS meta_description_6, t0.canonical AS canonical_7, t0.locality_id AS locality_id_8 FROM locality_description t0 WHERE t0.locality_id = ? AND t0.type IS NULL LIMIT 1
Parameters:
[
  2408
]
0.35 ms
(2.94%)
1
SELECT t0.id AS id_1, t0.type AS type_2, t0.content AS content_3, t0.h1 AS h1_4, t0.meta_title AS meta_title_5, t0.meta_description AS meta_description_6, t0.canonical AS canonical_7, t0.locality_id AS locality_id_8 FROM locality_description t0 WHERE t0.locality_id = ? AND t0.type = ? LIMIT 1
Parameters:
[
  2408
  5
]

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 1

Entities Mapping

Class Mapping 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\Property No errors.
App\Entity\Address No errors.