GET https://lodeao.com/materiel/5072

Query Metrics

32 Database Queries
14 Different statements
331.73 ms Query time
3 Invalid entities

Queries

Group similar statements

# Time Info
1 1.53 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.presentation AS presentation_4, t0.tarif AS tarif_5, t0.code_sc AS code_sc_6, t0.code_pa AS code_pa_7, t0.archive AS archive_8, t0.reference AS reference_9 FROM materiel t0 WHERE t0.id = ?
Parameters:
[
  "5072"
]
2 0.93 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url AS url_3, t0.description AS description_4, t0.image AS image_5, t0.resume AS resume_6, t0.parent_id AS parent_id_7 FROM categorie t0 INNER JOIN materiel_categorie ON t0.id = materiel_categorie.categorie_id WHERE materiel_categorie.materiel_id = ?
Parameters:
[
  5072
]
3 0.52 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url AS url_3, t0.description AS description_4, t0.image AS image_5, t0.resume AS resume_6, t0.parent_id AS parent_id_7 FROM categorie t0 WHERE t0.id = ?
Parameters:
[
  60
]
4 0.53 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url AS url_3, t0.description AS description_4, t0.image AS image_5, t0.resume AS resume_6, t0.parent_id AS parent_id_7 FROM categorie t0 WHERE t0.id = ?
Parameters:
[
  2
]
5 0.89 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.presentation AS presentation_4, t0.tarif AS tarif_5, t0.code_sc AS code_sc_6, t0.code_pa AS code_pa_7, t0.archive AS archive_8, t0.reference AS reference_9 FROM materiel t0 INNER JOIN materiel_materiel ON t0.id = materiel_materiel.materiel_target WHERE materiel_materiel.materiel_source = ?
Parameters:
[
  5072
]
6 0.94 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5073
]
7 0.59 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5074
]
8 0.44 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5076
]
9 0.47 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5077
]
10 0.49 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5079
]
11 0.42 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5080
]
12 0.48 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5081
]
13 311.70 ms
SELECT t0.id AS id_1, t0.url AS url_2, t0.date_log AS date_log_3, t0.nbvues AS nbvues_4, t0.page AS page_5, t0.user_id AS user_id_6 FROM log_page t0 WHERE t0.page = ? AND t0.date_log = ? AND t0.user_id IS NULL LIMIT 1
Parameters:
[
  "Matériel Feuille de digue"
  "2024-12-23"
]
14 0.39 ms
"START TRANSACTION"
Parameters:
[]
15 0.45 ms
INSERT INTO log_page (url, date_log, nbvues, page, user_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "/materiel/5072"
  "2024-12-23"
  1
  "Matériel Feuille de digue"
  null
]
16 1.13 ms
"COMMIT"
Parameters:
[]
17 0.54 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.materiel_id AS materiel_id_3, t0.image_id AS image_id_4 FROM materielphoto t0 WHERE t0.materiel_id = ? ORDER BY t0.ordre ASC
Parameters:
[
  5072
]
18 0.65 ms
SELECT t0.id AS id_1, t0.comment AS comment_2, t0.datepubli AS datepubli_3, t0.valide AS valide_4, t0.auteur_id AS auteur_id_5, t0.protocole_id AS protocole_id_6, t0.materiel_id AS materiel_id_7 FROM commentaire t0 WHERE t0.materiel_id = ? ORDER BY t0.datepubli DESC
Parameters:
[
  5072
]
19 0.75 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  616
]
20 0.96 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.presentation AS presentation_4, t0.tarif AS tarif_5, t0.code_sc AS code_sc_6, t0.code_pa AS code_pa_7, t0.archive AS archive_8, t0.reference AS reference_9 FROM materiel t0 INNER JOIN kitmateriels ON t0.id = kitmateriels.materiel_target WHERE kitmateriels.materiel_source = ?
Parameters:
[
  5072
]
21 1.00 ms
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.resume AS resume_3, t0.protocole AS protocole_4, t0.administration AS administration_5, t0.information AS information_6, t0.code_dent AS code_dent_7, t0.code_fracture AS code_fracture_8, t0.fracture AS fracture_9, t0.urgence AS urgence_10, t0.favori AS favori_11, t0.archive AS archive_12, t0.urlvideo AS urlvideo_13, t0.reference AS reference_14 FROM protocole t0 INNER JOIN protocole_materiel ON t0.id = protocole_materiel.protocole_id WHERE protocole_materiel.materiel_id = ?
Parameters:
[
  5072
]
22 0.83 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.protocole_id AS protocole_id_3, t0.image_id AS image_id_4 FROM protocolephoto t0 WHERE t0.protocole_id = ?
Parameters:
[
  505
]
23 0.78 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  401
]
24 0.62 ms
SELECT t0.id AS id_1, t0.ordre AS ordre_2, t0.protocole_id AS protocole_id_3, t0.image_id AS image_id_4 FROM protocolephoto t0 WHERE t0.protocole_id = ?
Parameters:
[
  511
]
25 0.51 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  286
]
26 0.51 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  672
]
27 0.42 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  671
]
28 0.47 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  545
]
29 0.45 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  659
]
30 0.46 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  617
]
31 0.43 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  499
]
32 0.43 ms
SELECT t0.id AS id_1, t0.nomfichier AS nomfichier_2, t0.extension AS extension_3, t0.urlfichier AS urlfichier_4, t0.legende AS legende_5 FROM image t0 WHERE t0.id = ?
Parameters:
[
  610
]

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\Materiel No errors.
App\Entity\Categorie No errors.
App\Entity\Protocole
  • The association App\Entity\Protocole#commentaires refers to the owning side field App\Entity\Commentaire#protocoles which does not exist.
App\Entity\Commentaire
  • The mappings App\Entity\Commentaire#protocole and App\Entity\Protocole#commentaires are inconsistent with each other.
App\Entity\Materielphoto
  • The association App\Entity\Materielphoto#materiel refers to the inverse side field App\Entity\Materiel#materielphotos which does not exist.
App\Entity\Image No errors.
App\Entity\LogPage No errors.
App\Entity\User No errors.
App\Entity\Protocoleinstrimg No errors.
App\Entity\Protocolephoto No errors.