Query Metrics

1129 Database Queries
44 Different statements
149.12 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
37.26 ms
(24.99%)
427
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:
[
  15128
]
29.89 ms
(20.04%)
126
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15129
]
23.64 ms
(15.86%)
202
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:
[
  15129
]
14.02 ms
(9.40%)
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
]
8.49 ms
(5.69%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
5.29 ms
(3.55%)
40
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15128
]
4.09 ms
(2.74%)
13
SELECT * FROM properties WHERE ((cid IN (1,15183,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15216
]
2.72 ms
(1.82%)
15
SELECT * FROM properties WHERE ((cid IN (1,15184,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15243
]
2.30 ms
(1.54%)
13
SELECT * FROM properties WHERE ((cid IN (1,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15153
]
2.23 ms
(1.50%)
13
SELECT * FROM properties WHERE ((cid IN (1,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15137
]
1.89 ms
(1.27%)
10
SELECT * FROM properties WHERE ((cid IN (1,15203,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15237
]
1.69 ms
(1.13%)
6
SELECT * FROM properties WHERE ((cid IN (1,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15183
]
1.29 ms
(0.86%)
8
SELECT * FROM properties WHERE ((cid IN (1,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15193
]
1.25 ms
(0.84%)
5
SELECT * FROM properties WHERE ((cid IN (1,15199,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15312
]
1.10 ms
(0.74%)
9
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:
[
  15128
]
0.97 ms
(0.65%)
5
SELECT * FROM properties WHERE ((cid IN (1,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15129
]
0.92 ms
(0.62%)
6
SELECT * FROM properties WHERE ((cid IN (1,15154,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15187
]
0.90 ms
(0.60%)
4
SELECT * FROM properties WHERE ((cid IN (1,15198,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15251
]
0.85 ms
(0.57%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15137
]
0.82 ms
(0.55%)
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.62 ms
(0.42%)
4
SELECT * FROM properties WHERE ((cid IN (1,15185,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15207
]
0.59 ms
(0.40%)
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.59 ms
(0.40%)
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.56 ms
(0.38%)
4
SELECT * FROM properties WHERE ((cid IN (1,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15177
]
0.52 ms
(0.35%)
4
SELECT * FROM properties WHERE ((cid IN (1,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15134
]
0.48 ms
(0.32%)
3
SELECT * FROM properties WHERE ((cid IN (1,15197,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15280
]
0.38 ms
(0.26%)
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.33 ms
(0.22%)
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%)
2
SELECT * FROM properties WHERE ((cid IN (1,16850,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16851
]
0.33 ms
(0.22%)
2
SELECT * FROM properties WHERE ((cid IN (1,15143,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15182
]
0.28 ms
(0.19%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.28 ms
(0.19%)
2
SELECT * FROM properties WHERE ((cid IN (1,15178,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15263
]
0.28 ms
(0.19%)
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.26 ms
(0.17%)
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/services/e-parts-store"
  "sourcePathQuery" => "/en/construction-equipment/services/e-parts-store"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/construction-equipment/services/e-parts-store"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.23 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15201,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15274
]
0.23 ms
(0.15%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.21 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,15206,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15234
]
0.18 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/services/e-parts-store' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.17 ms
(0.11%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15149
]
0.16 ms
(0.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,15144,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15180
]
0.13 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,15133,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15149
]
0.13 ms
(0.08%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "e-parts-store"
  "path" => "/schweiz/en/construction-equipment/services/"
]
0.12 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.08%)
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

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.