https://pim.develey.blackbit.io/admin/notification/find-last-unread?_dc=1775136414871&lastUpdate=1775136383

Query Metrics

9 Database Queries
9 Different statements
2.13 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.60 ms
(28.04%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  117
  "2026-04-02 15:26:23"
]
0.49 ms
(23.08%)
1
"COMMIT"
Parameters:
[]
0.43 ms
(19.94%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  117
  "2026-04-02 15:26:23"
]
0.25 ms
(11.77%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  117
]
0.13 ms
(6.15%)
1
"START TRANSACTION"
Parameters:
[]
0.10 ms
(4.54%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  117
]
0.05 ms
(2.49%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  117
]
0.05 ms
(2.20%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  117
]
0.04 ms
(1.78%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  117
]

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