Query Metrics

335 Database Queries
22 Different statements
43.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
30.50 ms
(70.23%)
250
SELECT * FROM versions WHERE id = ?
Parameters:
[
  1597
]
1.96 ms
(4.51%)
14
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:
[
  1732652502
  "system_route_redirect"
]
1.81 ms
(4.18%)
11
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  126
]
1.65 ms
(3.80%)
12
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  126
]
1.59 ms
(3.67%)
12
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  126
]
1.58 ms
(3.64%)
12
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  126
]
1.18 ms
(2.71%)
9
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.85 ms
(1.97%)
1
SELECT id FROM versions WHERE cid = ? AND ctype = ? AND (autoSave=0 OR (autoSave=1 AND userId = ?))   ORDER BY `date` ASC
Parameters:
[
  1591
  "object"
  126
]
0.25 ms
(0.58%)
1
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=1732652502069&id=1591&elementType=object&page=1&start=0&limit=25"
  "path_query"
  "http://pim.loxone.com/admin/element/get-versions?_dc=1732652502069&elementType=object&id=1591&limit=25&page=1&start=0"
  "entire_uri"
]
0.25 ms
(0.57%)
1
SELECT * FROM object_localized_data_P WHERE ooo_id = ? AND language IN ('en','de','fr','es','sk','cs','nl','it','pl','de_CH','en_GB','en_US','fr_CH')
Parameters:
[
  1591
]
0.23 ms
(0.52%)
1
SELECT * FROM object_relations_P WHERE src_id = ?
Parameters:
[
  1591
]
0.20 ms
(0.47%)
1
SELECT `versions` FROM users_workspaces_object WHERE cid IN (1,1194,1190,1189,1591) AND userId IN (93,126) ORDER BY LENGTH(cpath) DESC, FIELD(userId, 126) DESC, `versions` DESC LIMIT 1
Parameters:
[]
0.19 ms
(0.43%)
1
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:
[
  1732652502
  "object_1591\x01tags\x01"
  "class_P\x01tags\x01"
  "asset_2077\x01tags\x01"
  "asset_2078\x01tags\x01"
  "asset_2079\x01tags\x01"
  "asset_2076\x01tags\x01"
]
0.15 ms
(0.36%)
1
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[
  1591
  "object"
]
0.14 ms
(0.33%)
1
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  1591
]
0.14 ms
(0.33%)
1
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:
[
  1732652502
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.14 ms
(0.32%)
1
SELECT * FROM object_store_P WHERE oo_id = ?
Parameters:
[
  1591
]
0.14 ms
(0.31%)
1
SELECT * FROM users WHERE `id` = ?
Parameters:
[
  93
]
0.12 ms
(0.28%)
1
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1591
]
0.12 ms
(0.28%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "P"
]
0.12 ms
(0.27%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.11 ms
(0.25%)
1
select `gallery` from object_store_P where oo_id  = 1591
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.

Entities Mapping

No mapped entities.