Query Metrics

1195 Database Queries
64 Different statements
154.91 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
36.03 ms
(23.26%)
423
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:
[
  2477
]
29.95 ms
(19.33%)
126
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15129
]
18.93 ms
(12.22%)
166
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  15288
]
17.41 ms
(11.24%)
199
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:
[
  2477
]
8.02 ms
(5.18%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
5.97 ms
(3.86%)
40
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15128
]
2.41 ms
(1.55%)
15
SELECT * FROM properties WHERE ((cid IN (1,15184,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15243
]
2.23 ms
(1.44%)
13
SELECT * FROM properties WHERE ((cid IN (1,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15164
]
2.16 ms
(1.40%)
12
SELECT * FROM properties WHERE ((cid IN (1,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15137
]
2.16 ms
(1.39%)
13
SELECT * FROM properties WHERE ((cid IN (1,15183,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15216
]
1.79 ms
(1.15%)
6
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  2706
]
1.57 ms
(1.02%)
10
SELECT * FROM properties WHERE ((cid IN (1,15203,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15237
]
1.28 ms
(0.83%)
6
SELECT * FROM properties WHERE ((cid IN (1,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15183
]
1.18 ms
(0.76%)
9
SELECT * FROM properties WHERE ((cid IN (1,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15193
]
1.08 ms
(0.70%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  538
]
0.98 ms
(0.64%)
5
SELECT documents.*, documents_email.*, tree_locks.locked FROM documents
            LEFT JOIN documents_email ON documents.id = documents_email.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  15168
]
0.98 ms
(0.63%)
6
SELECT * FROM object_localized_data_ProductBrand WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  5
]
0.86 ms
(0.56%)
5
SELECT * FROM properties WHERE ((cid IN (1,15199,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15312
]
0.86 ms
(0.55%)
5
SELECT * FROM properties WHERE ((cid IN (1,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15129
]
0.84 ms
(0.54%)
8
SELECT documents.*, documents_hardlink.*, tree_locks.locked FROM documents
            LEFT JOIN documents_hardlink ON documents.id = documents_hardlink.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  15158
]
0.79 ms
(0.51%)
6
SELECT * FROM properties WHERE ((cid IN (1,15154,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15187
]
0.79 ms
(0.51%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15144
]
0.78 ms
(0.50%)
4
SELECT * FROM properties WHERE ((cid IN (1,15235,15177,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15291
]
0.77 ms
(0.49%)
6
SELECT * FROM object_store_ProductBrand WHERE oo_id = ?
Parameters:
[
  5
]
0.73 ms
(0.47%)
4
SELECT * FROM properties WHERE ((cid IN (1,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15177
]
0.69 ms
(0.45%)
4
SELECT * FROM properties WHERE ((cid IN (1,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15134
]
0.69 ms
(0.44%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "contact"
  "path" => "/schweiz/en/construction-equipment/"
]
0.68 ms
(0.44%)
7
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:
[
  538
]
0.66 ms
(0.43%)
6
SELECT * FROM object_relations_ProductBrand WHERE src_id = ?
Parameters:
[
  5
]
0.66 ms
(0.43%)
7
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  538
]
0.65 ms
(0.42%)
4
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/schweiz/%"
  "/en/construction-equipment/contact"
]
0.58 ms
(0.37%)
3
SELECT * FROM properties WHERE ((cid IN (1,15263,15178,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15301
]
0.57 ms
(0.37%)
4
SELECT * FROM properties WHERE ((cid IN (1,15185,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15207
]
0.57 ms
(0.37%)
4
SELECT * FROM properties WHERE ((cid IN (1,15198,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15251
]
0.56 ms
(0.36%)
5
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 2706
]
0.50 ms
(0.33%)
4
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15144
  15144
]
0.44 ms
(0.28%)
2
SELECT * FROM properties WHERE ((cid IN (1,15133,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15149
]
0.43 ms
(0.28%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15149
]
0.43 ms
(0.28%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/construction-equipment/contact"
]
0.42 ms
(0.27%)
3
SELECT * FROM properties WHERE ((cid IN (1,15197,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15280
]
0.41 ms
(0.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,15143,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15182
]
0.41 ms
(0.26%)
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 = '3' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/construction-equipment/contact"
  "sourcePathQuery" => "/en/construction-equipment/contact"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/construction-equipment/contact"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.40 ms
(0.26%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  538
]
0.40 ms
(0.26%)
2
SELECT * FROM properties WHERE ((cid IN (1,15303,15263,15178,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15329
]
0.38 ms
(0.24%)
2
SELECT * FROM properties WHERE ((cid IN (1,15178,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15263
]
0.37 ms
(0.24%)
2
SELECT * FROM properties WHERE ((cid IN (1,15177,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15235
]
0.33 ms
(0.22%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  538
]
0.33 ms
(0.21%)
1
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  16872
]
0.30 ms
(0.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,2455,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2479
]
0.28 ms
(0.18%)
2
SELECT * FROM properties WHERE ((cid IN (1,16850,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16851
]
0.27 ms
(0.17%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.25 ms
(0.16%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.21 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,15144,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15180
]
0.19 ms
(0.12%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.18 ms
(0.12%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2479
  15144
  15144
]
0.15 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/contact' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.14 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,15201,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15274
]
0.14 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,15206,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15234
]
0.13 ms
(0.09%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.12 ms
(0.08%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15144
]
0.12 ms
(0.07%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/contact' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.07%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.08 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 538
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.