Query Metrics
799
Database Queries
22
Different statements
198.75 ms
Query time
7
Invalid entities
Grouped Statements
default connection
Time▼ | Count | Info |
---|---|---|
50.96 ms (25.64%) |
249 |
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:
[
1
]
|
43.19 ms (21.73%) |
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
]
|
38.17 ms (19.20%) |
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
]
|
22.38 ms (11.26%) |
2 |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
15.21 ms (7.65%) |
22 |
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:
[
297
]
|
5.16 ms (2.60%) |
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.25 ms (2.14%) |
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:
[] |
4.22 ms (2.12%) |
1 |
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM products p0_ LEFT JOIN products_translation p1_ ON p0_.id = p1_.translatable_id INNER JOIN product_brand p2_ ON p0_.brand_id = p2_.id INNER JOIN products_categories_products p4_ ON p0_.id = p4_.products_id INNER JOIN products_categories p3_ ON p3_.id = p4_.products_categories_id INNER JOIN products_categories_translation p5_ ON p3_.id = p5_.translatable_id WHERE p0_.is_active = 1 AND p3_.id IN (?) AND p0_.price >= ? AND p0_.price <= ?
Parameters:
[ 1 1.0 100.0 ] |
3.10 ms (1.56%) |
1 |
SELECT DISTINCT p0_.id AS id_0, p0_.price AS price_1 FROM products p0_ LEFT JOIN products_translation p1_ ON p0_.id = p1_.translatable_id INNER JOIN product_brand p2_ ON p0_.brand_id = p2_.id INNER JOIN products_categories_products p4_ ON p0_.id = p4_.products_id INNER JOIN products_categories p3_ ON p3_.id = p4_.products_categories_id INNER JOIN products_categories_translation p5_ ON p3_.id = p5_.translatable_id WHERE p0_.is_active = 1 AND p3_.id IN (?) AND p0_.price >= ? AND p0_.price <= ? ORDER BY p0_.price ASC LIMIT 20
Parameters:
[ 1 1.0 100.0 ] |
2.32 ms (1.17%) |
1 |
SELECT p0_.id AS id_0, p0_.is_active AS is_active_1, p0_.pharmacode AS pharmacode_2, p0_.gtin AS gtin_3, p0_.price AS price_4, p0_.prevent_image_update AS prevent_image_update_5, p0_.has360 AS has360_6, p0_.has_back_image AS has_back_image_7, p0_.has_info_patient AS has_info_patient_8, p0_.has_info_pro AS has_info_pro_9, p0_.price_promotion AS price_promotion_10, p0_.start_promotion AS start_promotion_11, p0_.end_promotion AS end_promotion_12, p0_.prdno AS prdno_13, p0_.stock AS stock_14, p0_.recommanded AS recommanded_15, p0_.best_seller AS best_seller_16, p0_.custom_vente AS custom_vente_17, p0_.created_at AS created_at_18, p0_.updated_at AS updated_at_19, p0_.brand_id AS brand_id_20 FROM products p0_ LEFT JOIN products_translation p1_ ON p0_.id = p1_.translatable_id INNER JOIN product_brand p2_ ON p0_.brand_id = p2_.id INNER JOIN products_categories_products p4_ ON p0_.id = p4_.products_id INNER JOIN products_categories p3_ ON p3_.id = p4_.products_categories_id INNER JOIN products_categories_translation p5_ ON p3_.id = p5_.translatable_id WHERE p0_.is_active = 1 AND p3_.id IN (?) AND p0_.price >= ? AND p0_.price <= ? AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.price ASC
Parameters:
[ 1 1.0 100.0 297 5673 7450 490 8172 8169 8170 8171 3107 6775 5346 3195 6146 145 8192 585 2709 3755 5778 5763 ] |
1.76 ms (0.89%) |
4 |
SELECT DATABASE()
Parameters:
[] |
1.58 ms (0.80%) |
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 14:11:57" ] |
1.52 ms (0.76%) |
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 p1_ ON p0_.parent_id = p1_.id LEFT JOIN products_categories_translation p2_ ON p0_.id = p2_.translatable_id WHERE p0_.id = ?
Parameters:
[
1
]
|
1.20 ms (0.61%) |
9 |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_KEYWORD"
]
|
0.79 ms (0.40%) |
1 |
SELECT p0_.id AS id_0, p1_.name AS name_1, p1_.locale AS locale_2, p2_.id AS id_3 FROM products_categories p0_ LEFT JOIN products_categories p2_ ON p0_.parent_id = p2_.id LEFT JOIN products_categories_translation p1_ ON p0_.id = p1_.translatable_id WHERE p0_.parent_id = ? AND p1_.locale = ?
Parameters:
[ 1 "fr" ] |
0.69 ms (0.35%) |
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
Parameters:
[] |
0.68 ms (0.34%) |
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.54 ms (0.27%) |
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.32 ms (0.16%) |
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"
]
|
0.30 ms (0.15%) |
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.24 ms (0.12%) |
1 |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
0.15 ms (0.07%) |
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
]
|
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\Categories\ProductsCategoriesTranslation | No errors. |
App\Entity\PromotionalCode\PromotionalCodeProductsCategories | No errors. |
App\Entity\Gift\OrderGiftItems | No errors. |
App\Entity\Products\ProductsTranslation | No errors. |
App\Entity\Products\ProductBrand | 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\PromotionalCode\PromotionalCode |
|
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\PromotionalCode\PromotionalCodeBrand |
|
App\Entity\Products\Associated\AssociatedProducts | No errors. |
App\Entity\Products\Attribut\AttributTitleTranslation | No errors. |
App\Entity\Products\Attribut\AttributTermsTranslation | 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. |