Query Metrics
787
Database Queries
30
Different statements
143.33 ms
Query time
7
Invalid entities
Grouped Statements
default connection
Time▼ | Count | Info |
---|---|---|
38.76 ms (27.04%) |
248 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.meta_description AS meta_description_3, t0.meta_keyword AS meta_keyword_4, t0.slug AS slug_5, t0.image AS image_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.locale AS locale_9, t0.translatable_id AS translatable_id_10, t11.id AS id_12, t11.is_active AS is_active_13, t11.created_at AS created_at_14, t11.updated_at AS updated_at_15, t11.parent_id AS parent_id_16 FROM products_categories_translation t0 LEFT JOIN products_categories t11 ON t0.translatable_id = t11.id WHERE t0.translatable_id = ?
Parameters:
[
17
]
|
33.35 ms (23.27%) |
249 |
SELECT COUNT(p0_.id) AS sclr_0 FROM products_categories p1_ LEFT JOIN products_categories_products p2_ ON p1_.id = p2_.products_categories_id LEFT JOIN products p0_ ON p0_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
104
]
|
29.60 ms (20.65%) |
249 |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.parent_id AS parent_id_4 FROM products_categories p0_ LEFT JOIN products_categories p1_ ON p0_.parent_id = p1_.id WHERE p1_.id = ?
Parameters:
[
104
]
|
7.52 ms (5.25%) |
1 |
SELECT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME /*!50116 , c.UPDATE_RULE, c.DELETE_RULE */ FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE k /*!50116 INNER JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_NAME = 'doctrine_migration_versions' AND k.TABLE_SCHEMA = 'pisu_shop' /*!50116 AND c.CONSTRAINT_SCHEMA = 'pisu_shop' */ORDER BY k.ORDINAL_POSITION
Parameters:
[] |
4.93 ms (3.44%) |
5 |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Banner"
]
|
3.54 ms (2.47%) |
2 |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
2.55 ms (1.78%) |
1 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.pharmacode AS pharmacode_3, t0.gtin AS gtin_4, t0.price AS price_5, t0.prevent_image_update AS prevent_image_update_6, t0.has360 AS has360_7, t0.has_back_image AS has_back_image_8, t0.has_info_patient AS has_info_patient_9, t0.has_info_pro AS has_info_pro_10, t0.price_promotion AS price_promotion_11, t0.start_promotion AS start_promotion_12, t0.end_promotion AS end_promotion_13, t0.prdno AS prdno_14, t0.stock AS stock_15, t0.recommanded AS recommanded_16, t0.best_seller AS best_seller_17, t0.custom_vente AS custom_vente_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.brand_id AS brand_id_21, t22.id AS id_23, t22.name AS name_24, t22.description AS description_25, t22.meta_description AS meta_description_26, t22.meta_keyword AS meta_keyword_27, t22.slug AS slug_28, t22.image AS image_29, t22.created_at AS created_at_30, t22.updated_at AS updated_at_31, t22.locale AS locale_32, t22.translatable_id AS translatable_id_33 FROM products t0 LEFT JOIN products_translation t22 ON t22.translatable_id = t0.id WHERE t0.id = ?
Parameters:
[
3317
]
|
2.35 ms (1.64%) |
1 |
SELECT a0_.name AS name_0, a1_.name AS name_1, p2_.price AS price_2, p2_.id AS id_3 FROM products p3_ LEFT JOIN products_attributs_terms p2_ ON p3_.id = p2_.product_id LEFT JOIN attribut_terms a4_ ON p2_.attribut_terms_id = a4_.id LEFT JOIN attribut_terms_translation a0_ ON a4_.id = a0_.translatable_id LEFT JOIN attribut_title a5_ ON a4_.attribut_titles_id = a5_.id LEFT JOIN attribut_title_translation a1_ ON a5_.id = a1_.translatable_id WHERE p3_.id = ? AND a0_.locale = ? AND a1_.locale = ?
Parameters:
[ 3317 "fr" "fr" ] |
2.28 ms (1.59%) |
6 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.meta_description AS meta_description_4, t0.meta_keyword AS meta_keyword_5, t0.slug AS slug_6, t0.image AS image_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.locale AS locale_10, t0.translatable_id AS translatable_id_11, t12.id AS id_13, t12.is_active AS is_active_14, t12.pharmacode AS pharmacode_15, t12.gtin AS gtin_16, t12.price AS price_17, t12.prevent_image_update AS prevent_image_update_18, t12.has360 AS has360_19, t12.has_back_image AS has_back_image_20, t12.has_info_patient AS has_info_patient_21, t12.has_info_pro AS has_info_pro_22, t12.price_promotion AS price_promotion_23, t12.start_promotion AS start_promotion_24, t12.end_promotion AS end_promotion_25, t12.prdno AS prdno_26, t12.stock AS stock_27, t12.recommanded AS recommanded_28, t12.best_seller AS best_seller_29, t12.custom_vente AS custom_vente_30, t12.created_at AS created_at_31, t12.updated_at AS updated_at_32, t12.brand_id AS brand_id_33 FROM products_translation t0 LEFT JOIN products t12 ON t0.translatable_id = t12.id WHERE t0.translatable_id = ?
Parameters:
[
1
]
|
1.96 ms (1.37%) |
1 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.pharmacode AS pharmacode_3, t0.gtin AS gtin_4, t0.price AS price_5, t0.prevent_image_update AS prevent_image_update_6, t0.has360 AS has360_7, t0.has_back_image AS has_back_image_8, t0.has_info_patient AS has_info_patient_9, t0.has_info_pro AS has_info_pro_10, t0.price_promotion AS price_promotion_11, t0.start_promotion AS start_promotion_12, t0.end_promotion AS end_promotion_13, t0.prdno AS prdno_14, t0.stock AS stock_15, t0.recommanded AS recommanded_16, t0.best_seller AS best_seller_17, t0.custom_vente AS custom_vente_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.brand_id AS brand_id_21 FROM products t0 LIMIT 3
Parameters:
[] |
1.74 ms (1.22%) |
4 |
SELECT DATABASE()
Parameters:
[] |
1.68 ms (1.17%) |
1 |
SELECT o0_.id AS id_0, o0_.order_number AS order_number_1, o0_.price AS price_2, o0_.status AS status_3, o0_.shipping_name AS shipping_name_4, o0_.shipping_address AS shipping_address_5, o0_.shipping_postcode AS shipping_postcode_6, o0_.shipping_city AS shipping_city_7, o0_.invoce_name AS invoce_name_8, o0_.invode_address AS invode_address_9, o0_.invoce_postcode AS invoce_postcode_10, o0_.invoce_city AS invoce_city_11, o0_.comment AS comment_12, o0_.is_done AS is_done_13, o0_.user_id AS user_id_14, o0_.pharmacy_id AS pharmacy_id_15, o0_.created_at AS created_at_16, o0_.updated_at AS updated_at_17, o0_.shipping_type_id AS shipping_type_id_18, o0_.payment_method_id AS payment_method_id_19 FROM orders o0_ WHERE o0_.created_at BETWEEN ? AND ?
Parameters:
[ "2025-02-16 00:00:00" "2025-02-22 21:20:45" ] |
1.55 ms (1.08%) |
1 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.parent_id AS parent_id_5, t6.id AS id_7, t6.name AS name_8, t6.meta_description AS meta_description_9, t6.meta_keyword AS meta_keyword_10, t6.slug AS slug_11, t6.image AS image_12, t6.created_at AS created_at_13, t6.updated_at AS updated_at_14, t6.locale AS locale_15, t6.translatable_id AS translatable_id_16 FROM products_categories t0 LEFT JOIN products_categories_translation t6 ON t6.translatable_id = t0.id INNER JOIN products_categories_products ON t0.id = products_categories_products.products_categories_id WHERE products_categories_products.products_id = ?
Parameters:
[
3317
]
|
1.43 ms (1.00%) |
1 |
SELECT p0_.id AS id_0, p1_.name AS name_1, COUNT(o2_.id) AS sclr_2 FROM orders_products o2_ LEFT JOIN pharmacies_products p3_ ON o2_.pharmacies_products_id = p3_.id LEFT JOIN products p4_ ON p3_.product_id = p4_.id LEFT JOIN products_categories_products p5_ ON p4_.id = p5_.products_id LEFT JOIN products_categories p0_ ON p0_.id = p5_.products_categories_id INNER JOIN products_categories_translation p1_ ON p0_.id = p1_.translatable_id WHERE p1_.locale = ? GROUP BY p0_.id ORDER BY sclr_2 DESC LIMIT 5
Parameters:
[
"fr"
]
|
1.40 ms (0.98%) |
1 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.pharmacode AS pharmacode_3, t0.gtin AS gtin_4, t0.price AS price_5, t0.prevent_image_update AS prevent_image_update_6, t0.has360 AS has360_7, t0.has_back_image AS has_back_image_8, t0.has_info_patient AS has_info_patient_9, t0.has_info_pro AS has_info_pro_10, t0.price_promotion AS price_promotion_11, t0.start_promotion AS start_promotion_12, t0.end_promotion AS end_promotion_13, t0.prdno AS prdno_14, t0.stock AS stock_15, t0.recommanded AS recommanded_16, t0.best_seller AS best_seller_17, t0.custom_vente AS custom_vente_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.brand_id AS brand_id_21 FROM products t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
3317
]
|
1.21 ms (0.85%) |
1 |
SELECT o0_.id AS id_0 FROM orders o0_ LEFT JOIN orders_products o1_ ON o0_.id = o1_.orders_id LEFT JOIN pharmacies_products p2_ ON o1_.pharmacies_products_id = p2_.id LEFT JOIN products p3_ ON p2_.product_id = p3_.id WHERE p3_.id = ?
Parameters:
[
3317
]
|
1.20 ms (0.84%) |
1 |
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'pisu_shop' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ASC
Parameters:
[] |
0.83 ms (0.58%) |
1 |
SELECT p0_.id AS id_0, COUNT(p0_.id) AS sclr_1 FROM orders_products o1_ LEFT JOIN orders o2_ ON o1_.orders_id = o2_.id LEFT JOIN pharmacies_products p3_ ON o1_.pharmacies_products_id = p3_.id LEFT JOIN products p0_ ON p3_.product_id = p0_.id WHERE o2_.id IN (NULL) AND p0_.id NOT IN (?) GROUP BY p0_.id ORDER BY sclr_1 DESC LIMIT 4
Parameters:
[
3317
]
|
0.81 ms (0.56%) |
1 |
SELECT t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'doctrine_migration_versions'
Parameters:
[] |
0.67 ms (0.47%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_active AS is_active_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM product_brand t0 WHERE t0.id = ?
Parameters:
[
429
]
|
0.64 ms (0.45%) |
1 |
SELECT o0_.id AS id_0, o0_.type AS type_1, o0_.reference AS reference_2, o0_.min_order AS min_order_3, o0_.gift_type AS gift_type_4, o0_.image AS image_5, o0_.is_active AS is_active_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8 FROM order_gift o0_ LEFT JOIN order_gift_items o1_ ON o0_.id = o1_.order_gift_id WHERE o0_.type = ? AND o1_.product_id = ?
Parameters:
[ "PRODUCTS" 3317 ] |
0.60 ms (0.42%) |
1 |
SELECT COUNT(*) FROM products_prestations t0 WHERE t0.product_id = ?
Parameters:
[
3317
]
|
0.59 ms (0.41%) |
1 |
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'doctrine_migration_versions' AND TABLE_SCHEMA = 'pisu_shop' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[] |
0.58 ms (0.40%) |
2 |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.parent_id AS parent_id_4 FROM products_categories p0_ LEFT JOIN products_categories p1_ ON p0_.parent_id = p1_.id LEFT JOIN products_categories_translation p2_ ON p0_.id = p2_.translatable_id WHERE p0_.id = ?
Parameters:
[
120
]
|
0.50 ms (0.35%) |
1 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.product_id AS product_id_4, t0.recommanded_product_id AS recommanded_product_id_5 FROM products_recommanded t0 WHERE t0.product_id = ?
Parameters:
[
3317
]
|
0.29 ms (0.20%) |
1 |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.created_at AS created_at_2, p0_.updated_at AS updated_at_3, p0_.parent_id AS parent_id_4 FROM products_categories p0_ LEFT JOIN products_categories_translation p1_ ON p0_.id = p1_.translatable_id WHERE p0_.parent_id IS NULL ORDER BY p1_.name ASC
Parameters:
[] |
0.28 ms (0.19%) |
1 |
SELECT o0_.id AS id_0, o0_.type AS type_1, o0_.reference AS reference_2, o0_.min_order AS min_order_3, o0_.gift_type AS gift_type_4, o0_.image AS image_5, o0_.is_active AS is_active_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8 FROM order_gift o0_ LEFT JOIN order_gift_items o1_ ON o0_.id = o1_.order_gift_id WHERE o0_.type = ? AND o1_.brand_id = ?
Parameters:
[ "BRAND" 429 ] |
0.19 ms (0.13%) |
1 |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
0.18 ms (0.12%) |
1 |
SELECT t0.id AS id_1, t0.content AS content_2, t0.locale AS locale_3, t0.translatable_id AS translatable_id_4, t5.id AS id_6, t5.type AS type_7 FROM app_text_translation t0 LEFT JOIN app_text t5 ON t0.translatable_id = t5.id WHERE t0.translatable_id = ?
Parameters:
[
2
]
|
0.13 ms (0.09%) |
1 |
SELECT o0_.id AS id_0, o0_.type AS type_1, o0_.reference AS reference_2, o0_.min_order AS min_order_3, o0_.gift_type AS gift_type_4, o0_.image AS image_5, o0_.is_active AS is_active_6, o0_.created_at AS created_at_7, o0_.updated_at AS updated_at_8 FROM order_gift o0_ LEFT JOIN order_gift_items o1_ ON o0_.id = o1_.order_gift_id WHERE o0_.type = ? AND o1_.categories_id IN (?)
Parameters:
[ "CATEGORIES" 120 ] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
pharmonline | doctrine.dbal.pharmonline_connection |
Entity Managers
Name | Service |
---|---|
pharmonline | doctrine.orm.pharmonline_entity_manager |
default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
pharmonline entity manager
Class | Mapping errors |
---|---|
App\EntityPharmonline\Users | No errors. |
default entity manager
Class | Mapping errors |
---|---|
App\Entity\Superadmin | No errors. |
App\Entity\Orders\Orders | No errors. |
App\Entity\Pharmacies\PharmacyShippingMethod | No errors. |
App\Entity\Pharmacies\PharmacyPaymentMethod | No errors. |
App\Entity\PharmacyNotification | No errors. |
App\Entity\Orders\OrdersProducts | No errors. |
App\Entity\Products\Categories\ProductsCategories |
|
App\Entity\Products\Products |
|
App\Entity\Pharmacies\Pharmacies |
|
App\Entity\Products\Attribut\ProductsAttributsTerms | No errors. |
App\Entity\Gift\OrderGift | No errors. |
App\Entity\AppText | No errors. |
App\Entity\Products\ProductBrand | No errors. |
App\Entity\Products\ProductsTranslation | No errors. |
App\Entity\Products\Associated\AssociatedProductsProducts | No errors. |
App\Entity\Products\Attribut\AttributTitle |
|
App\Entity\Products\Attribut\AttributTerms |
|
App\Entity\Pharmacies\PharmaciesProducts | No errors. |
App\Entity\PromotionalCode\PromotionalCodeProducts | No errors. |
App\Entity\Products\ProductsPrestations | No errors. |
App\Entity\Products\ProductsRecommanded | No errors. |
App\Entity\Gift\OrderGiftItems | No errors. |
App\Entity\PromotionalCode\PromotionalCode |
|
App\Entity\Products\Categories\ProductsCategoriesTranslation | No errors. |
App\Entity\PromotionalCode\PromotionalCodeProductsCategories | No errors. |
App\Entity\Products\Attribut\AttributTermsTranslation | No errors. |
App\Entity\Products\Attribut\AttributTitleTranslation | No errors. |
App\Entity\PromotionalCode\PromotionalCodeBrand |
|
App\Entity\AppTextTranslation | No errors. |
App\Entity\Orders\OrdersPayment | No errors. |
App\Entity\Orders\OrdersPrestations | No errors. |
App\Entity\Application\ShippingMethod | No errors. |
App\Entity\Pharmacies\PharmacyShippingMethodTranslation | No errors. |
App\Entity\Application\PaymentMethod | No errors. |
App\Entity\Pharmacists | No errors. |
App\Entity\Gift\OrderGiftTranslation | No errors. |
App\Entity\Products\Associated\AssociatedProducts | No errors. |
App\Entity\PromotionalCode\PromotionalCodeTranslation | No errors. |
App\Entity\Application\ShippingMethodTranslation | No errors. |
App\Entity\Application\PaymentMethodTranslation | No errors. |
App\Entity\Products\Associated\AssociatedProductsTranslation | No errors. |