Query Metrics

118 Database Queries
21 Different statements
127.01 ms Query time
18 Invalid entities
40 Managed entities

Grouped Statements

Show all queries

default connection

Time Count Info
41.31 ms
(32.52%)
83
SELECT w0_.photo AS photo_0 FROM web_category_banner w0_ INNER JOIN web_category w1_ ON w0_.web_category_id = w1_.id INNER JOIN web_site w2_ ON w0_.site_id = w2_.id WHERE w0_.status = 1 AND w0_.type = 2 AND w2_.id = ? AND w1_.id = ? LIMIT 1
Parameters:
[
  2
  101
]
20.30 ms
(15.99%)
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.userSession AS userSession_10, t0.quantity AS quantity_11, t0.sqm AS sqm_12, t0.price AS price_13, t0.free_sample AS free_sample_14, t0.user_id AS user_id_15, t0.item_id AS item_id_16, t0.show_item_id AS show_item_id_17, t0.item_detail_id AS item_detail_id_18 FROM web_basket t0 WHERE t0.userSession = ?
Parameters:
[
  "ed70f3f0ea830708dd01dd3ae0ccceb1"
]
11.79 ms
(9.28%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "dbs9323576"
]
10.79 ms
(8.49%)
1
SELECT COUNT(w0_.id) AS sclr_0 FROM web_basket w0_ WHERE w0_.userSession = ?
Parameters:
[
  "ed70f3f0ea830708dd01dd3ae0ccceb1"
]
9.47 ms
(7.46%)
1
SELECT tc.TABLE_NAME,
       tc.CONSTRAINT_NAME,
       kcu.COLUMN_NAME
FROM information_schema.TABLE_CONSTRAINTS tc
         INNER JOIN information_schema.KEY_COLUMN_USAGE kcu
                    ON kcu.TABLE_NAME = tc.TABLE_NAME
                        AND kcu.CONSTRAINT_NAME = tc.CONSTRAINT_NAME
WHERE tc.TABLE_SCHEMA = ? AND kcu.TABLE_SCHEMA = ? AND tc.TABLE_NAME = ?
  AND tc.CONSTRAINT_TYPE = 'PRIMARY KEY'
ORDER BY TABLE_NAME,
    kcu.ORDINAL_POSITION
Parameters:
[
  "dbs9323576"
  "dbs9323576"
  "doctrine_migration_versions"
]
6.02 ms
(4.74%)
1
SELECT c.TABLE_NAME,
       c.COLUMN_NAME,
           IF(
        c.DATA_TYPE = 'longtext'
        AND EXISTS(
            SELECT * FROM information_schema.CHECK_CONSTRAINTS i_c
            WHERE i_c.CONSTRAINT_SCHEMA = 'dbs9323576'
            AND i_c.TABLE_NAME = c.TABLE_NAME
            AND i_c.CHECK_CLAUSE = CONCAT(
                'json_valid(`',
                    c.COLUMN_NAME,
                '`)'
            )
        ),
        'json',
        c.DATA_TYPE
    ),
       c.COLUMN_TYPE,
       c.CHARACTER_MAXIMUM_LENGTH,
       c.CHARACTER_OCTET_LENGTH,
       c.NUMERIC_PRECISION,
       c.NUMERIC_SCALE,
       c.IS_NULLABLE,
       c.COLUMN_DEFAULT,
       c.EXTRA,
       c.COLUMN_COMMENT,
       c.CHARACTER_SET_NAME,
       c.COLLATION_NAME
FROM information_schema.COLUMNS c
         INNER JOIN information_schema.TABLES t
                    ON t.TABLE_NAME = c.TABLE_NAME
WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ?
  AND t.TABLE_TYPE = 'BASE TABLE'
ORDER BY c.TABLE_NAME,
         c.ORDINAL_POSITION
Parameters:
[
  "dbs9323576"
  "dbs9323576"
  "doctrine_migration_versions"
]
5.69 ms
(4.48%)
8
SELECT w0_.id AS id_0, w0_.title AS title_1, w0_.group_status AS group_status_2, w0_.group_name AS group_name_3, w0_.title_seo AS title_seo_4 FROM web_category w0_ LEFT JOIN web_category w1_ ON w0_.category_id = w1_.id INNER JOIN web_site w2_ ON w0_.site_id = w2_.id WHERE w0_.status = 1 AND w0_.del = 0 AND w2_.id = ? AND w1_.id = ? ORDER BY w0_.sira ASC
Parameters:
[
  2
  46
]
4.66 ms
(3.67%)
8
SELECT DATABASE()
Parameters:
[]
4.62 ms
(3.63%)
1
SELECT k.TABLE_NAME,
       k.CONSTRAINT_NAME,
       k.REFERENCED_TABLE_NAME,
       c.UPDATE_RULE,
       c.DELETE_RULE,
       k.COLUMN_NAME,
       k.REFERENCED_COLUMN_NAME
