https://pimcore10-dev.lorch.eu/admin/notification/find-last-unread?_dc=1743867328933&lastUpdate=1743867298

Query Metrics

13 Database Queries
10 Different statements
2.51 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.37 ms
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  44
]
2 0.20 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  44
]
3 0.15 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  44
]
4 0.12 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  44
]
5 0.26 ms
SELECT * FROM users WHERE `type` = ? AND `name` = ?
Parameters:
[
  "user"
  "btotev"
]
6 0.14 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  44
]
7 0.25 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  44
]
8 0.13 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  44
]
9 0.12 ms
"START TRANSACTION"
Parameters:
[]
10 0.33 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  44
  "2025-04-05 17:34:58"
]
11 0.18 ms
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  44
  "2025-04-05 17:34:58"
]
12 0.07 ms
"COMMIT"
Parameters:
[]
13 0.19 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  44
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.