POST https://eu.verinice.shop/api/search/document

Query Metrics

18 Database Queries
17 Different statements
5.14 ms Query time

Grouped Statements

Show all queries

Time Count Info
2.70 ms
(52.57%)
1
SELECT `document`.`id`, `document`.`document_number` FROM `document` WHERE ((IF(JSON_TYPE(JSON_EXTRACT(`document`.`config`, '$.name')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`document`.`config`, '$.name')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL) = ? AND (`document`.`created_at` > ?))) LIMIT 500
Parameters:
[
  "invoice"
  "2026-04-07T12:14:20.587+00:00"
]
0.33 ms
(6.48%)
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
(6.04%)
1
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC
Parameters:
[]
0.27 ms
(5.31%)
2
SELECT `key`, `value` FROM `app_config`
Parameters:
[]
0.22 ms
(4.33%)
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.22 ms
(4.24%)
1
SELECT id FROM `pickware_erp_return_order_line_item` LIMIT 1
Parameters:
[]
0.18 ms
(3.54%)
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.15 ms
(2.86%)
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.11 ms
(2.06%)
1
-- app-scripts::refresh::search-ids
SELECT `app`.`id` FROM `app` WHERE (`app`.`active` = ? AND `app`.`self_managed` = ?)
Parameters:
[
  true
  false
]
0.11 ms
(2.04%)
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
(1.96%)
1
SELECT item_rounding FROM currency WHERE id = ?
Parameters:
[
  b"·ÒUK\fèGÍ‚ó¬›ÑÀßÊ"
]
0.09 ms
(1.84%)
1
SELECT `name`, `path`, `author`, `self_managed`
                FROM `app`
                WHERE `active` = 1
Parameters:
[]
0.09 ms
(1.75%)
1
SELECT user_id FROM user_access_key WHERE access_key = ?
Parameters:
[
  "SWUADHVUSTRVCE5ZDW9QCJGWMG"
]
0.07 ms
(1.36%)
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.28%)
1
SELECT admin FROM `user` WHERE id = ?
Parameters:
[
  b"†·BÙ\x01A*žâ»å\x1C…¡f"
]
0.07 ms
(1.28%)
1
SELECT shipping_costs FROM `pickware_erp_return_order` LIMIT 1
Parameters:
[]
0.05 ms
(1.05%)
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.