Query Metrics

23 Database Queries
22 Different statements
3.39 ms Query time

Grouped Statements

Show all queries

Time Count Info
0.40 ms
(11.90%)
1
SELECT `order`.`id` as `order.id`, `order`.`version_id` as `order.versionId`, `order`.`auto_increment` as `order.autoIncrement`, `order`.`order_number` as `order.orderNumber`, `order`.`billing_address_id` as `order.billingAddressId`, `order`.`billing_address_version_id` as `order.billingAddressVersionId`, `order`.`currency_id` as `order.currencyId`, `order`.`language_id` as `order.languageId`, `order`.`sales_channel_id` as `order.salesChannelId`, `order`.`order_date_time` as `order.orderDateTime`, `order`.`order_date` as `order.orderDate`, `order`.`price` as `order.price`, `order`.`amount_total` as `order.amountTotal`, `order`.`amount_net` as `order.amountNet`, `order`.`position_price` as `order.positionPrice`, `order`.`tax_status` as `order.taxStatus`, `order`.`shipping_costs` as `order.shippingCosts`, `order`.`shipping_total` as `order.shippingTotal`, `order`.`currency_factor` as `order.currencyFactor`, `order`.`deep_link_code` as `order.deepLinkCode`, `order`.`affiliate_code` as `order.affiliateCode`, `order`.`campaign_code` as `order.campaignCode`, `order`.`customer_comment` as `order.customerComment`, `order`.`source` as `order.source`, `order`.`tax_calculation_type` as `order.taxCalculationType`, `order`.`state_id` as `order.stateId`, `order`.`rule_ids` as `order.ruleIds`, `order`.`custom_fields` as `order.customFields`, `order`.`created_by_id` as `order.createdById`, `order`.`updated_by_id` as `order.updatedById`, `order.orderCustomer`.`id` as `order.orderCustomer.id`, `order.orderCustomer`.`version_id` as `order.orderCustomer.versionId`, `order.orderCustomer`.`customer_id` as `order.orderCustomer.customerId`, `order.orderCustomer`.`order_id` as `order.orderCustomer.orderId`, `order.orderCustomer`.`order_version_id` as `order.orderCustomer.orderVersionId`, `order.orderCustomer`.`email` as `order.orderCustomer.email`, `order.orderCustomer`.`salutation_id` as `order.orderCustomer.salutationId`, `order.orderCustomer`.`first_name` as `order.orderCustomer.firstName`, `order.orderCustomer`.`last_name` as `order.orderCustomer.lastName`, `order.orderCustomer`.`company` as `order.orderCustomer.company`, `order.orderCustomer`.`title` as `order.orderCustomer.title`, `order.orderCustomer`.`vat_ids` as `order.orderCustomer.vatIds`, `order.orderCustomer`.`customer_number` as `order.orderCustomer.customerNumber`, `order.orderCustomer`.`custom_fields` as `order.orderCustomer.customFields`, `order.orderCustomer`.`remote_address` as `order.orderCustomer.remoteAddress`, `order.orderCustomer`.`created_at` as `order.orderCustomer.createdAt`, `order.orderCustomer`.`updated_at` as `order.orderCustomer.updatedAt`, `order`.`item_rounding` as `order.itemRounding`, `order`.`total_rounding` as `order.totalRounding`, `order`.`created_at` as `order.createdAt`, `order`.`updated_at` as `order.updatedAt`, `order.billingAddress`.`id` as `order.billingAddress.id`, `order.billingAddress`.`version_id` as `order.billingAddress.versionId`, `order.billingAddress`.`country_id` as `order.billingAddress.countryId`, `order.billingAddress`.`country_state_id` as `order.billingAddress.countryStateId`, `order.billingAddress`.`order_id` as `order.billingAddress.orderId`, `order.billingAddress`.`order_version_id` as `order.billingAddress.orderVersionId`, `order.billingAddress`.`salutation_id` as `order.billingAddress.salutationId`, `order.billingAddress`.`first_name` as `order.billingAddress.firstName`, `order.billingAddress`.`last_name` as `order.billingAddress.lastName`, `order.billingAddress`.`street` as `order.billingAddress.street`, `order.billingAddress`.`zipcode` as `order.billingAddress.zipcode`, `order.billingAddress`.`city` as `order.billingAddress.city`, `order.billingAddress`.`company` as `order.billingAddress.company`, `order.billingAddress`.`department` as `order.billingAddress.department`, `order.billingAddress`.`title` as `order.billingAddress.title`, `order.billingAddress`.`vat_id` as `order.billingAddress.vatId`, `order.billingAddress`.`phone_number` as `order.billingAddress.phoneNumber`, `order.billingAddress`.`additional_address_line1` as `order.billingAddress.additionalAddressLine1`, `order.billingAddress`.`additional_address_line2` as `order.billingAddress.additionalAddressLine2`, `order.billingAddress`.`custom_fields` as `order.billingAddress.customFields`, `order.billingAddress`.`created_at` as `order.billingAddress.createdAt`, `order.billingAddress`.`updated_at` as `order.billingAddress.updatedAt` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`order_version_id` LEFT JOIN `order_address` `order.billingAddress` ON `order`.`billing_address_id` = `order.billingAddress`.`id` AND `order`.`billing_address_version_id` = `order.billingAddress`.`version_id` WHERE (`order`.`version_id` = ?) AND (`order`.`id` IN (?))
Parameters:
[
  b"\x0F©\x1CãéjK¾KÙÎu,4%"
  b"\x01gÝt±pЃï:aDœ‹\x19"
]
0.35 ms
(10.19%)
1
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
Parameters:
[]
0.31 ms
(9.10%)
1
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC
Parameters:
[]
0.24 ms
(7.04%)
2
SELECT `key`, `value` FROM `app_config`
Parameters:
[]
0.22 ms
(6.60%)
1
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
Parameters:
[]
0.20 ms
(5.87%)
1
SELECT id FROM `pickware_erp_return_order_line_item` LIMIT 1
Parameters:
[]
0.17 ms
(4.95%)
1
# dbal-plugin-loader
        SELECT
               `name`,
               `base_class` AS baseClass,
               IF(`active` = 1 AND `installed_at` IS NOT NULL, 1, 0) AS active,
               `path`,
               `version`,
               `autoload`,
               `managed_by_composer` AS managedByComposer,
               composer_name as composerName
        FROM `plugin`
        ORDER BY `installed_at`;
