GET http://demo-app.wastreet.app/dechets

Query Metrics

27 Database Queries
9 Different statements
31.56 ms Query time
3 Invalid entities
29 Managed entities

Grouped Statements

Show all queries

Time Count Info
13.21 ms
(41.87%)
4
SELECT SUM(v0_.tonnes) AS sclr_0 FROM valorisation v0_ WHERE v0_.id_tc_structure = ? AND v0_.annee = ?
Parameters:
[
  102
  2021
]
6.72 ms
(21.30%)
8
SELECT g0_.id_gpso_flux_ou_prestation AS id_gpso_flux_ou_prestation_0, g0_.code AS code_1, g0_.libelle AS libelle_2, g0_.fa_icon AS fa_icon_3, g0_.color AS color_4, g0_.is_active AS is_active_5, g0_.structure AS structure_6 FROM gpso_flux_ou_prestation g0_ WHERE g0_.structure = ? AND g0_.code = ?
Parameters:
[
  102
  "OMR"
]
2.73 ms
(8.66%)
4
SELECT SUM(v0_.tonnes) AS sclr_0 FROM valorisation v0_ WHERE v0_.id_tc_structure = ? AND v0_.annee = ? AND v0_.is_valorisation = 1
Parameters:
[
  102
  2021
]
2.04 ms
(6.46%)
2
SELECT t0.id_decheterie AS id_decheterie_1, t0.nom AS nom_2, t0.adresse AS adresse_3, t0.latitude AS latitude_4, t0.longitude AS longitude_5, t0.telephone AS telephone_6, t0.open_lun_matin AS open_lun_matin_7, t0.open_lun_aprem AS open_lun_aprem_8, t0.open_mar_matin AS open_mar_matin_9, t0.open_mar_aprem AS open_mar_aprem_10, t0.open_mer_matin AS open_mer_matin_11, t0.open_mer_aprem AS open_mer_aprem_12, t0.open_jeu_matin AS open_jeu_matin_13, t0.open_jeu_aprem AS open_jeu_aprem_14, t0.open_ven_matin AS open_ven_matin_15, t0.open_ven_aprem AS open_ven_aprem_16, t0.open_sam_matin AS open_sam_matin_17, t0.open_sam_aprem AS open_sam_aprem_18, t0.open_dim_matin AS open_dim_matin_19, t0.open_dim_aprem AS open_dim_aprem_20, t0.icon AS icon_21, t0.conditions_acces AS conditions_acces_22, t0.informations AS informations_23, t0.photo_1 AS photo_1_24, t0.photo_2 AS photo_2_25, t0.photo_3 AS photo_3_26, t0.visible AS visible_27, t0.id_tc_flux AS id_tc_flux_28, t0.id_tc_ville AS id_tc_ville_29 FROM decheterie t0 WHERE t0.id_tc_flux = ?
Parameters:
[
  443
]
1.86 ms
(5.91%)
2
SELECT v0_.annee AS annee_0 FROM valorisation v0_ WHERE v0_.id_tc_structure = ? GROUP BY v0_.annee ORDER BY v0_.annee ASC
Parameters:
[
  102
]
1.80 ms
(5.72%)
2
SELECT t0.id_objectif AS id_objectif_1, t0.id_tonnage AS id_tonnage_2, t0.annee AS annee_3, t0.tonnes AS tonnes_4, t0.habitants AS habitants_5, t0.id_tc_flux AS id_tc_flux_6, t0.id_tc_structure AS id_tc_structure_7 FROM objectif t0 WHERE t0.id_tc_flux = ?
Parameters:
[
  443
]
1.35 ms
(4.28%)
2
SELECT t0.id_tonnage AS id_tonnage_1, t0.annee AS annee_2, t0.tonnes AS tonnes_3, t0.habitants AS habitants_4, t0.id_tc_flux AS id_tc_flux_5, t0.id_tc_structure AS id_tc_structure_6 FROM tonnage t0 WHERE t0.id_tc_flux = ?
Parameters:
[
  443
]
1.29 ms
(4.09%)
2
SELECT t0.id_cout AS id_cout_1, t0.annee AS annee_2, t0.depense AS depense_3, t0.id_tc_structure AS id_tc_structure_4, t0.id_tc_flux AS id_tc_flux_5 FROM cout t0 WHERE t0.id_tc_flux = ?
Parameters:
[
  443
]
0.54 ms
(1.72%)
1
SELECT v0_.id_valorisation AS id_valorisation_0, v0_.annee AS annee_1, v0_.tonnes AS tonnes_2, v0_.filiere AS filiere_3, v0_.is_valorisation AS is_valorisation_4, v0_.id_tc_structure AS id_tc_structure_5 FROM valorisation v0_ WHERE v0_.id_tc_structure = ? AND v0_.annee = ?
Parameters:
[
  102
  2025
]

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\Tonnage 10
App\Entity\Objectif 8
App\Entity\Cout 8
App\Entity\Flux 2
App\Entity\Tc_structure 1

Entities Mapping

Class Mapping errors
App\Entity\Flux
  • The association App\Entity\Flux#valorisations refers to the owning side field App\Entity\Valorisation#flux which does not exist.
App\Entity\Tc_structure
  • The mappings App\Entity\Tc_structure#TcSignalementFile and App\Entity\TcSignalementsFiles#tcStructure are inconsistent with each other.
App\Entity\Decheterie No errors.
App\Entity\TcVille No errors.
App\Entity\Objectif No errors.
App\Entity\Pav No errors.
App\Entity\Tonnage No errors.
App\Entity\Valorisation No errors.
App\Entity\Actualite
  • The association App\Entity\Actualite#villesRattachees refers to the inverse side field App\Entity\TcVille#actualitesRattachees which does not exist.
App\Entity\Cout No errors.