Query Metrics
8
Database Queries
5
Different statements
3.19 ms
Query time
1
Invalid entities
16
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1.08 ms (33.92%) |
4 |
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.titre AS titre_3, t0.id AS id_4 FROM projettype_translation t0 WHERE t0.id = ?
Parameters:
[
"1"
]
|
||||||||||||||||||||||||||||||||
|
1.08 ms (33.81%) |
1 |
SELECT ph.picpath, g.slug AS gallery_slug, p.slug AS project_slug, COALESCE(pt.titre, ptfr.titre, '') AS project_title FROM photos ph INNER JOIN gallery g ON g.id = ph.gallery_id INNER JOIN projet p ON p.id = g.projet_id LEFT JOIN projet_translation pt ON pt.id = p.id AND pt.lang = ? LEFT JOIN projet_translation ptfr ON ptfr.id = p.id AND ptfr.lang = 'fr' WHERE COALESCE(g.is_active, 0) = 1 AND COALESCE(p.is_publier, 0) = 1 ORDER BY ph.updated_at DESC, ph.id DESC LIMIT ?
Parameters:
[ "en" 10 ]
|
||||||||||||||||||||||||||||||||
|
0.53 ms (16.58%) |
1 |
SELECT a.id, a.slug, a.numoffre, a.file, a.dateprevue, a.datevisit, a.estimation, a.cautionnement, a.fraidossie, a.champ2, a.champ6, a.champ7, a.created_at, a.updated_at, COALESCE(NULLIF(t.objet,''), tfr.objet) AS objet FROM appeloffre a LEFT JOIN appeloffre_translation t ON t.id = a.id AND t.lang = ? LEFT JOIN appeloffre_translation tfr ON tfr.id = a.id AND tfr.lang = 'fr' WHERE a.publier = 1 ORDER BY a.created_at DESC LIMIT ? OFFSET ?
Parameters:
[ "en" 6 0 ]
|
||||||||||||||||||||||||||||||||
|
0.27 ms (8.61%) |
1 |
SELECT t0.id AS id_1, t0.color AS color_2, t0.background AS background_3, t0.position AS position_4, t0.is_publier AS is_publier_5, t0.slug AS slug_6, t0.image AS image_7 FROM projettype t0 WHERE t0.is_publier = ? ORDER BY t0.position ASC
Parameters:
[
true
]
|
||||||||||||||||||||||||||||||||
|
0.23 ms (7.08%) |
1 |
SELECT COUNT(*) FROM appeloffre a WHERE a.publier = 1
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\ProjettypeTranslation | 12 |
| App\Entity\Projettype | 4 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Projettype |
|
| App\Entity\ProjettypeTranslation | No errors. |
| App\Entity\Projet | No errors. |