Query Metrics
38
Database Queries
25
Different statements
9.58 ms
Query time
1
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.81 ms (8.40%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.is_active = ? ORDER BY t0.ordre ASC
Parameters:
[
1
]
|
|
0.73 ms (7.66%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN product_group_sub_category ON t0.id = product_group_sub_category.sub_category_id WHERE product_group_sub_category.product_group_id = ?
Parameters:
[
178
]
|
|
0.73 ms (7.58%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN product_group_category ON t0.id = product_group_category.category_id WHERE product_group_category.product_group_id = ?
Parameters:
[
178
]
|
|
0.71 ms (7.42%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.is_active AS is_active_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.created_at AS created_at_7, t0.brand_id AS brand_id_8, t0.unit_price_id AS unit_price_id_9 FROM product_group t0 WHERE t0.id = ?
Parameters:
[
178
]
|
|
0.65 ms (6.84%) |
3 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.sub_category_id WHERE sub_category_category.category_id = ?
Parameters:
[
7
]
|
|
0.51 ms (5.31%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.category_id WHERE sub_category_category.sub_category_id = ?
Parameters:
[
3
]
|
|
0.44 ms (4.58%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.ordre AS ordre_2, c0_.image AS image_3, c0_.seo_titre AS seo_titre_4, c0_.seo_description AS seo_description_5, c0_.slug AS slug_6, c0_.is_active AS is_active_7, c0_.created_at AS created_at_8 FROM category c0_ INNER JOIN product_group_category p2_ ON c0_.id = p2_.category_id INNER JOIN product_group p1_ ON p1_.id = p2_.product_group_id INNER JOIN product_group_sub_category p4_ ON p1_.id = p4_.product_group_id INNER JOIN sub_category s3_ ON s3_.id = p4_.sub_category_id INNER JOIN product p5_ ON p1_.id = p5_.product_group_id WHERE c0_.is_active = 1 AND s3_.id = ? AND p5_.is_active = 1 GROUP BY c0_.id
Parameters:
[
11
]
|
|
0.42 ms (4.42%) |
1 |
SELECT b0_.id AS id_0, b0_.titre AS titre_1, b0_.sous_titre AS sous_titre_2, b0_.image AS image_3, b0_.button_text AS button_text_4, b0_.button_class AS button_class_5, b0_.page AS page_6, b0_.custom_url AS custom_url_7, b0_.is_active AS is_active_8, b0_.ordre AS ordre_9, b0_.date_debut AS date_debut_10, b0_.date_fin AS date_fin_11, b0_.created_at AS created_at_12, b0_.updated_at AS updated_at_13, b0_.category_id AS category_id_14, b0_.sub_category_id AS sub_category_id_15, b0_.product_id AS product_id_16 FROM banner_product b0_ WHERE b0_.page = ? AND b0_.is_active = 1 AND ((b0_.date_debut IS NULL OR b0_.date_debut <= ?)) AND ((b0_.date_fin IS NULL OR b0_.date_fin >= ?)) ORDER BY b0_.ordre ASC LIMIT 1
Parameters:
[ "category" "2025-12-10 01:22:16" "2025-12-10 01:22:16" ] |
|
0.39 ms (4.12%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ INNER JOIN product_group p1_ ON p0_.product_group_id = p1_.id INNER JOIN product_group_sub_category p3_ ON p1_.id = p3_.product_group_id INNER JOIN sub_category s2_ ON s2_.id = p3_.sub_category_id WHERE p0_.is_active = 1 AND s2_.id = ?
Parameters:
[
11
]
|
|
0.35 ms (3.69%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.created_at AS created_at_4, t0.code_coleur AS code_coleur_5, t0.unite_id AS unite_id_6 FROM unite_detail t0 WHERE t0.id = ?
Parameters:
[
144
]
|
|
0.34 ms (3.59%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.position AS position_4, t0.created_at AS created_at_5, t0.is_price_unit AS is_price_unit_6 FROM unite t0 WHERE t0.id = ?
Parameters:
[
10
]
|
|
0.34 ms (3.51%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ INNER JOIN product_group p1_ ON p0_.product_group_id = p1_.id INNER JOIN product_group_sub_category p3_ ON p1_.id = p3_.product_group_id INNER JOIN sub_category s2_ ON s2_.id = p3_.sub_category_id WHERE s2_.id = ? AND p0_.is_active = 1 ORDER BY p0_.ordre ASC
Parameters:
[
11
]
|
|
0.33 ms (3.48%) |
1 |
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.ordre AS ordre_2, u0_.created_at AS created_at_3, u0_.code_coleur AS code_coleur_4, u0_.unite_id AS unite_id_5 FROM unite_detail u0_ INNER JOIN product p1_ ON u0_.id = p1_.unit_detail_base_price_id INNER JOIN unite u2_ ON u0_.unite_id = u2_.id INNER JOIN product_group p3_ ON p1_.product_group_id = p3_.id INNER JOIN product_group_sub_category p5_ ON p3_.id = p5_.product_group_id INNER JOIN sub_category s4_ ON s4_.id = p5_.sub_category_id WHERE p1_.is_active = 1 AND s4_.id = ? ORDER BY u2_.name ASC, u0_.name ASC
Parameters:
[
11
]
|
|
0.31 ms (3.28%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"drainant"
]
|
|
0.30 ms (3.09%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ WHERE p0_.is_active = 1 ORDER BY p0_.ordre ASC LIMIT 3
Parameters:
[] |
|
0.29 ms (3.02%) |
1 |
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.adresse AS adresse_3, t0.whatsapp AS whatsapp_4, t0.mobile AS mobile_5, t0.fixe AS fixe_6, t0.facebook AS facebook_7, t0.linkedin AS linkedin_8, t0.youtube AS youtube_9, t0.instagram AS instagram_10, t0.email AS email_11, t0.image AS image_12, t0.created_at AS created_at_13, t0.tik_tok AS tik_tok_14, t0.email_commande AS email_commande_15, t0.gouvernorat_id AS gouvernorat_id_16, t0.citie_id AS citie_id_17, t0.town_id AS town_id_18 FROM entreprise t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.28 ms (2.95%) |
1 |
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.ordre AS ordre_2, u0_.created_at AS created_at_3, u0_.code_coleur AS code_coleur_4, u0_.unite_id AS unite_id_5 FROM unite_detail u0_ INNER JOIN product p1_ ON u0_.id = p1_.unit_detail_id INNER JOIN product_group p2_ ON p1_.product_group_id = p2_.id INNER JOIN product_group_sub_category p4_ ON p2_.id = p4_.product_group_id INNER JOIN sub_category s3_ ON s3_.id = p4_.sub_category_id WHERE p1_.is_active = 1 AND s3_.id = ? GROUP BY u0_.id
Parameters:
[
11
]
|
|
0.27 ms (2.86%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ WHERE p0_.is_active = ? AND p0_.stock > ? ORDER BY p0_.created_at DESC LIMIT 3
Parameters:
[ 1 0 ] |
|
0.24 ms (2.51%) |
1 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.ordre AS ordre_2, c0_.image AS image_3, c0_.seo_titre AS seo_titre_4, c0_.seo_description AS seo_description_5, c0_.slug AS slug_6, c0_.is_active AS is_active_7, c0_.created_at AS created_at_8 FROM category c0_ WHERE c0_.is_active = 1 ORDER BY c0_.ordre ASC LIMIT 1
Parameters:
[] |
|
0.22 ms (2.24%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"produits"
]
|
|
0.20 ms (2.10%) |
1 |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.ordre AS ordre_2, s0_.seo_titre AS seo_titre_3, s0_.seo_description AS seo_description_4, s0_.image AS image_5, s0_.slug AS slug_6, s0_.is_active AS is_active_7, s0_.created_at AS created_at_8 FROM sub_category s0_ WHERE s0_.is_active = 1 ORDER BY s0_.ordre ASC LIMIT 2
Parameters:
[] |
|
0.19 ms (1.94%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.zip_code AS zip_code_3, t0.citie_id AS citie_id_4, t0.gouvernorat_id AS gouvernorat_id_5 FROM town t0 WHERE t0.id = ?
Parameters:
[
105
]
|
|
0.18 ms (1.86%) |
1 |
SELECT f0_.id AS id_0, f0_.question AS question_1, f0_.answer AS answer_2, f0_.position AS position_3, f0_.is_active AS is_active_4, f0_.created_at AS created_at_5, f0_.updated_at AS updated_at_6 FROM faq f0_ WHERE f0_.is_active = ? ORDER BY f0_.position ASC, f0_.created_at DESC
Parameters:
[
1
]
|
|
0.17 ms (1.78%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.frais_livraison AS frais_livraison_3 FROM gouvernorat t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.17 ms (1.77%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.gouvernorat_id AS gouvernorat_id_3 FROM citie t0 WHERE t0.id = ?
Parameters:
[
3
]
|
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\SubCategory | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\ProductGroup | No errors. |
| App\Entity\CodePromo | No errors. |
| App\Entity\Product |
|
| App\Entity\UniteDetail | No errors. |
| App\Entity\Entreprise | No errors. |
| App\Entity\Gouvernorat | No errors. |
| App\Entity\Citie | No errors. |
| App\Entity\Town | No errors. |
| App\Entity\Unite | No errors. |
| App\Entity\User | No errors. |
| App\Entity\BannerProduct | No errors. |
| App\Entity\Brand | No errors. |
| App\Entity\Faq | No errors. |
| App\Entity\OrdersAddress | No errors. |