POST https://abb-dev.tech/api/search/unit

Query Metrics

15 Database Queries
14 Different statements
10.48 ms Query time

Queries

Group similar statements

# Time Info
1 0.49 ms
SELECT `key`, `value` FROM `app_config`
Parameters:
[]
2 0.81 ms
# 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:
[]
3 0.55 ms
SELECT `key`, `value` FROM `app_config`
Parameters:
[]
4 0.56 ms
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:
[]
5 0.19 ms
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:
[]
6 0.45 ms
SELECT `name`, `path`, `author`
                FROM `app`
                WHERE `active` = 1
Parameters:
[]
7 0.58 ms
SELECT item_rounding FROM currency WHERE id = ?
Parameters:
[
  b"·ÒUK\fèGÍ‚ó¬›ÑÀßÊ"
]
8 0.43 ms
SELECT id FROM integration WHERE access_key = ?
Parameters:
[
  "SWIAYURKWGSZZHZODW1KEXRIQW"
]
9 0.39 ms
SELECT `acl_role`.`privileges`
            FROM `acl_role`
            INNER JOIN `app` ON `app`.`acl_role_id` = `acl_role`.`id`
            WHERE `app`.`integration_id` = ?
Parameters:
[
  b"\x01Æ©ì\x10c{å¡Ñ╝ÚNÂPù"
]
10 0.22 ms
SELECT admin FROM `integration` WHERE id = ?
Parameters:
[
  b"\x01Æ©ì\x10c{å¡Ñ╝ÚNÂPù"
]
11 0.31 ms
SELECT role.privileges FROM integration_role mapping INNER JOIN acl_role role ON mapping.acl_role_id = role.id WHERE mapping.integration_id = ?
Parameters:
[
  b"\x01Æ©ì\x10c{å¡Ñ╝ÚNÂPù"
]
12 0.32 ms
SELECT `unit`.`id` FROM `unit` LIMIT 50
Parameters:
[]
13 3.60 ms
SELECT COUNT(*) FROM (SELECT `unit`.`id` FROM `unit`) total
Parameters:
[]
14 0.79 ms
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, `unit.translation.shortCode` as `unit.shortCode`, `unit.translation.name`, `unit.translation.name` as `unit.name`, `unit.translation.customFields`, `unit.translation.customFields` as `unit.customFields` FROM `unit` LEFT JOIN (SELECT `unit.translation`.`unit_id`, `unit.translation`.`short_code` as `unit.translation.shortCode`, `unit.translation`.`name` as `unit.translation.name`, `unit.translation`.`custom_fields` as `unit.translation.customFields` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.`language_id` = ?) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id` WHERE `unit`.`id` IN (?, ?, ?)
Parameters:
[
  b"/»_ââšMpªXTÎ|ãâ\v"
  b"."ý¶:¸E\x19Ž@x¾5%€ž"
  b"`Å*\x1E="BÄ«±å,H½¢V"
  b"Û])¥[µK€«¬Uãà—\x06Î"
]
15 0.78 ms
SELECT `unit_translation`.`short_code` as `unit_translation.shortCode`, `unit_translation`.`name` as `unit_translation.name`, `unit_translation`.`custom_fields` as `unit_translation.customFields`, `unit_translation`.`created_at` as `unit_translation.createdAt`, `unit_translation`.`updated_at` as `unit_translation.updatedAt`, `unit_translation`.`unit_id` as `unit_translation.unitId`, `unit_translation`.`language_id` as `unit_translation.languageId`, `unit_translation.language`.`id` as `unit_translation.language.id`, `unit_translation.language`.`parent_id` as `unit_translation.language.parentId`, `unit_translation.language`.`locale_id` as `unit_translation.language.localeId`, `unit_translation.language`.`translation_code_id` as `unit_translation.language.translationCodeId`, `unit_translation.language`.`name` as `unit_translation.language.name`, `unit_translation.language`.`custom_fields` as `unit_translation.language.customFields`, `unit_translation.language`.`created_at` as `unit_translation.language.createdAt`, `unit_translation.language`.`updated_at` as `unit_translation.language.updatedAt`, `unit_translation.language.locale`.`id` as `unit_translation.language.locale.id`, `unit_translation.language.locale`.`code` as `unit_translation.language.locale.code`, `unit_translation.language.locale`.`created_at` as `unit_translation.language.locale.createdAt`, `unit_translation.language.locale`.`updated_at` as `unit_translation.language.locale.updatedAt`, `unit_translation.language.locale.translation.name`, `unit_translation.language.locale.translation.name` as `unit_translation.language.locale.name`, `unit_translation.language.locale.translation.territory`, `unit_translation.language.locale.translation.territory` as `unit_translation.language.locale.territory`, `unit_translation.language.locale.translation.customFields`, `unit_translation.language.locale.translation.customFields` as `unit_translation.language.locale.customFields` FROM `unit_translation` LEFT JOIN `language` `unit_translation.language` ON `unit_translation`.`language_id` = `unit_translation.language`.`id` LEFT JOIN `locale` `unit_translation.language.locale` ON `unit_translation.language`.`locale_id` = `unit_translation.language.locale`.`id` LEFT JOIN (SELECT `unit_translation.language.locale.translation`.`locale_id`, `unit_translation.language.locale.translation`.`name` as `unit_translation.language.locale.translation.name`, `unit_translation.language.locale.translation`.`territory` as `unit_translation.language.locale.translation.territory`, `unit_translation.language.locale.translation`.`custom_fields` as `unit_translation.language.locale.translation.customFields` FROM `locale_translation` `unit_translation.language.locale.translation` WHERE `unit_translation.language.locale.translation`.`language_id` = ?) `unit_translation.language.locale.locale_translation` ON `unit_translation.language.locale.locale_translation`.`locale_id` = `unit_translation.language.locale`.`id` WHERE (`unit_translation`.`unit_id` IN (?, ?, ?))
Parameters:
[
  b"/»_ââšMpªXTÎ|ãâ\v"
  b"."ý¶:¸E\x19Ž@x¾5%€ž"
  b"`Å*\x1E="BÄ«±å,H½¢V"
  b"Û])¥[µK€«¬Uãà—\x06Î"
]

Database Connections

Name Service
0 default

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.