Query Metrics
138
Database Queries
14
Different statements
116.10 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
29.88 ms (25.73%) |
36 |
SELECT f0_.id AS id_0, f0_.fecha AS fecha_1, f0_.entrada AS entrada_2, f0_.empleada_id AS empleada_id_3 FROM fichaje_diario f0_ WHERE f0_.empleada_id = ? AND f0_.fecha LIKE ? AND f0_.fecha > ? ORDER BY f0_.fecha ASC LIMIT 1
Parameters:
[ 2 "2025-01-10%" "2025-01-10 08:28:34" ] |
29.47 ms (25.38%) |
32 |
SELECT t0.id AS id_1, t0.fecha AS fecha_2, t0.entrada AS entrada_3, t0.empleada_id AS empleada_id_4 FROM fichaje_diario t0 WHERE t0.empleada_id = ? ORDER BY t0.fecha DESC LIMIT 1
Parameters:
[
1
]
|
26.75 ms (23.04%) |
32 |
SELECT f0_.id AS id_0, f0_.fecha AS fecha_1, f0_.entrada AS entrada_2, f0_.empleada_id AS empleada_id_3 FROM fichaje_diario f0_ WHERE f0_.empleada_id = ? AND f0_.fecha LIKE ? ORDER BY f0_.fecha ASC LIMIT 1
Parameters:
[ 1 "2025-01-10%" ] |
14.85 ms (12.79%) |
3 |
SELECT t0.id AS id_1, t0.fecha AS fecha_2, t0.textoes AS textoes_3, t0.textoeus AS textoeus_4, t0.leido AS leido_5, t0.objeto AS objeto_6, t0.destinatario_id AS destinatario_id_7, t0.tipo_id AS tipo_id_8 FROM notificacion t0 WHERE t0.tipo_id = ? AND t0.fecha = ? AND t0.destinatario_id = ? ORDER BY t0.fecha DESC
Parameters:
[ 1 "2025-01-10" 1 ] |
4.69 ms (4.04%) |
1 |
SELECT n0_.id AS id_0, n0_.fecha AS fecha_1, n0_.textoes AS textoes_2, n0_.textoeus AS textoeus_3, n0_.leido AS leido_4, n0_.objeto AS objeto_5, n0_.destinatario_id AS destinatario_id_6, n0_.tipo_id AS tipo_id_7 FROM notificacion n0_ INNER JOIN tipo_notificacion t1_ ON n0_.tipo_id = t1_.id WHERE t1_.descripcion LIKE ? AND n0_.destinatario_id = ? AND n0_.fecha = ? ORDER BY n0_.fecha DESC
Parameters:
[ "tipoNotificacion.justificacion%" 1 "2025-01-10" ] |
3.87 ms (3.33%) |
3 |
"COMMIT"
Parameters:
[] |
1.80 ms (1.55%) |
2 |
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.email AS email_3, t0.telefono AS telefono_4, t0.habilitado AS habilitado_5, t0.rango_salarial_id AS rango_salarial_id_6, t7.id AS id_8, t7.email AS email_9, t7.roles AS roles_10, t7.password AS password_11, t7.is_verified AS is_verified_12, t7.nombre AS nombre_13, t7.habilitado AS habilitado_14, t7.empleada_id AS empleada_id_15, t7.contacto_id AS contacto_id_16, t7.contacto_proveedor_id AS contacto_proveedor_id_17 FROM empleada t0 LEFT JOIN usuario t7 ON t7.empleada_id = t0.id
Parameters:
[] |
1.32 ms (1.14%) |
10 |
INSERT INTO notificacion (fecha, textoes, textoeus, leido, objeto, destinatario_id, tipo_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "2025-01-10" 2 => "Se ha cerrado un fichaje para Garazi Artuñedo Zugazaga con fecha: 2025-01-10" 3 => "Fitxaje bat ixti da Garazi Artuñedo Zugazaga-rentzat 10-01-2025 datarekin" 4 => 0 5 => 15 6 => 15 7 => 3 ] |
1.26 ms (1.08%) |
8 |
SELECT t0.id AS id_1, t0.descripcion AS descripcion_2 FROM tipo_notificacion t0 WHERE t0.descripcion = ? LIMIT 1
Parameters:
[
"tipoNotificacion.fichajeNoCerrado"
]
|
0.75 ms (0.65%) |
3 |
SELECT t0.id AS id_1, t0.hora_inicio AS hora_inicio_2, t0.hora_fin AS hora_fin_3, t0.hora_aviso_max AS hora_aviso_max_4, t0.hora_aviso_min AS hora_aviso_min_5, t0.justificacion_aviso1 AS justificacion_aviso1_6, t0.justificacion_aviso2 AS justificacion_aviso2_7, t0.justificacion_aviso3 AS justificacion_aviso3_8 FROM globales t0 LIMIT 1
Parameters:
[] |
0.73 ms (0.63%) |
3 |
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.roles AS roles_2, u0_.password AS password_3, u0_.is_verified AS is_verified_4, u0_.nombre AS nombre_5, u0_.habilitado AS habilitado_6, u0_.empleada_id AS empleada_id_7, u0_.contacto_id AS contacto_id_8, u0_.contacto_proveedor_id AS contacto_proveedor_id_9 FROM usuario u0_ WHERE u0_.roles LIKE ?
Parameters:
[
"%"ROLE_ADMIN"%"
]
|
0.29 ms (0.25%) |
1 |
SELECT t0.id AS id_1, t0.fecha AS fecha_2, t0.nombre AS nombre_3, t0.presentada AS presentada_4, t0.observaciones AS observaciones_5, t0.fecha_presentada AS fecha_presentada_6, t0.proyecto_id AS proyecto_id_7 FROM justificacion t0 WHERE t0.presentada = ?
Parameters:
[
0
]
|
0.24 ms (0.20%) |
3 |
"START TRANSACTION"
Parameters:
[] |
0.23 ms (0.20%) |
1 |
INSERT INTO fichaje_diario (fecha, entrada, empleada_id) VALUES (?, ?, ?)
Parameters:
[ 1 => "2025-01-10 21:00:00" 2 => 0 3 => 15 ] |
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\Comun\FichajeDiario | No errors. |
App\Entity\Admin\Empleada | No errors. |
App\Entity\Admin\RangoSalarial | No errors. |
App\Entity\Accesos\Usuario | No errors. |
App\Entity\Admin\Contacto | No errors. |
App\Entity\Admin\ContactoProveedor | No errors. |
App\Entity\Comun\Proyecto | No errors. |
App\Entity\Comun\TareaEmpleada | No errors. |
App\Entity\Comun\Fichaje | No errors. |
App\Entity\Comun\Notificacion | No errors. |
App\Entity\Accion\Llamada | No errors. |
App\Entity\Accion\Email | No errors. |
App\Entity\Accion\Reunion | No errors. |
App\Entity\Admin\Globales | No errors. |
App\Entity\Comun\TipoNotificacion | No errors. |
App\Entity\Comun\Justificacion | No errors. |
App\Entity\Adjunto\AdjuntoJustificacion | No errors. |