GET https://www.test.fluxxo.fr/client/sites/?interventionSitePage=13

Query Metrics

148 Database Queries
12 Different statements
42.85 ms Query time
2 Invalid entities
1609 Managed entities

Grouped Statements

Show all queries

Time Count Info
11.36 ms
(26.51%)
35
SELECT t0.id AS id_1, t0.etage AS etage_2, t0.numero AS numero_3, t0.type_id AS type_id_4, t0.pieces_nb AS pieces_nb_5, t0.reference AS reference_6, t0.surface AS surface_7, t0.occupant_id AS occupant_id_8, t0.intervention_site_id AS intervention_site_id_9 FROM lieu t0 WHERE t0.intervention_site_id = ? ORDER BY t0.etage ASC, t0.numero ASC
Parameters:
[
  853
]
9.41 ms
(21.96%)
35
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.prenom AS prenom_3, t0.email AS email_4, t0.telephone AS telephone_5, t0.fonction_id AS fonction_id_6, t0.bailleurs_id AS bailleurs_id_7, t0.client_id AS client_id_8 FROM contacts t0 INNER JOIN intervention_site_contacts ON t0.id = intervention_site_contacts.contacts_id WHERE intervention_site_contacts.intervention_site_id = ?
Parameters:
[
  853
]
7.71 ms
(17.99%)
35
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.rue AS rue_3, t0.code_postal AS code_postal_4, t0.ville AS ville_5, t0.pays AS pays_6, t0.complement AS complement_7, t0.latitude AS latitude_8, t0.longitude AS longitude_9, t0.the_type_id AS the_type_id_10 FROM adresses t0 WHERE t0.id = ?
Parameters:
[
  894
]
7.58 ms
(17.68%)
35
SELECT t0.id AS id_1, t0.information_acces AS information_acces_2, t0.commande_id AS commande_id_3, t0.intervention_site_id AS intervention_site_id_4, t0.contact_id AS contact_id_5 FROM commande_site t0 WHERE t0.intervention_site_id = ?
Parameters:
[
  853
]
2.18 ms
(5.10%)
1
SELECT count(DISTINCT i0_.id) AS sclr_0 FROM intervention_site i0_ LEFT JOIN adresses a1_ ON i0_.adresse_id = a1_.id WHERE i0_.client_id = ? AND i0_.bailleur_id = ?
Parameters:
[
  1
  29
]
1.66 ms
(3.86%)
1
SELECT DISTINCT i0_.id AS id_0 FROM intervention_site i0_ LEFT JOIN adresses a1_ ON i0_.adresse_id = a1_.id WHERE i0_.client_id = ? AND i0_.bailleur_id = ? LIMIT 35 OFFSET 420
Parameters:
[
  1
  29
]
0.67 ms
(1.57%)
1
SELECT b0_.id AS id_0, b0_.reference AS reference_1, b0_.raison_sociale AS raison_sociale_2, b0_.siret AS siret_3, b0_.reference_index AS reference_index_4, b0_.telephone AS telephone_5, b0_.logo AS logo_6, b0_.updated_at AS updated_at_7, b0_.email AS email_8, b0_.the_statut_id AS the_statut_id_9, b0_.secteurs_id AS secteurs_id_10, b0_.client_id AS client_id_11 FROM bailleurs b0_ LEFT JOIN bailleurs_adresses b2_ ON b0_.id = b2_.bailleurs_id LEFT JOIN adresses a1_ ON a1_.id = b2_.adresses_id WHERE b0_.client_id = ?
Parameters:
[
  1
]
0.63 ms
(1.48%)
1
SELECT i0_.id AS id_0, i0_.nom AS nom_1, i0_.the_statut_id AS the_statut_id_2, i0_.reference AS reference_3, i0_.reference_index AS reference_index_4, i0_.reference_bailleur AS reference_bailleur_5, i0_.bailleur_id AS bailleur_id_6, i0_.adresse_id AS adresse_id_7, i0_.client_id AS client_id_8, i0_.agence_id AS agence_id_9 FROM intervention_site i0_ LEFT JOIN adresses a1_ ON i0_.adresse_id = a1_.id WHERE i0_.client_id = ? AND i0_.bailleur_id = ? AND i0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1
  29
  853
  854
  855
  856
  857
  858
  859
  860
  861
  862
  863
  864
  865
  866
  867
  868
  869
  870
  871
  872
  873
  874
  875
  876
  877
  878
  879
  880
  881
  882
  883
  884
  885
  886
  887
]
0.61 ms
(1.43%)
1
SELECT t0.id AS id_4, t0.email AS email_5, t0.roles AS roles_6, t0.password AS password_7, t0.token_password AS token_password_8, t0.token_activate AS token_activate_9, t0.nom AS nom_10, t0.prenom AS prenom_11, t0.created_at AS created_at_12, t0.the_statut_id AS the_statut_id_13, t0.mobile AS mobile_14, t0.reference AS reference_15, t0.the_type_id AS the_type_id_16, t0.the_role_principal_id AS the_role_principal_id_17, t0.photo AS photo_18, t0.updated_at AS updated_at_19, t0.discr, t2.tarif_horaire AS tarif_horaire_20, t2.client_id AS client_id_21, t3.client_id AS client_id_22, t3.bailleur_id AS bailleur_id_23 FROM user t0 LEFT JOIN user_admin t1 ON t0.id = t1.id LEFT JOIN user_client t2 ON t0.id = t2.id LEFT JOIN user_bailleur t3 ON t0.id = t3.id WHERE t0.id = ?
Parameters:
[
  6
]
0.44 ms
(1.04%)
1
SELECT t0.id AS id_1, t0.the_action_id AS the_action_id_2, t0.the_user_role_id AS the_user_role_id_3, t0.the_module_id AS the_module_id_4 FROM permission t0 WHERE t0.the_user_role_id = ?
Parameters:
[
  "ROLE_CLIENT_DIRECTION"
]
0.32 ms
(0.76%)
1
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.raison_sociale AS raison_sociale_3, t0.siret AS siret_4, t0.reference_index AS reference_index_5, t0.telephone AS telephone_6, t0.logo AS logo_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.email AS email_10, t0.the_statut_id AS the_statut_id_11, t0.stripe_customer_id AS stripe_customer_id_12, t0.sous_domaine AS sous_domaine_13, t0.capital AS capital_14, t0.num_tva_intra AS num_tva_intra_15, t0.footer_devis AS footer_devis_16, t0.secteurs_id AS secteurs_id_17 FROM clients t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.27 ms
(0.63%)
1
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.raison_sociale AS raison_sociale_3, t0.siret AS siret_4, t0.reference_index AS reference_index_5, t0.telephone AS telephone_6, t0.logo AS logo_7, t0.updated_at AS updated_at_8, t0.email AS email_9, t0.the_statut_id AS the_statut_id_10, t0.secteurs_id AS secteurs_id_11, t0.client_id AS client_id_12 FROM bailleurs t0 WHERE t0.id = ?
Parameters:
[
  29
]

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\Lieu 728
App\Entity\Occupant 728
App\Entity\Permission 54
App\Entity\InterventionSite 35
App\Entity\Adresses 35
App\Entity\Bailleurs 26
App\Entity\User 1
App\Entity\Clients 1
App\Entity\Secteurs 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserAdmin No errors.
App\Entity\UserClient
  • The association App\Entity\UserClient#diagnosticTechnicien refers to the owning side field App\Entity\Diagnostic#technicien which does not exist.
App\Entity\UserBailleur No errors.
App\Entity\Clients No errors.
App\Entity\Bailleurs No errors.
App\Entity\Diagnostic No errors.
App\Entity\Intervention No errors.
App\Entity\Commande No errors.
App\Entity\Permission No errors.
App\Entity\Secteurs No errors.
App\Entity\Adresses No errors.
App\Entity\Contacts
  • The association App\Entity\Contacts#fonction refers to the inverse side field App\Entity\Fonctions#contacts which does not exist.
App\Entity\InterventionSite No errors.
App\Entity\Agence No errors.
App\Entity\Lieu No errors.
App\Entity\CommandeSite No errors.
App\Entity\Occupant No errors.
App\Entity\Fonctions No errors.