Parameters:
[]
0.17 ms
(4.95%)
1
SELECT `order_line_item`.`id` as `order_line_item.id`, `order_line_item`.`version_id` as `order_line_item.versionId`, `order_line_item`.`order_id` as `order_line_item.orderId`, `order_line_item`.`order_version_id` as `order_line_item.orderVersionId`, `order_line_item`.`product_id` as `order_line_item.productId`, `order_line_item`.`product_version_id` as `order_line_item.productVersionId`, `order_line_item`.`promotion_id` as `order_line_item.promotionId`, `order_line_item`.`parent_id` as `order_line_item.parentId`, `order_line_item`.`parent_version_id` as `order_line_item.parentVersionId`, `order_line_item`.`cover_id` as `order_line_item.coverId`, `order_line_item`.`identifier` as `order_line_item.identifier`, `order_line_item`.`referenced_id` as `order_line_item.referencedId`, `order_line_item`.`quantity` as `order_line_item.quantity`, `order_line_item`.`label` as `order_line_item.label`, `order_line_item`.`payload` as `order_line_item.payload`, `order_line_item`.`good` as `order_line_item.good`, `order_line_item`.`removable` as `order_line_item.removable`, `order_line_item`.`stackable` as `order_line_item.stackable`, `order_line_item`.`position` as `order_line_item.position`, `order_line_item`.`states` as `order_line_item.states`, `order_line_item`.`price` as `order_line_item.price`, `order_line_item`.`price_definition` as `order_line_item.priceDefinition`, `order_line_item`.`unit_price` as `order_line_item.unitPrice`, `order_line_item`.`total_price` as `order_line_item.totalPrice`, `order_line_item`.`description` as `order_line_item.description`, `order_line_item`.`type` as `order_line_item.type`, `order_line_item`.`custom_fields` as `order_line_item.customFields`, `order_line_item`.`created_at` as `order_line_item.createdAt`, `order_line_item`.`updated_at` as `order_line_item.updatedAt` FROM `order_line_item` WHERE (`order_line_item`.`version_id` = ?) AND ((`order_line_item`.`order_id` IN (?)))
Parameters:
[
  b"\x0F©\x1CãéjK¾KÙÎu,4%"
  b"\x01gÝt±pЃï:aDœ‹\x19"
]
0.15 ms
(4.36%)
1
SELECT `order_delivery`.`id` as `order_delivery.id`, `order_delivery`.`version_id` as `order_delivery.versionId`, `order_delivery`.`order_id` as `order_delivery.orderId`, `order_delivery`.`order_version_id` as `order_delivery.orderVersionId`, `order_delivery`.`shipping_order_address_id` as `order_delivery.shippingOrderAddressId`, `order_delivery`.`shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId`, `order_delivery`.`shipping_method_id` as `order_delivery.shippingMethodId`, `order_delivery`.`state_id` as `order_delivery.stateId`, `order_delivery`.`tracking_codes` as `order_delivery.trackingCodes`, `order_delivery`.`shipping_date_earliest` as `order_delivery.shippingDateEarliest`, `order_delivery`.`shipping_date_latest` as `order_delivery.shippingDateLatest`, `order_delivery`.`shipping_costs` as `order_delivery.shippingCosts`, `order_delivery`.`custom_fields` as `order_delivery.customFields`, `order_delivery`.`created_at` as `order_delivery.createdAt`, `order_delivery`.`updated_at` as `order_delivery.updatedAt` FROM `order_delivery` WHERE (`order_delivery`.`version_id` = ?) AND ((`order_delivery`.`order_id` IN (?)))
Parameters:
[
  b"\x0F©\x1CãéjK¾KÙÎu,4%"
  b"\x01gÝt±pЃï:aDœ‹\x19"
]
0.14 ms
(4.24%)
1
SELECT custom_entity.name, custom_entity.fields, custom_entity.flags
                FROM custom_entity
                    LEFT JOIN app ON app.id = custom_entity.app_id
                WHERE (custom_entity.app_id IS NULL OR app.active = 1) AND custom_entity.deleted_at IS NULL;
