https://asf-pim.server14.zwei.gmbh/admin/notification/find-last-unread?_dc=1726854221054&lastUpdate=1726854191

Query Metrics

23 Database Queries
13 Different statements
6.45 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.89 ms
(29.25%)
4
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  1 => null
  2 => null
  3 => 300
  4 => 1726854238
]
1.33 ms
(20.64%)
4
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1726854238
  [
    "\x00tags\x00app3d846a7870565f8d3a19a028c36f03211f1274cd"
    "app3d846a7870565f8d3a19a028c36f03211f1274cd"
  ]
]
0.91 ms
(14.05%)
2
DELETE FROM cache_items WHERE item_id IN (?)
Parameters:
[
  [
    "app3d846a7870565f8d3a19a028c36f03211f1274cd"
    "\x00tags\x00app3d846a7870565f8d3a19a028c36f03211f1274cd"
  ]
]
0.49 ms
(7.54%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  6
  "2024-09-20 19:43:11"
]
0.39 ms
(6.12%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  6
  "2024-09-20 19:43:11"
]
0.32 ms
(4.90%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  6
]
0.22 ms
(3.40%)
2
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  6
]
0.21 ms
(3.20%)
2
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  6
]
0.21 ms
(3.20%)
2
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  6
]
0.17 ms
(2.58%)
1
"START TRANSACTION"
Parameters:
[]
0.14 ms
(2.17%)
1
SELECT * FROM users WHERE `type` = ? AND `name` = ?
Parameters:
[
  "user"
  "asf"
]
0.10 ms
(1.51%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  6
]
0.09 ms
(1.44%)
1
"COMMIT"
Parameters:
[]

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.