Query Metrics

16 Database Queries
13 Different statements
6.03 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

# Time Info
1 0.93 ms
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
2 0.78 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/element/get-versions"
  "path"
  "auto_create"
  "/admin/element/get-versions?_dc=1781090534911&id=484&elementType=document&page=1&start=0&limit=25"
  "path_query"
  "https://shqa-relaunch.swiss-dev.ch/admin/element/get-versions?_dc=1781090534911&elementType=document&id=484&limit=25&page=1&start=0"
  "entire_uri"
]
3 0.29 ms
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
4 0.40 ms
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  20
]
5 0.33 ms
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  20
]
6 0.26 ms
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  20
]
7 0.25 ms
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  20
]
8 0.37 ms
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  484
]
9 0.35 ms
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  484
]
10 0.47 ms
SELECT `versions` FROM users_workspaces_document WHERE cid IN (1,136,1,484) AND userId IN (20) ORDER BY LENGTH(cpath) DESC, FIELD(userId, 20) DESC, `versions` DESC  LIMIT 1
Parameters:
[]
11 0.27 ms
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[
  484
  "document"
]
12 0.39 ms
SELECT id FROM versions WHERE cid = ? AND ctype = ? AND (autoSave=0 OR (autoSave=1 AND userId = ?))   ORDER BY `date` ASC
Parameters:
[
  484
  "document"
  20
]
13 0.25 ms
SELECT * FROM versions WHERE id = ?
Parameters:
[
  273191
]
14 0.20 ms
SELECT * FROM versions WHERE id = ?
Parameters:
[
  273192
]
15 0.20 ms
SELECT * FROM versions WHERE id = ?
Parameters:
[
  273193
]
16 0.29 ms
SELECT * FROM versions WHERE id = ?
Parameters:
[
  273196
]

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.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.