POST https://test.karbontrail.fr/_components/TrailBilanCarboneEditionChapitreDisplay

Query Metrics

127 Database Queries
11 Different statements
48.13 ms Query time
0 Invalid entities
186 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
21.08 ms
(43.79%)
57
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.pourcentage_incertitude AS pourcentage_incertitude_3, t0.element_id AS element_id_4, t0.staff_karbon_id AS staff_karbon_id_5 FROM quantite_element t0 WHERE t0.element_id = ? AND t0.staff_karbon_id = ? LIMIT 1
Parameters:
[
  3267
  50
]
20.25 ms
(42.06%)
57
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.pourcentage_incertitude AS pourcentage_incertitude_3, t0.element_id AS element_id_4, t0.staff_karbon_id AS staff_karbon_id_5 FROM quantite_element t0 WHERE t0.element_id = ?
Parameters:
[
  3267
]
1.41 ms
(2.93%)
3
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.copy_id AS copy_id_3, t0.rang AS rang_4, t0.facteur_emission AS facteur_emission_5, t0.poste_id AS poste_id_6 FROM element t0 WHERE t0.poste_id = ? ORDER BY t0.rang ASC, t0.id ASC
Parameters:
[
  315
]
1.19 ms
(2.46%)
3
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.copy_id AS copy_id_3, t0.partie_id AS partie_id_4 FROM poste t0 WHERE t0.partie_id = ?
Parameters:
[
  262
]
0.97 ms
(2.03%)
1
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.pourcentage_incertitude AS pourcentage_incertitude_3, t0.element_id AS element_id_4, t0.staff_karbon_id AS staff_karbon_id_5 FROM quantite_element t0 WHERE t0.element_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.staff_karbon_id = ?
Parameters:
[
  3287
  3289
  3290
  3292
  3293
  3294
  3295
  3296
  3297
  3298
  3299
  3300
  3301
  3302
  3303
  3304
  3305
  3306
  50
]
0.80 ms
(1.67%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.name AS name_5, t0.surname AS surname_6, t0.original_super_admin AS original_super_admin_7, t0.role_name AS role_name_8, t0.updated_at AS updated_at_9, t0.password_token AS password_token_10, t0.password_token_expiration AS password_token_expiration_11, t0.must_change_password AS must_change_password_12, t0.password_reset_requested AS password_reset_requested_13, t14.id AS id_15, t14.image_name AS image_name_16, t14.image_size AS image_size_17, t14.updated_at AS updated_at_18, t14.user_id AS user_id_19, t0.bureau_etude_id AS bureau_etude_id_20 FROM staff_karbon t0 LEFT JOIN staff_image t14 ON t14.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  50
]
0.59 ms
(1.22%)
1
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.pourcentage_incertitude AS pourcentage_incertitude_3, t0.element_id AS element_id_4, t0.staff_karbon_id AS staff_karbon_id_5 FROM quantite_element t0 WHERE t0.element_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.staff_karbon_id = ?
Parameters:
[
  3267
  3268
  3270
  3271
  3272
  3273
  3274
  3275
  3276
  3277
  3278
  3279
  3280
  3281
  3282
  3283
  3284
  3285
  3286
  50
]
0.58 ms
(1.20%)
1
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.pourcentage_incertitude AS pourcentage_incertitude_3, t0.element_id AS element_id_4, t0.staff_karbon_id AS staff_karbon_id_5 FROM quantite_element t0 WHERE t0.element_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.staff_karbon_id = ?
Parameters:
[
  3307
  3308
  3309
  3310
  3311
  3312
  3313
  3314
  3315
  3316
  3317
  3318
  3319
  3320
  3321
  3322
  3323
  3324
  3325
  3326
  50
]
0.57 ms
(1.18%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.email AS email_3, t0.password AS password_4, t0.roles AS roles_5, t0.slug AS slug_6, t0.adress AS adress_7, t0.code_postal AS code_postal_8, t0.city AS city_9, t0.tel AS tel_10, t0.audit_notify_status AS audit_notify_status_11, t0.naf AS naf_12, t0.siren AS siren_13, t0.is_certified AS is_certified_14, t0.is_verified AS is_verified_15, t0.password_token AS password_token_16, t0.password_token_expiration AS password_token_expiration_17, t0.must_change_password AS must_change_password_18, t0.password_reset_requested AS password_reset_requested_19, t0.is_demo AS is_demo_20, t0.profil_image_id AS profil_image_id_21, t22.id AS id_23, t22.is_elligible AS is_elligible_24, t22.entreprise_id AS entreprise_id_25, t26.id AS id_27, t26.token AS token_28, t26.is_verified AS is_verified_29, t26.created_at AS created_at_30, t26.expires_at AS expires_at_31, t26.entreprise_id AS entreprise_id_32, t0.audit_version_id AS audit_version_id_33, t34.id AS id_35, t34.nom AS nom_36, t34.prenom AS prenom_37, t34.email AS email_38, t34.tel AS tel_39, t34.role AS role_40, t34.entreprise_id AS entreprise_id_41, t0.bureau_etude_id AS bureau_etude_id_42, t0.bilan_carbone_simplifie_version_id AS bilan_carbone_simplifie_version_id_43 FROM entreprise t0 LEFT JOIN pre_requis t22 ON t22.entreprise_id = t0.id LEFT JOIN verification_mail t26 ON t26.entreprise_id = t0.id LEFT JOIN entreprise_main_contact t34 ON t34.entreprise_id = t0.id WHERE t0.id = ?
Parameters:
[
  27
]
0.36 ms
(0.75%)
1
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.copy_id AS copy_id_3, t0.chapitre_id AS chapitre_id_4 FROM partie t0 WHERE t0.chapitre_id = ?
Parameters:
[
  97
]
0.35 ms
(0.72%)
1
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.copy_id AS copy_id_3, t0.audit_id AS audit_id_4, t0.bilan_carbone_simplifie_version_id AS bilan_carbone_simplifie_version_id_5 FROM chapitre t0 WHERE t0.id = ?
Parameters:
[
  97
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\QuantiteElement 114
App\Entity\Element 57
App\Entity\Partie 3
App\Entity\Poste 3
App\Entity\StaffKarbon 2
App\Entity\StudyOffice 1
App\Entity\Entreprise 1
App\Entity\EntrepriseImage 1
App\Entity\AuditVersion 1
App\Entity\BilanCarboneSimplifieVersion 1
App\Entity\VerificationMail 1
App\Entity\Chapitre 1