Query Metrics
155
Database Queries
22
Different statements
130.56 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
30.87 ms (23.65%) |
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
]
|
30.42 ms (23.30%) |
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-03%" ] |
18.78 ms (14.39%) |
18 |
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:
[ 3 "2025-01-03%" "2025-01-03 08:31:08" ] |
15.66 ms (11.99%) |
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-03" 1 ] |
8.24 ms (6.31%) |
6 |
"COMMIT"
Parameters:
[] |
5.14 ms (3.94%) |
1 |
SELECT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME /*!50116 , c.UPDATE_RULE, c.DELETE_RULE */ FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE k /*!50116 INNER JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_NAME = 'doctrine_migration_versions' AND k.TABLE_SCHEMA = 'daitekecrm' /*!50116 AND c.CONSTRAINT_SCHEMA = 'daitekecrm' */ORDER BY k.ORDINAL_POSITION
Parameters:
[] |
4.98 ms (3.81%) |
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-03" ] |
3.85 ms (2.95%) |
18 |
INSERT INTO notificacion (fecha, textoes, textoeus, leido, objeto, destinatario_id, tipo_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "2025-01-03" 2 => "Se ha cerrado un fichaje para Maria Alonso con fecha: 2025-01-03" 3 => "Fitxaje bat ixti da Maria Alonso-rentzat 03-01-2025 datarekin" 4 => 0 5 => 3 6 => 3 7 => 3 ] |
3.47 ms (2.66%) |
5 |
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.objeto = ? LIMIT 1
Parameters:
[ 6 51 ] |
1.63 ms (1.25%) |
10 |
SELECT t0.id AS id_1, t0.descripcion AS descripcion_2 FROM tipo_notificacion t0 WHERE t0.descripcion = ? LIMIT 1
Parameters:
[
"tipoNotificacion.fichajeNoCerrado"
]
|
1.43 ms (1.10%) |
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.17 ms (0.90%) |
5 |
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"%"
]
|
1.16 ms (0.89%) |
2 |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
0.75 ms (0.57%) |
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.57 ms (0.44%) |
1 |
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'daitekecrm' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ASC
Parameters:
[] |
0.53 ms (0.40%) |
2 |
INSERT INTO fichaje_diario (fecha, entrada, empleada_id) VALUES (?, ?, ?)
Parameters:
[ 1 => "2025-01-03 21:00:00" 2 => 0 3 => 3 ] |
0.47 ms (0.36%) |
6 |
"START TRANSACTION"
Parameters:
[] |
0.45 ms (0.34%) |
1 |
SELECT t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'doctrine_migration_versions'
Parameters:
[] |
0.37 ms (0.28%) |
4 |
SELECT DATABASE()
Parameters:
[] |
0.33 ms (0.26%) |
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.16 ms (0.13%) |
1 |
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'doctrine_migration_versions' AND TABLE_SCHEMA = 'daitekecrm' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[] |
0.13 ms (0.10%) |
1 |
SELECT * FROM doctrine_migration_versions
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\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. |
App\Entity\Admin\Salario | No errors. |
App\Entity\Admin\Cliente | No errors. |
App\Entity\Admin\Proveedor | No errors. |
App\Entity\Admin\Area | No errors. |
App\Entity\Admin\Servicio | No errors. |
App\Entity\Comun\Tarea | No errors. |
App\Entity\Accesos\Tercero |
|
App\Entity\Comun\Convenio | No errors. |
App\Entity\Comun\Gasto | No errors. |
App\Entity\Accion\ProyectoReunion | No errors. |
App\Entity\Accion\TemaReunion | No errors. |