Query Metrics

114 Database Queries
8 Different statements
22.64 ms Query time
1 Invalid entities

Grouped Statements

Show all queries

Time Count Info
7.27 ms
(32.13%)
37
SELECT SUM(CASE WHEN s0_.statut_id = 1 THEN 1 ELSE 0 END) AS sclr_0, SUM(CASE WHEN s0_.statut_id = 2 THEN 1 ELSE 0 END) AS sclr_1 FROM sessions s1_ LEFT JOIN session_stagiaire s0_ ON s1_.id = s0_.session_id WHERE s1_.id = ? AND s1_.etat = ? ORDER BY s1_.id DESC
Parameters:
[
  1601
  1
]
7.26 ms
(32.06%)
37
SELECT t0.id AS id_1, t0.date_start AS date_start_2, t0.heure_debut AS heure_debut_3, t0.heure_debut_fin AS heure_debut_fin_4, t0.heure_fin AS heure_fin_5, t0.heure_fin_fin AS heure_fin_fin_6, t0.heure_am AS heure_am_7, t0.heure_pm AS heure_pm_8, t0.dernier_jour AS dernier_jour_9, t0.premier_jour AS premier_jour_10, t0.session_id AS session_id_11 FROM session_dates t0 WHERE t0.session_id = ? ORDER BY t0.date_start ASC
Parameters:
[
  1601
]
3.03 ms
(13.38%)
15
SELECT t0.id AS id_1, t0.name AS name_2, t0.updated_at AS updated_at_3, t0.filename AS filename_4, t0.url AS url_5, t0.type AS type_6, t0.theme_id AS theme_id_7 FROM media_categorie_programme t0 INNER JOIN formations_media_categorie_programme ON t0.id = formations_media_categorie_programme.media_categorie_programme_id WHERE formations_media_categorie_programme.formations_id = ?
Parameters:
[
  2092
]
2.70 ms
(11.91%)
15
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.code AS code_3, t0.capacite AS capacite_4, t0.nombre_jour AS nombre_jour_5, t0.nombre_heure AS nombre_heure_6, t0.statut AS statut_7, t0.domaine_id AS domaine_id_8 FROM formations t0 WHERE t0.id = ?
Parameters:
[
  2092
]
1.29 ms
(5.69%)
7
SELECT t0.id AS id_1, t0.name AS name_2, t0.color AS color_3, t0.background AS background_4, t0.color_event AS color_event_5, t0.background_event AS background_event_6, t0.type_session AS type_session_7, t0.filename AS filename_8 FROM bdd_themes t0 WHERE t0.id = ?
Parameters:
[
  25
]
0.59 ms
(2.59%)
1
SELECT s0_.id AS id_0, s0_.numero AS numero_1, s0_.code AS code_2, s0_.etat AS etat_3, s0_.formation_id AS formation_id_4, s0_.type_id AS type_id_5, s0_.adresse_centre_id AS adresse_centre_id_6 FROM sessions s0_ LEFT JOIN formations f1_ ON s0_.formation_id = f1_.id LEFT JOIN bdd_themes b2_ ON f1_.domaine_id = b2_.id LEFT JOIN session_dates s3_ ON s0_.id = s3_.session_id WHERE s3_.premier_jour = ? AND s3_.date_start > ? AND f1_.domaine_id <> ? AND f1_.domaine_id <> ? AND f1_.domaine_id <> ? AND f1_.domaine_id <> ? AND s0_.type_id = ? AND s0_.adresse_centre_id = ? AND s0_.etat = ? GROUP BY s0_.id ORDER BY s3_.date_start ASC
Parameters:
[
  1
  "2025-08-13 00:00:00"
  3
  5
  6
  7
  1
  1
  1
]
0.28 ms
(1.22%)
1
SELECT t0.id AS id_1, t0.token AS token_2 FROM bdd_api t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.23 ms
(1.02%)
1
SELECT t0.id AS id_1, t0.lien AS lien_2, t0.name AS name_3, t0.nom AS nom_4, t0.numero AS numero_5, t0.code_postal AS code_postal_6, t0.ville AS ville_7, t0.logo AS logo_8, t0.telephone AS telephone_9, t0.mail AS mail_10, t0.site_web AS site_web_11, t0.footer_text_x AS footer_text_x_12, t0.footer_text_second_x AS footer_text_second_x_13, t0.footer_text_y AS footer_text_y_14, t0.footer_text_second_y AS footer_text_second_y_15, t0.footer_text AS footer_text_16, t0.footer_text_second AS footer_text_second_17, t0.mail_envoi AS mail_envoi_18, t0.statut_actif AS statut_actif_19 FROM bdd_centres 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\Bdd\Api\BddApi No errors.
App\Entity\Bdd\BddCentres No errors.
App\Entity\Sessions\Sessions
  • The field App\Entity\Sessions\Sessions#stagiaires is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Sessions\SessionStagiaire#session does not contain the required 'inversedBy="stagiaires"' attribute.
App\Entity\Formations\Formations No errors.
App\Entity\Bdd\BddThemes No errors.
App\Entity\Sessions\SessionDates No errors.
App\Entity\Bdd\BddSessionType No errors.
App\Entity\Sessions\SessionClientOrder No errors.
App\Entity\Sessions\SessionStagiaire No errors.
App\Entity\Media\MediaCategorieProgramme No errors.