Query Metrics

15 Database Queries
14 Different statements
2.85 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.58 ms
(20.45%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND `isStudio` = 0
Parameters:
[
  51
]
0.48 ms
(16.76%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.28 ms
(9.80%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/admin/notification/find-last-unread"
  "path"
  "auto_create"
  "/admin/notification/find-last-unread?_dc=1732652284656&lastUpdate=1732652127"
  "path_query"
  "http://pim.loxone.com/admin/notification/find-last-unread?_dc=1732652284656&lastUpdate=1732652127"
  "entire_uri"
]
0.20 ms
(7.09%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  51
]
0.19 ms
(6.54%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND `isStudio` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  51
  "2024-11-26 20:15:27"
]
0.18 ms
(6.32%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND `isStudio` = 0 AND creationDate >= ?
Parameters:
[
  51
  "2024-11-26 20:15:27"
]
0.15 ms
(5.30%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1732652285
  "system_route_redirect"
]
0.14 ms
(5.09%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1732652285
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.13 ms
(4.64%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  51
]
0.12 ms
(4.39%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.12 ms
(4.08%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  51
]
0.11 ms
(3.96%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  51
]
0.09 ms
(3.13%)
1
"START TRANSACTION"
Parameters:
[]
0.07 ms
(2.43%)
1
"COMMIT"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No mapped entities.