FROM information_schema.KEY_COLUMN_USAGE k
         INNER JOIN information_schema.REFERENTIAL_CONSTRAINTS c
                    ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
                        AND c.TABLE_NAME = k.TABLE_NAME
WHERE k.TABLE_SCHEMA = ? AND c.CONSTRAINT_SCHEMA = ? AND k.TABLE_NAME = ?
  AND k.REFERENCED_COLUMN_NAME IS NOT NULL
ORDER BY k.TABLE_NAME,
         k.CONSTRAINT_NAME,
         k.ORDINAL_POSITION
Parameters:
[
  "dbs9323576"
  "dbs9323576"
  "doctrine_migration_versions"
]
3.21 ms
(2.53%)
1
SELECT t.TABLE_NAME,
           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 t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "dbs9323576"
  "doctrine_migration_versions"
]
1.51 ms
(1.19%)
1
SELECT w0_.id AS id_0, w0_.group_status AS group_status_1, w0_.group_name AS group_name_2, w0_.title AS title_3, w0_.title_seo AS title_seo_4 FROM web_category w0_ INNER JOIN web_site w1_ ON w0_.site_id = w1_.id INNER JOIN web_category w2_ ON w0_.category_id = w2_.id WHERE w0_.status = 1 AND w0_.del = 0 AND w1_.id = ? AND w2_.category_id IS NULL ORDER BY w0_.sira ASC
Parameters:
[
  2
]
1.11 ms
(0.88%)
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.facebook AS facebook_10, t0.pinterest AS pinterest_11, t0.twitter AS twitter_12, t0.linkedin AS linkedin_13, t0.instagram AS instagram_14, t0.site_id AS site_id_15 FROM web_social t0 WHERE t0.site_id = ? LIMIT 1
Parameters:
[
  2
]
0.88 ms
(0.70%)
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.title_seo AS title_seo_11, t0.description AS description_12, t0.site_id AS site_id_13 FROM web_faq t0 WHERE t0.site_id = ?
Parameters:
[
  2
]
0.88 ms
(0.69%)
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.titleSeo AS titleSeo_11, t0.description AS description_12, t0.type AS type_13, t0.upper_link AS upper_link_14, t0.meta_title AS meta_title_15, t0.meta_description AS meta_description_16, t0.site_id AS site_id_17 FROM web_page t0 WHERE t0.site_id = ? AND t0.del = ? AND t0.upper_link = ?
Parameters:
[
  2
  0
  "1"
]
0.87 ms
(0.69%)
1
SELECT TABLE_NAME,
       INDEX_NAME,
       INDEX_TYPE,
       NON_UNIQUE,
       COLUMN_NAME,
       SUB_PART
FROM information_schema.STATISTICS
WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ?
  AND INDEX_NAME != 'PRIMARY'
ORDER BY TABLE_NAME,
    SEQ_IN_INDEX
Parameters:
[
  "dbs9323576"
  "doctrine_migration_versions"
]
0.85 ms
(0.67%)
1
SELECT t0.id AS id_1, t0.company_name AS company_name_2, t0.company_description AS company_description_3, t0.company_email AS company_email_4, t0.company_phone AS company_phone_5, t0.company_fax AS company_fax_6, t0.company_address AS company_address_7, t0.company_address_html AS company_address_html_8, t0.company_logo AS company_logo_9, t0.copyright AS copyright_10, t0.auto_allocate AS auto_allocate_11, t0.cronjob_auto_allocate AS cronjob_auto_allocate_12, t0.cronjob_credit_hold AS cronjob_credit_hold_13, t0.exchange_rate_api AS exchange_rate_api_14, t0.coming_soon AS coming_soon_15, t0.coming_soon_date AS coming_soon_date_16, t0.maintenance_mode AS maintenance_mode_17, t0.custom_transaction AS custom_transaction_18, t0.transaction_entries AS transaction_entries_19, t0.api AS api_20, t0.login_captcha_key AS login_captcha_key_21, t0.login_captcha_id AS login_captcha_id_22, t0.dev_mod AS dev_mod_23, t0.developer_email AS developer_email_24, t0.ftp_username AS ftp_username_25, t0.ftp_hostname AS ftp_hostname_26, t0.ftp_password AS ftp_password_27, t0.ftp_port AS ftp_port_28 FROM system_settings t0 WHERE t0.id = ?
Parameters:
[
  0
]
0.72 ms
(0.57%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]
0.66 ms
(0.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.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
]
0.65 ms
(0.51%)
1
SELECT @@character_set_database, @@collation_database
Parameters:
[]
0.54 ms
(0.42%)
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.pallet_kg AS pallet_kg_10, t0.weight_limit AS weight_limit_11, t0.financial_year_start AS financial_year_start_12, t0.financial_year_end AS financial_year_end_13, t0.voidDay1 AS voidDay1_14, t0.voidDay2 AS voidDay2_15, t0.voidDay3 AS voidDay3_16, t0.voidDay4 AS voidDay4_17, t0.voidDay5 AS voidDay5_18, t0.kdv_value AS kdv_value_19, t0.default_tax AS default_tax_20 FROM settings t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.48 ms
(0.38%)
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.meta_title AS meta_title_11, t0.meta_description AS meta_description_12, t0.site_id AS site_id_13 FROM web_page_source t0 WHERE t0.site_id = ? AND t0.title = ? LIMIT 1
Parameters:
[
  2
  "faqs"
]

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\WebFaq 35
App\Entity\WebSite 1
App\Entity\WebPageSource 1
App\Entity\WebSocial 1
App\Entity\Settings 1
App\Entity\SystemSettings 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\CustomerReceipt No errors.
App\Entity\CustomerShipToList No errors.
App\Entity\SamplesItem No errors.
App\Entity\WebPalletZone
  • The association App\Entity\WebPalletZone#accountCode refers to the inverse side field App\Entity\AccountCode#webPalletZone which does not exist.
