Query Metrics

23 Database Queries
7 Different statements
14.00 ms Query time
0 Invalid entities
34 Managed entities

Grouped Statements

Show all queries

Time Count Info
3.01 ms
(21.47%)
6
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.description AS description_3, t0.contenu AS contenu_4, t0.produit_id AS produit_id_5 FROM produit_section t0 WHERE t0.produit_id = ?
Parameters:
[
  4
]
2.76 ms
(19.68%)
6
SELECT t0.id AS id_1, t0.file_name AS file_name_2, t0.produit_id AS produit_id_3 FROM produit_photo t0 WHERE t0.produit_id = ?
Parameters:
[
  4
]
2.44 ms
(17.43%)
6
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.description AS description_3, t0.contentu AS contentu_4 FROM produit_type t0 WHERE t0.id = ?
Parameters:
[
  8
]
2.08 ms
(14.89%)
2
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.code AS code_3 FROM pays t0 WHERE t0.id = ?
Parameters:
[
  2
]
1.91 ms
(13.63%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.type_id AS sclr_1 FROM produit p0_ LEFT JOIN produit_type p1_ ON p0_.type_id = p1_.id ORDER BY p0_.type_id DESC LIMIT 20
Parameters:
[]
1.08 ms
(7.73%)
1
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM produit p0_ LEFT JOIN produit_type p1_ ON p0_.type_id = p1_.id
Parameters:
[]
0.72 ms
(5.17%)
1
SELECT p0_.id AS id_0, p0_.titre AS titre_1, p0_.description AS description_2, p0_.contenu AS contenu_3, p0_.is_active AS is_active_4, p0_.pays_id AS pays_id_5, p0_.type_id AS type_id_6 FROM produit p0_ LEFT JOIN produit_type p1_ ON p0_.type_id = p1_.id WHERE p0_.id IN (?, ?, ?, ?, ?, ?) ORDER BY p0_.type_id DESC
Parameters:
[
  4
  1
  6
  5
  3
  2
]

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\ProduitSection 13
App\Entity\ProduitPhoto 7
App\Entity\Produit 6
App\Entity\ProduitType 6
App\Entity\Pays 2

Entities Mapping

Class Mapping errors
App\Entity\Produit No errors.
App\Entity\ProduitType No errors.
App\Entity\Pays No errors.
App\Entity\ProduitPhoto No errors.
App\Entity\ProduitSection No errors.
App\Entity\Commande No errors.