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

Query Metrics

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

Queries

Group similar statements

# Time Info
1 0.32 ms
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  44
]
2 0.17 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  44
]
3 0.14 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.18 ms
SELECT * FROM users WHERE `type` = ? AND `name` = ?
Parameters:
[
  "user"
  "btotev"
]
6 0.12 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  44
]
7 0.10 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  44
]
8 0.10 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  44
]
9 0.07 ms
"START TRANSACTION"
Parameters:
[]
10 0.21 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  44
  "2025-04-06 20:42:58"
]
11 0.15 ms
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  44
  "2025-04-06 20:42:58"
]
12 0.05 ms
"COMMIT"
Parameters:
[]
13 0.11 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.