Query Metrics

39 Database Queries
11 Different statements
80.63 ms Query time
10 Invalid entities
50 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
28.96 ms
(35.92%)
1
SELECT w0_.created_at AS created_at_0, w0_.updated_at AS updated_at_1, w0_.created_by AS created_by_2, w0_.updated_by AS updated_by_3, w0_.u_date AS u_date_4, w0_.id AS id_5, w0_.sira AS sira_6, w0_.code AS code_7, w0_.del AS del_8, w0_.freeSample AS freeSample_9, w0_.gap AS gap_10, w0_.projects_slab AS projects_slab_11, w0_.dummy AS dummy_12, w0_.title AS title_13, w0_.brand AS brand_14, w0_.product_type AS product_type_15, w0_.sub_title AS sub_title_16, w0_.title_seo AS title_seo_17, w0_.web_group_name AS web_group_name_18, w0_.photo AS photo_19, w0_.photo_title AS photo_title_20, w0_.photo_sub_title AS photo_sub_title_21, w0_.little_description AS little_description_22, w0_.description AS description_23, w0_.meta_title AS meta_title_24, w0_.meta_keywords AS meta_keywords_25, w0_.meta_description AS meta_description_26, w0_.special_offer AS special_offer_27, w0_.most_popular AS most_popular_28, w0_.best_sellers AS best_sellers_29, w0_.suggested_fixing AS suggested_fixing_30, w0_.review_average AS review_average_31, w0_.free_delivery AS free_delivery_32, w0_.new_item AS new_item_33, w0_.last_id AS last_id_34, w0_.last_url AS last_url_35, w0_.rss_xml AS rss_xml_36, w0_.price AS price_37, w0_.show_control AS show_control_38, w0_.courier_option AS courier_option_39, w0_.show_first AS show_first_40, w0_.tile_sealer AS tile_sealer_41, w0_.tile_adhesive AS tile_adhesive_42, w0_.samples_weight AS samples_weight_43, w0_.default_category AS default_category_44, w0_.default_alt_category AS default_alt_category_45, w0_.type AS type_46, w0_.per AS per_47, w0_.site_id AS site_id_48, w0_.item_id AS item_id_49 FROM web_item_detail w0_ INNER JOIN web_site w1_ ON w0_.site_id = w1_.id INNER JOIN web_item_detail_categories w2_ ON w0_.id = w2_.web_item_detail_id INNER JOIN web_item w3_ ON w0_.id = w3_.web_item_detail_id WHERE w1_.id = ? AND w2_.web_category_id = ? AND w3_.show_control = 1 AND w0_.show_control = 1 AND w0_.del = 0 AND w0_.item_id IS NOT NULL ORDER BY w2_.sira ASC
Parameters:
[
  2
  104
]
24.83 ms
(30.80%)
15
SELECT w0_.price AS price_0, w0_.old_price AS old_price_1, w0_.discount AS discount_2, w0_.show_control AS show_control_3 FROM web_item w0_ INNER JOIN web_site w1_ ON w0_.site_id = w1_.id INNER JOIN item i2_ ON w0_.item_id = i2_.id WHERE w0_.show_control = 1 AND i2_.status <> 2 AND w0_.del = 0 AND w1_.id = ? AND w0_.web_item_detail_id = ? ORDER BY w0_.price + 0 ASC LIMIT 1
Parameters:
[
  2
  222
]
8.53 ms
(10.57%)
15
SELECT w0_.image AS image_0, w0_.location AS location_1, w0_.title AS title_2 FROM web_item_label w1_ INNER JOIN web_label w0_ ON w1_.web_label_id = w0_.id WHERE w1_.web_item_detail_id = ?
Parameters:
[
  222
]
7.11 ms
(8.82%)
1
SELECT w0_.created_at AS created_at_0, w0_.updated_at AS updated_at_1, w0_.created_by AS created_by_2, w0_.updated_by AS updated_by_3, w0_.u_date AS u_date_4, w0_.id AS id_5, w0_.sira AS sira_6, w0_.code AS code_7, w0_.del AS del_8, w0_.title AS title_9, w0_.titleSeo AS titleSeo_10, w0_.colour AS colour_11, w0_.filter AS filter_12, w0_.info_id AS info_id_13, w0_.site_id AS site_id_14 FROM web_item_info_option w0_ INNER JOIN web_item_info w1_ ON w0_.id = w1_.web_item_info_options_id INNER JOIN web_item_detail w2_ ON w1_.web_item_detail_id = w2_.id INNER JOIN web_item_info_option w3_ ON w0_.info_id = w3_.id WHERE w0_.del = 0 AND w0_.filter = 1 AND w0_.info_id IS NOT NULL AND w0_.site_id = ? AND w2_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY w0_.titleSeo ORDER BY w0_.title ASC
Parameters:
[
  2
  222
  700
  742
  10
  260
  236
  276
  238
  240
  686
  246
  248
  274
  264
  258
]
3.55 ms
(4.41%)
1
SELECT w0_.size_name AS size_name_0, w0_.id AS id_1 FROM web_item w0_ INNER JOIN web_item_detail w1_ ON w0_.web_item_detail_id = w1_.id INNER JOIN web_site w2_ ON w0_.site_id = w2_.id INNER JOIN item i3_ ON w0_.item_id = i3_.id WHERE w2_.id = ? AND i3_.status <> 2 AND w1_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND w0_.show_control = 1 AND w0_.del = 0 AND w0_.size_name IS NOT NULL GROUP BY w0_.size_name ORDER BY w0_.size_name ASC
Parameters:
[
  2
  222
  700
  742
  10
  260
  236
  276
  238
  240
  686
  246
  248
  274
  264
  258
]
1.68 ms
(2.08%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.created_by AS created_by_3, t0.updated_by AS updated_by_4, t0.u_date AS u_date_5, t0.id AS id_6, t0.sira AS sira_7, t0.code AS code_8, t0.del AS del_9, t0.status AS status_10, t0.title AS title_11, t0.title_seo AS title_seo_12, t0.footer_title AS footer_title_13, t0.meta_title AS meta_title_14, t0.meta_keywords AS meta_keywords_15, t0.meta_description AS meta_description_16, t0.seo_description AS seo_description_17, t0.group_name AS group_name_18, t0.group_status AS group_status_19, t0.meta_tickets AS meta_tickets_20, t0.site_id AS site_id_21, t0.category_id AS category_id_22 FROM web_category t0 WHERE t0.status = ? AND t0.title_seo = ? AND t0.del = ? AND t0.site_id = ? ORDER BY t0.sira ASC LIMIT 1
Parameters:
[
  1
  "travertine-tiles"
  0
  2
]
1.63 ms
(2.03%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.created_by AS created_by_3, t0.updated_by AS updated_by_4, t0.u_date AS u_date_5, t0.id AS id_6, t0.sira AS sira_7, t0.code AS code_8, t0.del AS del_9, t0.name AS name_10, t0.url AS url_11, t0.short_name AS short_name_12, t0.site_title AS site_title_13, t0.site_description AS site_description_14 FROM web_site t0 WHERE t0.id = ?
Parameters:
[
  2
]
1.39 ms
(1.72%)
1
SELECT w0_.created_at AS created_at_0, w0_.updated_at AS updated_at_1, w0_.created_by AS created_by_2, w0_.updated_by AS updated_by_3, w0_.u_date AS u_date_4, w0_.id AS id_5, w0_.sira AS sira_6, w0_.code AS code_7, w0_.del AS del_8, w0_.title AS title_9, w0_.titleSeo AS titleSeo_10, w0_.colour AS colour_11, w0_.filter AS filter_12, w0_.info_id AS info_id_13, w0_.site_id AS site_id_14 FROM web_item_info_option w0_ WHERE w0_.del = 0 AND w0_.filter = 1 AND w0_.info_id IS NULL AND w0_.site_id = ?
Parameters:
[
  2
]
1.23 ms
(1.52%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.created_by AS created_by_3, t0.updated_by AS updated_by_4, t0.u_date AS u_date_5, t0.id AS id_6, t0.sira AS sira_7, t0.code AS code_8, t0.del AS del_9, t0.title AS title_10, t0.description AS description_11, t0.photo AS photo_12, t0.type AS type_13, t0.status AS status_14, t0.site_id AS site_id_15, t0.category_id AS category_id_16, t0.web_category_id AS web_category_id_17 FROM web_category_banner t0 WHERE t0.web_category_id = ? AND t0.type = ? AND t0.status = ? LIMIT 1
Parameters:
[
  104
  0
  1
]
0.97 ms
(1.20%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.created_by AS created_by_3, t0.updated_by AS updated_by_4, t0.u_date AS u_date_5, t0.id AS id_6, t0.sira AS sira_7, t0.code AS code_8, t0.del AS del_9, t0.status AS status_10, t0.title AS title_11, t0.title_seo AS title_seo_12, t0.footer_title AS footer_title_13, t0.meta_title AS meta_title_14, t0.meta_keywords AS meta_keywords_15, t0.meta_description AS meta_description_16, t0.seo_description AS seo_description_17, t0.group_name AS group_name_18, t0.group_status AS group_status_19, t0.meta_tickets AS meta_tickets_20, t0.site_id AS site_id_21, t0.category_id AS category_id_22 FROM web_category t0 WHERE t0.id = ?
Parameters:
[
  46
]
0.75 ms
(0.93%)
1
SELECT w0_.id AS id_0, w0_.title AS title_1, w0_.title_seo AS title_seo_2 FROM web_category w0_ INNER JOIN web_category w1_ ON w0_.category_id = w1_.id LEFT JOIN web_category w2_ ON w1_.category_id = w2_.id INNER JOIN web_site w3_ ON w0_.site_id = w3_.id WHERE w0_.status = 1 AND w0_.del = 0 AND w1_.status = 1 AND w3_.id = ? AND w1_.id = ? ORDER BY w0_.sira ASC
Parameters:
[
  2
  46
]

Database Connections

Name Service
default doctrine.dbal.default_connection
logging doctrine.dbal.logging_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\WebItemDetail 15
App\Entity\Item 15
App\Entity\WebItemInfoOption 14
App\Entity\WebCategory 3
App\Entity\WebSite 1
App\Entity\WebCategoryBanner 1
App\Entity\Category 1

Entities Mapping

Class Mapping errors
App\Entity\BaseEntity No errors.
App\Entity\WebSite
  • The mappings App\Entity\WebSite#webCategoryShows and App\Entity\WebCategoryBanner#webSite are inconsistent with each other.
App\Entity\Samples No errors.
App\Entity\CustomerOrder No errors.
App\Entity\CustomerProforma
  • The association App\Entity\CustomerProforma#customer refers to the inverse side field App\Entity\Customer#proforma which does not exist.
  • The association App\Entity\CustomerProforma#paymentTerm refers to the inverse side field App\Entity\PaymentTerm#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#shippingMethod refers to the inverse side field App\Entity\ShippingMethod#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#orderStage refers to the inverse side field App\Entity\OrderStage#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#warehouse refers to the inverse side field App\Entity\Warehouse#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#contact refers to the inverse side field App\Entity\CustomerContact#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#multiCurrency refers to the inverse side field App\Entity\MultiCurrency#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#shipToList refers to the inverse side field App\Entity\CustomerShipToList#customerProforma which does not exist.
  • The association App\Entity\CustomerProforma#postCode refers to the inverse side field App\Entity\PostCode#customerProforma which does not exist.
App\Entity\CustomerInvoice No errors.
App\Entity\WebOrder No errors.
App\Entity\WebCategoryBanner
  • The association App\Entity\WebCategoryBanner#category refers to the inverse side field App\Entity\Category#webCategoryBanners which does not exist.
App\Entity\WebFaq No errors.
App\Entity\WebPageSource No errors.
App\Entity\WebContactForm No errors.
App\Entity\WebBanner No errors.
App\Entity\WebBlogCategory No errors.
App\Entity\WebBlog No errors.
App\Entity\WebSocial No errors.
App\Entity\WebItem
  • The association App\Entity\WebItem#categories refers to the inverse side field App\Entity\Category#webItems which does not exist.
App\Entity\WebItemDetail
  • The association App\Entity\WebItemDetail#item refers to the inverse side field App\Entity\Item#webItemDetails which does not exist.
  • The association App\Entity\WebItemDetail#zoneCourier refers to the inverse side field App\Entity\ZoneCourier#webItemDetails which does not exist.
App\Entity\WebItemInfoOption No errors.
App\Entity\WebLabel No errors.
App\Entity\WebCareDelivery No errors.
App\Entity\WebItemReview No errors.
App\Entity\WebItemQuestion No errors.
App\Entity\WebPage No errors.
App\Entity\Customer No errors.
App\Entity\CustomerContact
  • The mappings App\Entity\CustomerContact#customerNotes and App\Entity\CustomerNotes#contact are inconsistent with each other.
App\Entity\WebCategory
  • The association App\Entity\WebCategory#webSite refers to the inverse side field App\Entity\WebSite#webCategories which does not exist.
App\Entity\WebItemDetailCategories No errors.
App\Entity\WebCategoryShow
  • The association App\Entity\WebCategoryShow#category refers to the inverse side field App\Entity\Category#webCategoryShows which does not exist.
App\Entity\Category No errors.
App\Entity\Item
  • The mappings App\Entity\Item#stockTakeItem and App\Entity\StockTransferItem#item are inconsistent with each other.
  • The mappings App\Entity\Item#corporateItems and App\Entity\CorporateItem#item are inconsistent with each other.
  • The association App\Entity\Item#defaultWarehouse refers to the inverse side field App\Entity\Warehouse#defaultWarehouseItem which does not exist.
  • The association App\Entity\Item#accessoryItem refers to the inverse side field App\Entity\Item#accessoryItems which does not exist.
  • The association App\Entity\Item#substituteItem refers to the inverse side field App\Entity\Item#substituteItems which does not exist.
App\Entity\WebBasket
  • The association App\Entity\WebBasket#user refers to the inverse side field App\Entity\User#webBaskets which does not exist.
App\Entity\ZoneCourier No errors.
App\Entity\WebItemPhoto No errors.
App\Entity\WebOrderItem No errors.
App\Entity\SamplesItem No errors.
App\Entity\WebItemInfo No errors.
App\Entity\WebItemLabel No errors.
App\Entity\WebItemCareDelivery No errors.