http://guiayipao.co/index.php/home/sitio_individual/23

Query Metrics

12 Database Queries
10 Different statements
6.06 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.31 ms
(21.63%)
3
SELECT t0.id AS id_1, t0.icono AS icono_2 FROM iconos t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.94 ms
(15.48%)
1
SELECT t0.id AS id_1, t0.valor AS valor_2, t0.estado AS estado_3, t0.locacion AS locacion_4, t0.direccion AS direccion_5, t0.calificacion AS calificacion_6, t0.imagen_principal AS imagen_principal_7, t0.longitud AS longitud_8, t0.latitud AS latitud_9, t0.nombre AS nombre_10, t0.descripcion AS descripcion_11, t0.visitas AS visitas_12, t0.palabras_clave AS palabras_clave_13, t0.horario_atencion AS horario_atencion_14, t0.id_categoria_id AS id_categoria_id_15, t0.id_ciudad_id AS id_ciudad_id_16 FROM sitios t0 WHERE t0.id = ?
Parameters:
[
  "23"
]
0.70 ms
(11.57%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.color AS color_3, t0.enlace AS enlace_4, t0.estado AS estado_5, t0.id_sitio_id AS id_sitio_id_6, t0.id_icono_id AS id_icono_id_7 FROM sitios_redes_sociales t0 WHERE t0.id_sitio_id = ? AND t0.estado = ?
Parameters:
[
  "23"
  "Activo"
]
0.58 ms
(9.60%)
1
SELECT t0.id AS id_1, t0.imagen AS imagen_2, t0.estado AS estado_3, t0.posicion AS posicion_4, t0.id_sitio_id AS id_sitio_id_5 FROM sitios_galeria t0 WHERE t0.id_sitio_id = ?
Parameters:
[
  "23"
]
0.56 ms
(9.29%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.estado AS estado_3, t0.id_sitio_id AS id_sitio_id_4, t0.id_icono_id AS id_icono_id_5 FROM sitios_comodidades t0 WHERE t0.id_sitio_id = ?
Parameters:
[
  "23"
]
0.53 ms
(8.79%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.id_departamento_id AS id_departamento_id_3 FROM ciudades t0 WHERE t0.id = ?
Parameters:
[
  63
]
0.44 ms
(7.21%)
1
UPDATE sitios SET visitas = ? WHERE id = ?
Parameters:
[
  200
  23
]
0.43 ms
(7.05%)
1
SELECT t0.id AS id_1, t0.valor AS valor_2, t0.estado AS estado_3, t0.locacion AS locacion_4, t0.direccion AS direccion_5, t0.calificacion AS calificacion_6, t0.imagen_principal AS imagen_principal_7, t0.longitud AS longitud_8, t0.latitud AS latitud_9, t0.nombre AS nombre_10, t0.descripcion AS descripcion_11, t0.visitas AS visitas_12, t0.palabras_clave AS palabras_clave_13, t0.horario_atencion AS horario_atencion_14, t0.id_categoria_id AS id_categoria_id_15, t0.id_ciudad_id AS id_ciudad_id_16 FROM sitios t0 WHERE t0.id_categoria_id = ? AND t0.estado = ?
Parameters:
[
  2
  "Activo"
]
0.30 ms
(4.90%)
1
"START TRANSACTION"
Parameters:
[]
0.27 ms
(4.47%)
1
"COMMIT"
Parameters:
[]

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\Sitios No errors.
App\Entity\SitiosGaleria
  • The association App\Entity\SitiosGaleria#id_sitio refers to the inverse side field App\Entity\Sitios#sitiosGalerias which does not exist.
App\Entity\SitiosComodidades No errors.
App\Entity\SitiosRedesSociales No errors.
App\Entity\CategoriaSitio No errors.
App\Entity\Ciudades No errors.
App\Entity\Departamentos No errors.
App\Entity\Paises No errors.
App\Entity\Iconos No errors.