Query Metrics
16
Database Queries
10
Different statements
25.78 ms
Query time
13
Invalid entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.82 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ? LIMIT 1
Parameters:
[
91
]
|
||||||||||||||||||||||||||||||||
| 2 | 0.59 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ? LIMIT 1
Parameters:
[
37
]
|
||||||||||||||||||||||||||||||||
| 3 | 0.30 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ? LIMIT 1
Parameters:
[
79
]
|
||||||||||||||||||||||||||||||||
| 4 | 0.99 ms |
SELECT t0.id_tramite AS id_tramite_1, t0.nombre AS nombre_2, t0.descripcion AS descripcion_3, t0.activo AS activo_4, t0.letra_turnero AS letra_turnero_5, t0.peso_en_franjas AS peso_en_franjas_6, t0.visible_citas AS visible_citas_7, t0.multiple AS multiple_8, t0.validación_citas_placa_identificacion AS validacin_citas_placa_identificacion_9, t0.turno_preferencial AS turno_preferencial_10, t0.ver_botones_fin_efectivo_no_efectivo AS ver_botones_fin_efectivo_no_efectivo_11, t0.posicion AS posicion_12, t0.ruta_doc_requisitos AS ruta_doc_requisitos_13, t0.tiempo_alerta AS tiempo_alerta_14, t0.consecutivo_tramite AS consecutivo_tramite_15, t0.tipo_documental AS tipo_documental_16, t0.codigo_categoria AS codigo_categoria_17, t0.id_enterprise AS id_enterprise_18, t0.id_tipo_tramite AS id_tipo_tramite_19 FROM tramite t0 WHERE t0.id_tramite = ?
Parameters:
[
"15"
]
|
||||||||||||||||||||||||||||||||
| 5 | 1.85 ms |
SELECT t0.id_ventanilla AS id_ventanilla_1, t0.nombre_ventanilla AS nombre_ventanilla_2, t0.mac_pc AS mac_pc_3, t0.direccion_ip AS direccion_ip_4, t0.activo AS activo_5, t0.ventanilla_virtual AS ventanilla_virtual_6, t0.tipo_agendamiento AS tipo_agendamiento_7, t0.cantidad_tramites_x_cita AS cantidad_tramites_x_cita_8, t0.ventanilla_masiva AS ventanilla_masiva_9, t0.cantidad_cupos AS cantidad_cupos_10, t0.com AS com_11, t0.cantidad_cupos_extra AS cantidad_cupos_extra_12, t0.ventanilla_preferencial AS ventanilla_preferencial_13, t0.id_tramite_transferencia AS id_tramite_transferencia_14, t0.id_sala AS id_sala_15 FROM ventanilla t0 INNER JOIN tramites_x_ventanilla ON t0.id_ventanilla = tramites_x_ventanilla.ventanilla_id WHERE tramites_x_ventanilla.tramite_id = ?
Parameters:
[
15
]
|
||||||||||||||||||||||||||||||||
| 6 | 0.73 ms |
SELECT t0.id_sala AS id_sala_1, t0.nombre_sala AS nombre_sala_2, t0.activo AS activo_3, t0.id_sede AS id_sede_4 FROM sala t0 WHERE t0.id_sala = ?
Parameters:
[
3
]
|
||||||||||||||||||||||||||||||||
| 7 | 0.72 ms |
SELECT t0.id AS id_1, t0.Nombre_sede AS nombre_sede_2, t0.Direccion_sede AS direccion_sede_3, t0.Telefono_sede AS telefono_sede_4, t0.activo AS activo_5, t0.visible_bot AS visible_bot_6, t0.descentralizada AS descentralizada_7, t0.fechainicio AS fechainicio_8, t0.fechafin AS fechafin_9, t0.id_ciudad AS id_ciudad_10, t0.id_enterprise AS id_enterprise_11 FROM sede t0 WHERE t0.id = ?
Parameters:
[
3
]
|
||||||||||||||||||||||||||||||||
| 8 | 0.42 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ?
Parameters:
[
84
]
|
||||||||||||||||||||||||||||||||
| 9 | 0.35 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ?
Parameters:
[
85
]
|
||||||||||||||||||||||||||||||||
| 10 | 7.77 ms |
SELECT ct.id_sede, ct.sede, ct.fecha, ct.cantidad AS cupos_totales, cd.cantidad AS cupos_disponibles FROM ( SELECT sd.id AS id_sede, sd.nombre_sede AS sede, f.fecha_franja AS fecha, COUNT(*) AS cantidad FROM franja f JOIN ventanilla v ON f.id_ventanilla = v.id_ventanilla JOIN horario_x_ventanilla hv ON v.id_ventanilla = hv.id_ventanilla JOIN datos_horario dh ON hv.id_horario = dh.id_horario JOIN sala s ON v.id_sala = s.id_sala JOIN sede sd ON s.id_sede = sd.id JOIN tramites_x_ventanilla txv ON v.id_ventanilla = txv.ventanilla_id WHERE f.fecha_franja >= :fecha AND f.fecha_franja < CAST(:fecha AS date) + INTERVAL '1 day' AND v.activo = true AND dh.activo = true AND f.id_tipo_estado_franja IN (1, 2, 3, 5) AND txv.tramite_id = :tramiteId GROUP BY sd.id, sede, fecha ) ct JOIN ( SELECT sd.nombre_sede AS sede, f.fecha_franja AS fecha, COUNT(*) AS cantidad FROM franja f JOIN ventanilla v ON f.id_ventanilla = v.id_ventanilla JOIN horario_x_ventanilla hv ON v.id_ventanilla = hv.id_ventanilla JOIN datos_horario dh ON hv.id_horario = dh.id_horario JOIN sala s ON v.id_sala = s.id_sala JOIN sede sd ON s.id_sede = sd.id JOIN tramites_x_ventanilla txv ON v.id_ventanilla = txv.ventanilla_id WHERE f.fecha_franja >= :fecha AND f.fecha_franja < CAST(:fecha AS date) + INTERVAL '1 day' AND v.activo = true AND dh.activo = true AND f.id_tipo_estado_franja = 1 AND txv.tramite_id = :tramiteId GROUP BY sede, fecha ) cd ON ct.sede = cd.sede AND ct.fecha = cd.fecha
Parameters:
[ "fecha" => "2026-04-01" "tramiteId" => 15 ]
|
||||||||||||||||||||||||||||||||
| 11 | 1.68 ms |
SELECT dh.* FROM sede s, sala sl, ventanilla v, tramites_x_ventanilla txv, datos_horario dh, horario_x_ventanilla hv WHERE s.id = sl.id_sede AND sl.id_sala = v.id_sala AND v.id_ventanilla = txv.ventanilla_id AND v.id_ventanilla = hv.id_ventanilla AND hv.id_horario = dh.id_horario AND s.id = :idSite AND txv.tramite_id = :idProcedure AND dh.activo = true
Parameters:
[ "idSite" => 3 "idProcedure" => "15" ]
|
||||||||||||||||||||||||||||||||
| 12 | 2.54 ms |
SELECT sd.id AS id_sede, sd.nombre_sede AS sede, f.id_tipo_estado_franja AS estado, COUNT(*) AS cantidad FROM franja f JOIN ventanilla v ON f.id_ventanilla = v.id_ventanilla JOIN horario_x_ventanilla hv ON v.id_ventanilla = hv.id_ventanilla JOIN datos_horario dh ON hv.id_horario = dh.id_horario JOIN sala s ON v.id_sala = s.id_sala JOIN sede sd ON s.id_sede = sd.id JOIN tramites_x_ventanilla txv ON v.id_ventanilla = txv.ventanilla_id WHERE f.fecha_franja = :fechaActual AND v.activo = true AND dh.activo = true AND txv.tramite_id = :idProcedure AND sd.id = :idSite AND f.id_tipo_estado_franja IN (1, 2, 3, 4, 5) GROUP BY sd.id, sede, estado
Parameters:
[ "idSite" => 3 "idProcedure" => "15" "fechaActual" => "2026-04-01" ]
|
||||||||||||||||||||||||||||||||
| 13 | 2.21 ms |
SELECT sd.id AS id_sede, sd.nombre_sede AS sede, f.id_tipo_estado_franja AS estado, COUNT(*) AS cantidad FROM franja f JOIN ventanilla v ON f.id_ventanilla = v.id_ventanilla JOIN horario_x_ventanilla hv ON v.id_ventanilla = hv.id_ventanilla JOIN datos_horario dh ON hv.id_horario = dh.id_horario JOIN sala s ON v.id_sala = s.id_sala JOIN sede sd ON s.id_sede = sd.id JOIN tramites_x_ventanilla txv ON v.id_ventanilla = txv.ventanilla_id WHERE f.fecha_franja = :fechaActual AND v.activo = true AND dh.activo = true AND txv.tramite_id = :idProcedure AND sd.id = :idSite AND f.id_tipo_estado_franja IN (1, 2, 3, 4, 5) GROUP BY sd.id, sede, estado
Parameters:
[ "idSite" => 3 "idProcedure" => "15" "fechaActual" => "2026-04-02" ]
|
||||||||||||||||||||||||||||||||
| 14 | 2.48 ms |
SELECT sd.id AS id_sede, sd.nombre_sede AS sede, f.id_tipo_estado_franja AS estado, COUNT(*) AS cantidad FROM franja f JOIN ventanilla v ON f.id_ventanilla = v.id_ventanilla JOIN horario_x_ventanilla hv ON v.id_ventanilla = hv.id_ventanilla JOIN datos_horario dh ON hv.id_horario = dh.id_horario JOIN sala s ON v.id_sala = s.id_sala JOIN sede sd ON s.id_sede = sd.id JOIN tramites_x_ventanilla txv ON v.id_ventanilla = txv.ventanilla_id WHERE f.fecha_franja = :fechaActual AND v.activo = true AND dh.activo = true AND txv.tramite_id = :idProcedure AND sd.id = :idSite AND f.id_tipo_estado_franja IN (1, 2, 3, 4, 5) GROUP BY sd.id, sede, estado
Parameters:
[ "idSite" => 3 "idProcedure" => "15" "fechaActual" => "2026-04-03" ]
|
||||||||||||||||||||||||||||||||
| 15 | 0.73 ms |
SELECT c0_.id_categoria AS id_categoria_0, c0_.nombre_categoria AS nombre_categoria_1, c0_.activo AS activo_2, c0_.id_empresa AS id_empresa_3 FROM categorias c0_ WHERE c0_.activo = 'S'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 16 | 0.58 ms |
SELECT t0.id_parametro AS id_parametro_1, t0.descripcion_parametro AS descripcion_parametro_2, t0.valor AS valor_3, t0.tipo_dato AS tipo_dato_4, t0.cliente AS cliente_5 FROM parametros t0 WHERE t0.id_parametro = ? LIMIT 1
Parameters:
[
114
]
|
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\Parameter | No errors. |
| App\Entity\Procedure |
|
| App\Entity\Enterprise |
|
| App\Entity\TypeProcess | No errors. |
| App\Entity\ProceduresOrder | No errors. |
| App\Entity\Turn |
|
| App\Entity\Site |
|
| App\Entity\Appointment |
|
| App\Entity\ProcedureWindow |
|
| App\Entity\FormTemplate |
|
| App\Entity\TicketDispenser |
|
| App\Entity\Category |
|
| App\Entity\WaitingRoom | No errors. |
| App\Entity\Interval |
|
| App\Entity\Schedule |
|
| App\Entity\StateAppointmentWindow | No errors. |
| App\Entity\Intern | No errors. |
| App\Entity\Display | No errors. |
| App\Entity\City |
|
| App\Entity\ScheduleData |
|