http://ps.dp-uat.citroen.in/admin/notification/find-last-unread?_dc=1755857102066&lastUpdate=1755857072

Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
1.11 ms
(15.02%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  2
  "2025-08-22 15:34:32"
]
1.08 ms
(14.64%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  2
]
0.90 ms
(12.11%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  2
  "2025-08-22 15:34:32"
]
0.80 ms
(10.81%)
1
"START TRANSACTION"
Parameters:
[]
0.73 ms
(9.82%)
1
"COMMIT"
Parameters:
[]
0.71 ms
(9.54%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  2
]
0.70 ms
(9.51%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  2
]
0.69 ms
(9.40%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  2
]
0.68 ms
(9.15%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  2
]

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