App\Entity\CustomerOrderItem No errors.
App\Entity\CustomerOrderAddress No errors.
App\Entity\CustomerOrderDelivery No errors.
App\Entity\CustomerOrderImages No errors.
App\Entity\StockTransferItem No errors.
App\Entity\PurchaseOrder No errors.
App\Entity\User
  • The association App\Entity\User#warehouse refers to the inverse side field App\Entity\Warehouse#user which does not exist.
  • The association App\Entity\User#logs refers to the owning side field App\Entity\Log#user which is not defined as association, but as field.
  • The association App\Entity\User#logs refers to the owning side field App\Entity\Log#user which does not exist.
App\Entity\StockTransfer No errors.
App\Entity\PaymentTerm No errors.
App\Entity\ShippingMethod No errors.
App\Entity\OrderStage
  • The association App\Entity\OrderStage#customerInvoice refers to the owning side field App\Entity\CustomerInvoice#orderStage which does not exist.
App\Entity\Warehouse
  • The association App\Entity\Warehouse#stockAdjustment refers to the owning side field App\Entity\StockAdjustment#warehouse which does not exist.
App\Entity\MultiCurrency
  • The mappings App\Entity\MultiCurrency#suppliers and App\Entity\Supplier#multiCurrency are inconsistent with each other.
App\Entity\PostCode No errors.
App\Entity\CustomerProformaItem No errors.
App\Entity\CustomerProformaAddress No errors.
App\Entity\CustomerProformaDelivery No errors.
App\Entity\CustomerInvoiceItem No errors.
App\Entity\CustomerInvoiceAddress No errors.
App\Entity\CustomerInvoiceDelivery No errors.
App\Entity\CustomerAllocate No errors.
App\Entity\Journal No errors.
App\Entity\CustomerRma No errors.
App\Entity\CustomerCreditMemo No errors.
App\Entity\PurchaseInvoice No errors.
App\Entity\WebOrderItem No errors.
App\Entity\WebOrderQuestionAnswers No errors.
App\Entity\Category No errors.
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\WebItemPhoto No errors.
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\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\ZoneCourier No errors.
App\Entity\WebItemInfo No errors.
App\Entity\WebItemLabel No errors.
App\Entity\WebItemCareDelivery No errors.
App\Entity\WebItemDetailCategories No errors.
App\Entity\EmailSended No errors.
App\Entity\CustomerAuthorizedPerson No errors.
App\Entity\CustomerNotes
  • The association App\Entity\CustomerNotes#contact refers to the inverse side field App\Entity\CustomerContact#notes which does not exist.
App\Entity\CustomerExNotes No errors.
App\Entity\SpecialPricing No errors.
App\Entity\CustomerRefund
  • The association App\Entity\CustomerRefund#pettyCashAccount refers to the inverse side field App\Entity\PettyCashAccount#customerRefund which does not exist.
App\Entity\CustomerAllocation No errors.
App\Entity\CustomerMerchandising No errors.
App\Entity\ApiUser No errors.
App\Entity\CustomerType No errors.
App\Entity\Country No errors.
App\Entity\SalesRepresentative No errors.
App\Entity\TaxDescription
  • The association App\Entity\TaxDescription#pettyCashPaymentExpenses refers to the owning side field App\Entity\PettyCashPaymentExpenses#tax which is not defined as association, but as field.
  • The association App\Entity\TaxDescription#pettyCashPaymentExpenses refers to the owning side field App\Entity\PettyCashPaymentExpenses#tax which does not exist.
  • The association App\Entity\TaxDescription#pettyCashReceiptExpenses refers to the owning side field App\Entity\PettyCashReceiptExpenses#tax which is not defined as association, but as field.
  • The association App\Entity\TaxDescription#pettyCashReceiptExpenses refers to the owning side field App\Entity\PettyCashReceiptExpenses#tax which does not exist.
App\Entity\AccountCode
  • The mappings App\Entity\AccountCode#pettyCashReceiptExpenses and App\Entity\PettyCashPaymentExpenses#accountCode are inconsistent with each other.
App\Entity\JobTitle No errors.
App\Entity\Settings No errors.
App\Entity\SystemSettings No errors.