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

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
0.63 ms
(17.07%)
2
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  44
]
0.57 ms
(15.44%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  44
]
0.47 ms
(12.76%)
1
SELECT * FROM users WHERE `type` = ? AND `name` = ?
Parameters:
[
  "user"
  "btotev"
]
0.40 ms
(10.96%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  44
  "2025-04-16 10:39:37"
]
0.40 ms
(10.82%)
2
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  44
]
0.39 ms
(10.66%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  44
  "2025-04-16 10:39:37"
]
0.35 ms
(9.49%)
2
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  44
]
0.22 ms
(5.92%)
1
"START TRANSACTION"
Parameters:
[]
0.17 ms
(4.77%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  44
]
0.08 ms
(2.10%)
1
"COMMIT"
Parameters:
[]

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.