Query Metrics

18 Database Queries
17 Different statements
4.21 ms Query time
0 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.33 ms
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2 0.35 ms
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/admin/notification/find-last-unread"
  "path"
  "auto_create"
  "/admin/notification/find-last-unread?_dc=1730820830945&lastUpdate=1730820800"
  "path_query"
  "https://traditiodev.indabasolutions.com/admin/notification/find-last-unread?_dc=1730820830945&lastUpdate=1730820800"
  "entire_uri"
]
3 0.64 ms
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
]
4 0.19 ms
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
]
5 0.23 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
]
6 0.23 ms
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
7 0.40 ms
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
]
8 0.15 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "j3YkraVdd4uBKoTzkCVWhCxPIatkUdpi/guDR4qHjEA="
]
9 0.16 ms
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
10 0.24 ms
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  2
]
11 0.17 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  2
]
12 0.17 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  2
]
13 0.16 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  2
]
14 0.14 ms
"START TRANSACTION"
Parameters:
[]
15 0.22 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?
Parameters:
[
  2
  "2024-11-05 16:33:20"
]
16 0.19 ms
SELECT id FROM `notifications` WHERE recipient = ? AND `read` = 0 AND creationDate >= ?  ORDER BY `creationDate` DESC LIMIT 1
Parameters:
[
  2
  "2024-11-05 16:33:20"
]
17 0.08 ms
"COMMIT"
Parameters:
[]
18 0.15 ms
SELECT COUNT(*) AS num FROM `notifications` WHERE recipient = ? AND `read` = 0
Parameters:
[
  2
]

Database Connections

Name Service
default doctrine.dbal.default_connection
app doctrine.dbal.app_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
app doctrine.orm.app_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

No loaded entities.

app entity manager

No loaded entities.