https://shop.playdigital.ch/de/blog/que-contient-le-nouveau-plan-antitabac

Query Metrics

777 Database Queries
19 Different statements
345.79 ms Query time
7 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
131.93 ms
(38.15%)
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
]
95.89 ms
(27.73%)
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:
[
  104
]
67.98 ms
(19.66%)
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
]
8.25 ms
(2.39%)
1
SELECT b0_.id AS id_0, b0_.is_active AS is_active_1, b0_.created_at AS created_at_2, b0_.updated_at AS updated_at_3 FROM blog b0_ INNER JOIN blog_translation b1_ ON b0_.id = b1_.translatable_id WHERE b0_.is_active = 1 AND b1_.slug = ? ORDER BY b0_.created_at DESC LIMIT 1
Parameters:
[
  "que-contient-le-nouveau-plan-antitabac"
]
8.10 ms
(2.34%)
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:
[]
6.21 ms
(1.80%)
3
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6, t7.id AS id_8, t7.is_active AS is_active_9, t7.created_at AS created_at_10, t7.updated_at AS updated_at_11 FROM blog_categories_translation t0 LEFT JOIN blog_categories t7 ON t0.translatable_id = t7.id WHERE t0.translatable_id = ?
Parameters:
[
  3
]
4.21 ms
(1.22%)
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, t5.id AS id_6, t5.title AS title_7, t5.created_at AS created_at_8, t5.updated_at AS updated_at_9, t5.locale AS locale_10, t5.translatable_id AS translatable_id_11 FROM blog_categories t0 LEFT JOIN blog_categories_translation t5 ON t5.translatable_id = t0.id INNER JOIN blog_blog_categories ON t0.id = blog_blog_categories.blog_categories_id WHERE blog_blog_categories.blog_id = ?
Parameters:
[
  2
]
3.68 ms
(1.06%)
9
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
  "HEADER_KEYWORD"
]
3.62 ms
(1.05%)
2
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[]
3.13 ms
(0.91%)
1
SELECT b0_.id AS id_0, b0_.is_active AS is_active_1, b0_.created_at AS created_at_2, b0_.updated_at AS updated_at_3 FROM blog_categories b0_ WHERE b0_.is_active = 1 ORDER BY b0_.created_at DESC
Parameters:
[]
2.56 ms
(0.74%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.slug AS slug_4, t0.image AS image_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.locale AS locale_8, t0.translatable_id AS translatable_id_9, t10.id AS id_11, t10.is_active AS is_active_12, t10.created_at AS created_at_13, t10.updated_at AS updated_at_14 FROM blog_translation t0 LEFT JOIN blog t10 ON t0.translatable_id = t10.id WHERE t0.translatable_id = ?
Parameters:
[
  2
]
2.48 ms
(0.72%)
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:
[
  "de"
]
2.10 ms
(0.61%)
4
SELECT DATABASE()
Parameters:
[]
2.03 ms
(0.59%)
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:
[]
1.52 ms
(0.44%)
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.68 ms
(0.20%)
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.67 ms
(0.19%)
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.53 ms
(0.15%)
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.21 ms
(0.06%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]

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\Blog\BlogCategories No errors.
App\Entity\Blog\Blog No errors.
App\Entity\Blog\BlogTranslation No errors.
App\Entity\Blog\BlogCategoriesTranslation No errors.
App\Entity\PharmacyNotification No errors.
App\Entity\Orders\OrdersProducts No errors.
App\Entity\Orders\Orders No errors.
App\Entity\Products\Categories\ProductsCategories
  • The field App\Entity\Products\Categories\ProductsCategories#parent is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Products\Categories\ProductsCategories#parent does not contain the required 'mappedBy="parent"' attribute.
  • If association App\Entity\Products\Categories\ProductsCategories#parent is many-to-one, then the inversed side App\Entity\Products\Categories\ProductsCategories#parent has to be one-to-many.
App\Entity\Products\Products
  • The mappings App\Entity\Products\Products#customAttributTitles and App\Entity\Products\Attribut\AttributTitle#product are inconsistent with each other.
App\Entity\Pharmacies\Pharmacies
  • The association App\Entity\Pharmacies\Pharmacies#paymentMethods refers to the owning side field App\Entity\Pharmacies\PharmacyPaymentMethod#pharmacies which does not exist.
  • The association App\Entity\Pharmacies\Pharmacies#shippingMethods refers to the owning side field App\Entity\Pharmacies\PharmacyShippingMethod#pharmacy which does not exist.
  • The association App\Entity\Pharmacies\Pharmacies#pharmaciesProducts refers to the owning side field App\Entity\Pharmacies\PharmaciesProducts#pharmacy which does not exist.
  • The association App\Entity\Pharmacies\Pharmacies#orders refers to the owning side field App\Entity\Orders\Orders#pharmacy which does not exist.
  • The association App\Entity\Pharmacies\Pharmacies#promotionalCodes refers to the owning side field App\Entity\PromotionalCode\PromotionalCode#pharmacy which does not exist.
  • The association App\Entity\Pharmacies\Pharmacies#pharmacists refers to the owning side field App\Entity\Pharmacists#pharmacy which does not exist.
App\Entity\Products\Attribut\ProductsAttributsTerms No errors.
App\Entity\Gift\OrderGift No errors.
App\Entity\AppText No errors.
App\Entity\AppTextTranslation No errors.
App\Entity\Pharmacies\PharmaciesProducts No errors.
App\Entity\Pharmacies\PharmacyShippingMethod No errors.
App\Entity\Pharmacies\PharmacyPaymentMethod No errors.
App\Entity\Orders\OrdersPayment No errors.
App\Entity\PromotionalCode\PromotionalCode
  • The mappings App\Entity\PromotionalCode\PromotionalCode#productsBrand and App\Entity\PromotionalCode\PromotionalCodeBrand#promotionalCode are inconsistent with each other.
App\Entity\Orders\OrdersPrestations No errors.
App\Entity\PromotionalCode\PromotionalCodeProductsCategories No errors.
App\Entity\Gift\OrderGiftItems No errors.
App\Entity\Products\Categories\ProductsCategoriesTranslation No errors.
App\Entity\Products\ProductBrand No errors.
App\Entity\Products\Associated\AssociatedProductsProducts No errors.
App\Entity\Products\Attribut\AttributTitle
  • The association App\Entity\Products\Attribut\AttributTitle#product refers to the inverse side field App\Entity\Products\Products#customTerms which does not exist.
App\Entity\Products\Attribut\AttributTerms
  • The association App\Entity\Products\Attribut\AttributTerms#ordersProducts refers to the owning side field App\Entity\Orders\OrdersProducts#attributTerms which does not exist.
App\Entity\PromotionalCode\PromotionalCodeProducts No errors.
App\Entity\Products\ProductsPrestations No errors.
App\Entity\Products\ProductsRecommanded No errors.
App\Entity\Products\ProductsTranslation No errors.
App\Entity\Pharmacists No errors.
App\Entity\Gift\OrderGiftTranslation No errors.
App\Entity\Application\ShippingMethod No errors.
App\Entity\Pharmacies\PharmacyShippingMethodTranslation No errors.
App\Entity\Application\PaymentMethod No errors.
App\Entity\PromotionalCode\PromotionalCodeBrand
  • The association App\Entity\PromotionalCode\PromotionalCodeBrand#promotionalCode refers to the inverse side field App\Entity\PromotionalCode\PromotionalCode#brand which does not exist.
App\Entity\PromotionalCode\PromotionalCodeTranslation No errors.
App\Entity\Products\Associated\AssociatedProducts No errors.
App\Entity\Products\Attribut\AttributTitleTranslation No errors.
App\Entity\Products\Attribut\AttributTermsTranslation No errors.
App\Entity\Application\ShippingMethodTranslation No errors.
App\Entity\Application\PaymentMethodTranslation No errors.
App\Entity\Products\Associated\AssociatedProductsTranslation No errors.