https://stage.steiermark.com/admin/notification/find-last-unread?_dc=1738594785731&lastUpdate=1738594755

Query Metrics

15 Database Queries
12 Different statements
2.22 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
0.57 ms
(25.41%)
2
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultSiteConfig"
  null
  null
]
0.41 ms
(18.34%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  32
  "2025-02-03 15:59:15"
]
0.32 ms
(14.21%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.24 ms
(10.97%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  32
]
0.15 ms
(6.66%)
2
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]
0.11 ms
(5.04%)
1
"START TRANSACTION"
Parameters:
[]
0.11 ms
(4.90%)
1
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  32
  "2025-02-03 15:59:15"
]
0.10 ms
(4.31%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  32
]
0.07 ms
(2.97%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  32
]
0.07 ms
(2.97%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  32
]
0.06 ms
(2.87%)
1
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  32
]
0.03 ms
(1.35%)
1
"COMMIT"
Parameters:
[]

demi_vacancies connection

No database queries were performed.

Database Connections

Name Service
default doctrine.dbal.default_connection
demi_vacancies doctrine.dbal.demi_vacancies_connection

Entity Managers

Name Service
portal_engine doctrine.orm.portal_engine_entity_manager
pimcore_direct_edit doctrine.orm.pimcore_direct_edit_entity_manager
statistics_explorer doctrine.orm.statistics_explorer_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

portal_engine entity manager

No loaded entities.

pimcore_direct_edit entity manager

No loaded entities.

statistics_explorer entity manager

No loaded entities.