Query Metrics
3
Database Queries
3
Different statements
610.77 ms
Query time
0
Invalid entities
1
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 10.24 ms |
SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.roles AS roles_4, t0.civilite AS civilite_5, t0.nom AS nom_6, t0.prenom AS prenom_7, t0.mail AS mail_8, t0.is_active AS is_active_9, t0.date_connexion AS date_connexion_10, t0.contrat_fin AS contrat_fin_11, t0.avatar AS avatar_12, t0.id_agence AS id_agence_13 FROM utilisateur t0 WHERE t0.id = ?
Parameters:
[
2
]
|
||||||||||||||||||
| 2 | 144.36 ms |
SELECT count(DISTINCT p.id_pulverisateur) FROM search_pulverisateurs p LEFT JOIN possession poss ON poss.id_pulverisateur = p.id_pulverisateur LEFT JOIN compte cpt ON poss.id_compte = cpt.id_compte LEFT JOIN ( SELECT id_pulverisateur, SUM(quotepart) AS total_quotepart, count(*) AS nb_proprietaires FROM possession GROUP BY id_pulverisateur ) qp ON qp.id_pulverisateur = p.id_pulverisateur LEFT JOIN ( -- Propriétaires agrégés : « id_compte::nom » séparés par « || » SELECT poss2.id_pulverisateur, string_agg(cpt2.id_compte || '::' || cpt2.nom, '||' ORDER BY cpt2.nom) AS comptes FROM possession poss2 JOIN compte cpt2 ON cpt2.id_compte = poss2.id_compte GROUP BY poss2.id_pulverisateur ) pc ON pc.id_pulverisateur = p.id_pulverisateur
Parameters:
[]
|
||||||||||||||||||
| 3 | 456.17 ms |
SELECT * FROM ( SELECT DISTINCT ON (p.id_pulverisateur) p.*, poss.quotepart, COALESCE(qp.total_quotepart, 0) AS total_quotepart, COALESCE(qp.nb_proprietaires, 0) AS nb_proprietaires, COALESCE(pc.comptes, '') AS comptes FROM search_pulverisateurs p LEFT JOIN possession poss ON poss.id_pulverisateur = p.id_pulverisateur LEFT JOIN compte cpt ON poss.id_compte = cpt.id_compte LEFT JOIN ( SELECT id_pulverisateur, SUM(quotepart) AS total_quotepart, count(*) AS nb_proprietaires FROM possession GROUP BY id_pulverisateur ) qp ON qp.id_pulverisateur = p.id_pulverisateur LEFT JOIN ( -- Propriétaires agrégés : « id_compte::nom » séparés par « || » SELECT poss2.id_pulverisateur, string_agg(cpt2.id_compte || '::' || cpt2.nom, '||' ORDER BY cpt2.nom) AS comptes FROM possession poss2 JOIN compte cpt2 ON cpt2.id_compte = poss2.id_compte GROUP BY poss2.id_pulverisateur ) pc ON pc.id_pulverisateur = p.id_pulverisateur ORDER BY p.id_pulverisateur DESC ) t LIMIT 50 OFFSET 0
Parameters:
[]
|
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\Utilisateur | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Utilisateur | No errors. |