Query Metrics

6 Database Queries
6 Different statements
19.67 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
9.80 ms
(49.84%)
1
SELECT c0_.id AS id_0, c0_.imagen AS imagen_1, c1_.nombre AS nombre_2, c1_.resumen AS resumen_3, c0_.enlace AS enlace_4, c0_.slug AS slug_5, c0_.padre_id AS sclr_6, c0_.ordenmenu AS ordenmenu_7 FROM categoria_propiedades c0_ LEFT JOIN categoria_translation c1_ ON c0_.id = c1_.categoria_propiedades_id LEFT JOIN locale l2_ ON c1_.locale_id = l2_.id WHERE c0_.visible = 1 AND l2_.locale = ? ORDER BY c0_.orden ASC
Parameters:
[
  "es"
]
3.87 ms
(19.69%)
1
SELECT t0_.llave AS llave_0, t1_.valor AS valor_1, t0_.url AS url_2 FROM texto t0_ LEFT JOIN texto_translation t1_ ON t0_.id = t1_.objeto_id LEFT JOIN locale l2_ ON t1_.locale_id = l2_.id WHERE l2_.locale = ?
Parameters:
[
  "es"
]
2.24 ms
(11.40%)
1
SELECT p0_.id AS id_0, p1_.nombre AS nombre_1, p1_.subtitulo AS subtitulo_2, c2_.image AS image_3, p0_.lat AS lat_4, p0_.lng AS lng_5 FROM propiedades p0_ LEFT JOIN core_image c2_ ON p0_.id = c2_.propiedades_id AND (c2_.principal = 1) LEFT JOIN propiedad_translation p1_ ON p0_.id = p1_.objeto_id AND (p1_.locale_id IN (SELECT l3_.id FROM locale l3_ WHERE l3_.locale = ?)) INNER JOIN ciudad c4_ ON p0_.ciudad_id = c4_.id INNER JOIN departamento d5_ ON c4_.departamento_id = d5_.id INNER JOIN region r6_ ON d5_.region_id = r6_.id WHERE p0_.visible = 1 AND r6_.id = ? GROUP BY p0_.id ORDER BY p0_.id DESC
Parameters:
[
  "es"
  1
]
1.97 ms
(10.02%)
1
SELECT t0.id AS id_1, t0.visible AS visible_2, t0.orden AS orden_3, t0.latitude AS latitude_4, t0.longitude AS longitude_5, t0.imagen AS imagen_6, t0.created_at AS created_at_7, t0.pais_id AS pais_id_8, t9.id AS id_10, t9.nombre AS nombre_11, t9.poligono AS poligono_12, t9.created_at AS created_at_13, t9.region_id AS region_id_14, t9.departamento_id AS departamento_id_15, t9.ciudad_id AS ciudad_id_16 FROM region t0 LEFT JOIN kml t9 ON t9.region_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
0.95 ms
(4.84%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.locale_id AS locale_id_3, t0.objeto_id AS objeto_id_4 FROM region_translation t0 WHERE t0.objeto_id = ?
Parameters:
[
  1
]
0.83 ms
(4.21%)
1
SELECT t0.id AS id_1, t0.locale AS locale_2 FROM locale t0 WHERE t0.id = ?
Parameters:
[
  1
]

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.

Entities Mapping

Class Mapping errors
App\Entity\Region No errors.
App\Entity\Pais
  • The mappings App\Entity\Pais#translations and App\Entity\PaisTranslation#objeto are inconsistent with each other.
  • The association App\Entity\Pais#users refers to the owning side field App\Entity\User#pais which is not defined as association, but as field.
  • The association App\Entity\Pais#users refers to the owning side field App\Entity\User#pais which does not exist.
  • The association App\Entity\Pais#propiedades refers to the owning side field App\Entity\Propiedades#pais which does not exist.
App\Entity\Kml No errors.
App\Entity\Departamento No errors.
App\Entity\Ciudad No errors.
App\Entity\RegionTranslation No errors.
App\Entity\UbicacionDescripcion No errors.
App\Entity\Propiedades
  • The association App\Entity\Propiedades#categoriasproductos refers to the inverse side field App\Entity\CategoriaPropiedades#c which does not exist.
App\Entity\CoreImage No errors.
App\Entity\PropiedadTranslation No errors.
App\Entity\Locale No errors.
App\Entity\InformacionTranslation No errors.
App\Entity\BlogTranslations No errors.
App\Entity\ProyectoTranslation No errors.
App\Entity\ServiciosTranslations No errors.
App\Entity\Texto No errors.
App\Entity\TextoTranslation No errors.
App\Entity\CategoriaPropiedades No errors.
App\Entity\CategoriaTranslation No errors.