Parameters:
[]
0.12 ms
(3.65%)
1
SELECT `order_transaction`.`id` as `order_transaction.id`, `order_transaction`.`version_id` as `order_transaction.versionId`, `order_transaction`.`order_id` as `order_transaction.orderId`, `order_transaction`.`order_version_id` as `order_transaction.orderVersionId`, `order_transaction`.`payment_method_id` as `order_transaction.paymentMethodId`, `order_transaction`.`amount` as `order_transaction.amount`, `order_transaction`.`validation_data` as `order_transaction.validationData`, `order_transaction`.`state_id` as `order_transaction.stateId`, `order_transaction`.`custom_fields` as `order_transaction.customFields`, `order_transaction`.`created_at` as `order_transaction.createdAt`, `order_transaction`.`updated_at` as `order_transaction.updatedAt` FROM `order_transaction` WHERE (`order_transaction`.`version_id` = ?) AND ((`order_transaction`.`order_id` IN (?)))
Parameters:
[
  b"\x0F©\x1CãéjK¾KÙÎu,4%"
  b"\x01gÝt±pЃï:aDœ‹\x19"
]
0.11 ms
(3.27%)
1
SELECT `order`.`id`, `order`.`auto_increment`, `order`.`order_number` FROM `order` WHERE (`order`.`version_id` = ?) AND (`order`.`id` IN (?)) LIMIT 500
Parameters:
[
  b"\x0F©\x1CãéjK¾KÙÎu,4%"
  b"\x01gÝt±pЃï:aDœ‹\x19"
]
0.10 ms
(3.03%)
1
SELECT role.privileges FROM acl_user_role mapping INNER JOIN acl_role role ON mapping.acl_role_id = role.id WHERE mapping.user_id = ?
Parameters:
[
  b"†·BÙ\x01A*žâ»å\x1C…¡f"
]
0.10 ms
(2.95%)
1
-- app-scripts::refresh::search-ids
SELECT `app`.`id` FROM `app` WHERE (`app`.`active` = ? AND `app`.`self_managed` = ?)
Parameters:
[
  true
  false
]
0.09 ms
(2.80%)
1
SELECT item_rounding FROM currency WHERE id = ?
Parameters:
[
  b"·ÒUK\fèGÍ‚ó¬›ÑÀßÊ"
]
0.09 ms
(2.68%)
1
SELECT user_id FROM user_access_key WHERE access_key = ?
Parameters:
[
  "SWUADHVUSTRVCE5ZDW9QCJGWMG"
]
0.09 ms
(2.56%)
1
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1
Parameters:
[]
0.09 ms
(2.54%)
1
SELECT `name`, `path`, `author`, `self_managed`
                FROM `app`
                WHERE `active` = 1
Parameters:
[]
0.07 ms
(2.04%)
1
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))
Parameters:
[]
0.07 ms
(1.92%)
1
SELECT shipping_costs FROM `pickware_erp_return_order` LIMIT 1
Parameters:
[]
0.06 ms
(1.83%)
1
SELECT admin FROM `user` WHERE id = ?
Parameters:
[
  b"†·BÙ\x01A*žâ»å\x1C…¡f"
]
0.05 ms
(1.50%)
1
SELECT id FROM `order_return` LIMIT 1
Parameters:
[]

Database Connections

Name Service
0 default

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.