Query Metrics
20
Database Queries
13
Different statements
5.46 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.69 ms (30.91%) |
8 |
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url_img AS url_img_3, t0.id_categorie AS id_categorie_4 FROM sous_categories t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
9
]
|
||||||||||||||||||||||||||
0.48 ms (8.77%) |
1 |
SELECT s0_.id AS id_0 FROM sous_categories s0_ WHERE s0_.id_categorie = ? OR s0_.id_categorie = ?
Parameters:
[ 1 2 ]
|
||||||||||||||||||||||||||
0.42 ms (7.60%) |
1 |
SELECT t0.id AS id_1, t0.date_ajout AS date_ajout_2, t0.titre AS titre_3, t0.ref AS ref_4, t0.description AS description_5, t0.prix_achat AS prix_achat_6, t0.marge AS marge_7, t0.prix_ht AS prix_ht_8, t0.prix_ttc AS prix_ttc_9, t0.tva AS tva_10, t0.prix_promo AS prix_promo_11, t0.prix_pro AS prix_pro_12, t0.prix_pro_ttc AS prix_pro_ttc_13, t0.min_qte AS min_qte_14, t0.unite AS unite_15, t0.img_principale AS img_principale_16, t0.id_sous_categorie AS id_sous_categorie_17, t0.etat AS etat_18, t0.ordre AS ordre_19 FROM articles t0 WHERE t0.id_sous_categorie IN (?, ?, ?) AND t0.etat = ? LIMIT 8
Parameters:
[ 5 9 10 1 ]
|
||||||||||||||||||||||||||
0.41 ms (7.43%) |
1 |
SELECT a0_.id AS id_0, a0_.date_ajout AS date_ajout_1, a0_.titre AS titre_2, a0_.ref AS ref_3, a0_.description AS description_4, a0_.prix_achat AS prix_achat_5, a0_.marge AS marge_6, a0_.prix_ht AS prix_ht_7, a0_.prix_ttc AS prix_ttc_8, a0_.tva AS tva_9, a0_.prix_promo AS prix_promo_10, a0_.prix_pro AS prix_pro_11, a0_.prix_pro_ttc AS prix_pro_ttc_12, a0_.min_qte AS min_qte_13, a0_.unite AS unite_14, a0_.img_principale AS img_principale_15, a0_.id_sous_categorie AS id_sous_categorie_16, a0_.etat AS etat_17, a0_.ordre AS ordre_18, s1_.titre AS titre_19 FROM articles a0_ INNER JOIN sous_categories s1_ ON (a0_.id_sous_categorie = s1_.id) WHERE a0_.prix_promo > 0 AND a0_.prix_promo < a0_.prix_ttc AND a0_.etat = 1 LIMIT 20
Parameters:
[]
|
||||||||||||||||||||||||||
0.38 ms (6.96%) |
1 |
SELECT a0_.id AS id_0, a0_.date_ajout AS date_ajout_1, a0_.titre AS titre_2, a0_.ref AS ref_3, a0_.description AS description_4, a0_.prix_achat AS prix_achat_5, a0_.marge AS marge_6, a0_.prix_ht AS prix_ht_7, a0_.prix_ttc AS prix_ttc_8, a0_.tva AS tva_9, a0_.prix_promo AS prix_promo_10, a0_.prix_pro AS prix_pro_11, a0_.prix_pro_ttc AS prix_pro_ttc_12, a0_.min_qte AS min_qte_13, a0_.unite AS unite_14, a0_.img_principale AS img_principale_15, a0_.id_sous_categorie AS id_sous_categorie_16, a0_.etat AS etat_17, a0_.ordre AS ordre_18 FROM articles a0_ WHERE a0_.prix_promo > 0 AND a0_.prix_promo < a0_.prix_ttc AND a0_.etat = 1 ORDER BY a0_.date_ajout DESC LIMIT 1
Parameters:
[]
|
||||||||||||||||||||||||||
0.35 ms (6.34%) |
1 |
SELECT a0_.id AS id_0, a0_.date_ajout AS date_ajout_1, a0_.titre AS titre_2, a0_.ref AS ref_3, a0_.description AS description_4, a0_.prix_achat AS prix_achat_5, a0_.marge AS marge_6, a0_.prix_ht AS prix_ht_7, a0_.prix_ttc AS prix_ttc_8, a0_.tva AS tva_9, a0_.prix_promo AS prix_promo_10, a0_.prix_pro AS prix_pro_11, a0_.prix_pro_ttc AS prix_pro_ttc_12, a0_.min_qte AS min_qte_13, a0_.unite AS unite_14, a0_.img_principale AS img_principale_15, a0_.id_sous_categorie AS id_sous_categorie_16, a0_.etat AS etat_17, a0_.ordre AS ordre_18, s1_.titre AS titre_19 FROM articles a0_ INNER JOIN sous_categories s1_ ON (a0_.id_sous_categorie = s1_.id)
Parameters:
[]
|
||||||||||||||||||||||||||
0.33 ms (6.10%) |
1 |
SELECT s0_.id AS id_0, s0_.titre AS titre_1, s0_.url_img AS url_img_2, s0_.id_categorie AS id_categorie_3 FROM sous_categories s0_ WHERE s0_.id IN (SELECT a1_.id_sous_categorie FROM articles a1_)
Parameters:
[]
|
||||||||||||||||||||||||||
0.29 ms (5.29%) |
1 |
SELECT t0.id AS id_1, t0.date_ajout AS date_ajout_2, t0.titre AS titre_3, t0.ref AS ref_4, t0.description AS description_5, t0.prix_achat AS prix_achat_6, t0.marge AS marge_7, t0.prix_ht AS prix_ht_8, t0.prix_ttc AS prix_ttc_9, t0.tva AS tva_10, t0.prix_promo AS prix_promo_11, t0.prix_pro AS prix_pro_12, t0.prix_pro_ttc AS prix_pro_ttc_13, t0.min_qte AS min_qte_14, t0.unite AS unite_15, t0.img_principale AS img_principale_16, t0.id_sous_categorie AS id_sous_categorie_17, t0.etat AS etat_18, t0.ordre AS ordre_19 FROM articles t0 WHERE t0.id_sous_categorie IN (?) AND t0.etat = ? LIMIT 6
Parameters:
[ 4 1 ]
|
||||||||||||||||||||||||||
0.27 ms (4.96%) |
1 |
SELECT t0.id AS id_1, t0.date_ajout AS date_ajout_2, t0.titre AS titre_3, t0.ref AS ref_4, t0.description AS description_5, t0.prix_achat AS prix_achat_6, t0.marge AS marge_7, t0.prix_ht AS prix_ht_8, t0.prix_ttc AS prix_ttc_9, t0.tva AS tva_10, t0.prix_promo AS prix_promo_11, t0.prix_pro AS prix_pro_12, t0.prix_pro_ttc AS prix_pro_ttc_13, t0.min_qte AS min_qte_14, t0.unite AS unite_15, t0.img_principale AS img_principale_16, t0.id_sous_categorie AS id_sous_categorie_17, t0.etat AS etat_18, t0.ordre AS ordre_19 FROM articles t0 WHERE t0.id_sous_categorie = ? AND t0.etat = ? LIMIT 4
Parameters:
[ 6 1 ]
|
||||||||||||||||||||||||||
0.22 ms (4.05%) |
1 |
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url_img AS url_img_3 FROM categories t0
Parameters:
[]
|
||||||||||||||||||||||||||
0.22 ms (3.99%) |
1 |
SELECT t0.id AS id_1, t0.img AS img_2, t0.ordre AS ordre_3, t0.url AS url_4, t0.titre AS titre_5 FROM slider t0
Parameters:
[]
|
||||||||||||||||||||||||||
0.22 ms (3.95%) |
1 |
SELECT s0_.id AS id_0 FROM sous_categories s0_ WHERE s0_.id_categorie = ?
Parameters:
[
3
]
|
||||||||||||||||||||||||||
0.20 ms (3.66%) |
1 |
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.url_img AS url_img_3, t0.id_categorie AS id_categorie_4 FROM sous_categories t0 WHERE t0.id_categorie = ?
Parameters:
[
4
]
|
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.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\SousCategories | No errors. |
App\Entity\Articles | No errors. |
App\Entity\Categories | No errors. |
App\Entity\Slider | No errors. |