Query Metrics

332 Database Queries
33 Different statements
90.56 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
44.71 ms
(49.37%)
183
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:
[
  1770174175
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
8.42 ms
(9.30%)
36
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:
[
  1089
]
8.03 ms
(8.86%)
36
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:
[
  1089
]
3.50 ms
(3.86%)
1
SELECT object_IContact.o_id AS o_id, object_IContact.o_type AS o_type FROM object_IContact WHERE ( object_IContact.o_type IN ('object','folder')) AND object_IContact.o_published = 1
Parameters:
[]
2.89 ms
(3.19%)
10
SELECT * FROM properties WHERE ((cid IN (1,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  459
]
1.95 ms
(2.16%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Newsletter"
  "path" => "/Psychological-Testing/"
]
1.82 ms
(2.01%)
6
SELECT * FROM properties WHERE ((cid IN (1,1099,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1100
]
1.80 ms
(1.99%)
1
SELECT * FROM object_relations_IContact WHERE src_id = ?
Parameters:
[
  2710
]
1.80 ms
(1.98%)
6
SELECT * FROM properties WHERE ((cid IN (1,1088,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1089
]
1.79 ms
(1.97%)
6
SELECT * FROM properties WHERE ((cid IN (1,1111,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1112
]
1.64 ms
(1.81%)
5
SELECT * FROM properties WHERE ((cid IN (1,1118,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1119
]
1.25 ms
(1.38%)
4
SELECT * FROM properties WHERE ((cid IN (1,1128,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1129
]
1.10 ms
(1.22%)
1
SELECT * FROM object_store_IContact WHERE oo_id = ?
Parameters:
[
  2710
]
0.98 ms
(1.08%)
2
SELECT * FROM properties WHERE ((cid IN (1,1095,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1096
]
0.94 ms
(1.04%)
3
SELECT * FROM properties WHERE ((cid IN (1,1124,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1125
]
0.91 ms
(1.01%)
3
SELECT * FROM properties WHERE ((cid IN (1,1107,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1108
]
0.81 ms
(0.89%)
3
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  373
]
0.52 ms
(0.57%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Psychological-Testing/Newsletter"
  "sourcePathQuery" => "/Psychological-Testing/Newsletter"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Psychological-Testing/Newsletter"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.50 ms
(0.56%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  459
]
0.50 ms
(0.56%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.49 ms
(0.54%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.49 ms
(0.54%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.48 ms
(0.54%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  2710
]
0.48 ms
(0.53%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.41 ms
(0.45%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Psychological-Testing/support"
]
0.38 ms
(0.42%)
1
SELECT * FROM properties WHERE ((cid IN (1,1096,1095,312) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1097
]
0.33 ms
(0.37%)
1
SELECT objects.*, tree_locks.locked AS o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  2710
]
0.33 ms
(0.36%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Psychological-Testing/Newsletter' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.30 ms
(0.33%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.28 ms
(0.31%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "IContact"
]
0.26 ms
(0.28%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.25 ms
(0.28%)
1
SELECT `Lists` FROM object_store_IContact WHERE oo_id  = 2710
Parameters:
[]
0.22 ms
(0.25%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.