GET https://mytepp.com/afghan-pakistan/pakistan-2-3-ply/550561/farahan-352x250

Query Metrics

163 Database Queries
12 Different statements
30.95 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
12.03 ms
(38.88%)
67
SELECT t0.id AS id_1, t0.name AS name_2, t0.meta_title AS meta_title_3, t0.meta_description AS meta_description_4, t0.description AS description_5, t0.seo_text AS seo_text_6, t0.locale AS locale_7, t0.translatable_id AS translatable_id_8 FROM category_translations t0 WHERE t0.translatable_id = ?
Parameters:
[
  120
]
11.96 ms
(38.63%)
67
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.left_id AS left_id_4, t0.right_id AS right_id_5, t0.level AS level_6, t0.business_key AS business_key_7, t0.show_in_main_page AS show_in_main_page_8, t0.is_enabled AS is_enabled_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.parent_id AS parent_id_12, t0.media_id AS media_id_13 FROM category t0 WHERE t0.parent_id = ? ORDER BY t0.left_id ASC
Parameters:
[
  120
]
2.74 ms
(8.86%)
13
SELECT t0.name AS name_1, t0.description AS description_2, t0.enabled AS enabled_3, t0.provider_name AS provider_name_4, t0.provider_status AS provider_status_5, t0.provider_reference AS provider_reference_6, t0.provider_metadata AS provider_metadata_7, t0.width AS width_8, t0.height AS height_9, t0.length AS length_10, t0.content_type AS content_type_11, t0.content_size AS content_size_12, t0.copyright AS copyright_13, t0.author_name AS author_name_14, t0.context AS context_15, t0.cdn_is_flushable AS cdn_is_flushable_16, t0.cdn_flush_identifier AS cdn_flush_identifier_17, t0.cdn_flush_at AS cdn_flush_at_18, t0.cdn_status AS cdn_status_19, t0.updated_at AS updated_at_20, t0.created_at AS created_at_21, t0.id AS id_22 FROM media__media t0 WHERE t0.id = ?
Parameters:
[
  12356004
]
1.31 ms
(4.23%)
8
SELECT t0.id AS id_1, t0.title AS title_2, t0.is_enabled AS is_enabled_3 FROM property t0 WHERE t0.id = ?
Parameters:
[
  3
]
0.59 ms
(1.91%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.slug AS slug_2, c0_.left_id AS left_id_3, c0_.right_id AS right_id_4, c0_.level AS level_5, c0_.business_key AS business_key_6, c0_.show_in_main_page AS show_in_main_page_7, c0_.is_enabled AS is_enabled_8, c0_.created_at AS created_at_9, c0_.updated_at AS updated_at_10, c0_.parent_id AS parent_id_11, c0_.media_id AS media_id_12 FROM category c0_ WHERE c0_.is_enabled = ? ORDER BY c0_.left_id ASC
Parameters:
[
  1
]
0.51 ms
(1.64%)
1
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.slug AS slug_2, p0_.is_new AS is_new_3, p0_.is_popular AS is_popular_4, p0_.width AS width_5, p0_.length AS length_6, p0_.business_id AS business_id_7, p0_.is_active AS is_active_8, p0_.is_sold AS is_sold_9, p0_.sold_date AS sold_date_10, p0_.is_enabled AS is_enabled_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.brand_id AS brand_id_14 FROM product p0_ INNER JOIN product_category p2_ ON p0_.id = p2_.product_id INNER JOIN category c1_ ON c1_.id = p2_.category_id INNER JOIN category c3_ ON c1_.parent_id = c3_.id WHERE p0_.id = ? AND p0_.slug = ? AND c1_.slug = ? AND c3_.slug = ?
Parameters:
[
  550561
  "farahan-352x250"
  "pakistan-2-3-ply"
  "afghan-pakistan"
]
0.50 ms
(1.61%)
1
SELECT t0.id AS id_1, t0.media_id AS media_id_2, t0.product_id AS product_id_3 FROM product_gallery t0 WHERE t0.product_id = ?
Parameters:
[
  550561
]
0.37 ms
(1.21%)
1
SELECT t0.id AS id_1, t0.invoice_amount AS invoice_amount_2, t0.invoice_amount_net AS invoice_amount_net_3, t0.order_time AS order_time_4, t0.transaction_id AS transaction_id_5, t0.comment AS comment_6, t0.is_quick_buy AS is_quick_buy_7, t0.user_id AS user_id_8, t0.order_billing_address_id AS order_billing_address_id_9, t0.coupon_id AS coupon_id_10 FROM `order` t0 WHERE t0.id IS NULL LIMIT 1
Parameters:
[]
0.27 ms
(0.87%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.color AS color_3, t0.is_enabled AS is_enabled_4, t0.property_id AS property_id_5 FROM value t0 INNER JOIN variant_properties ON t0.id = variant_properties.value_id WHERE variant_properties.variant_id = ?
Parameters:
[
  212249
]
0.26 ms
(0.84%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.slug AS slug_2, c0_.left_id AS left_id_3, c0_.right_id AS right_id_4, c0_.level AS level_5, c0_.business_key AS business_key_6, c0_.show_in_main_page AS show_in_main_page_7, c0_.is_enabled AS is_enabled_8, c0_.created_at AS created_at_9, c0_.updated_at AS updated_at_10, c0_.parent_id AS parent_id_11, c0_.media_id AS media_id_12 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.is_enabled = ? ORDER BY c0_.left_id ASC
Parameters:
[
  1
]
0.24 ms
(0.79%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.meta_title AS meta_title_3, t0.meta_description AS meta_description_4, t0.description AS description_5, t0.short_description AS short_description_6, t0.locale AS locale_7, t0.translatable_id AS translatable_id_8 FROM product_translations t0 WHERE t0.translatable_id = ?
Parameters:
[
  550561
]
0.16 ms
(0.53%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.price AS price_3, t0.is_available AS is_available_4, t0.product_id AS product_id_5 FROM product_variant t0 WHERE t0.product_id = ?
Parameters:
[
  550561
]

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\Product No errors.
App\Entity\Category No errors.
App\Entity\Brand No errors.
App\Entity\ProductGallery No errors.
App\Entity\ProductVariant No errors.
App\Entity\Value No errors.
App\Entity\OrderDetails No errors.
App\Entity\ProductTranslation No errors.
Sonata\MediaBundle\Entity\BaseMedia No errors.
App\Entity\SonataMediaMedia No errors.
App\Entity\CategoryTranslation No errors.
App\Entity\Order
  • The mappings App\Entity\Order#user and App\Entity\User#orders are inconsistent with each other.
App\Entity\User
  • The association App\Entity\User#orders refers to the owning side field App\Entity\Order#User which does not exist.
App\Entity\OrderBillingAddress No errors.
App\Entity\Coupon No errors.
App\Entity\BrandTranslation No errors.
App\Entity\Property No errors.
App\Entity\ValueTranslation No errors.
Sonata\MediaBundle\Entity\BaseGalleryItem No errors.
App\Entity\SonataMediaGalleryItem No errors.
App\Entity\PropertyTranslation No errors.