Query Metrics

1728 Database Queries
56 Different statements
261.90 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
82.79 ms
(31.61%)
675
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:
[
  1227
]
44.25 ms
(16.90%)
314
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:
[
  1283
]
37.56 ms
(14.34%)
261
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:
[
  1229
]
28.12 ms
(10.74%)
173
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  1229
]
9.50 ms
(3.63%)
61
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1227
]
4.39 ms
(1.68%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
3.49 ms
(1.33%)
14
SELECT * FROM properties WHERE ((cid IN (1,1231,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1232
]
3.34 ms
(1.27%)
13
SELECT * FROM properties WHERE ((cid IN (1,1331,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1360
]
3.06 ms
(1.17%)
13
SELECT * FROM properties WHERE ((cid IN (1,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1258
]
2.78 ms
(1.06%)
12
SELECT * FROM properties WHERE ((cid IN (1,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1273
]
2.55 ms
(0.97%)
9
SELECT * FROM properties WHERE ((cid IN (1,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1344
]
2.32 ms
(0.89%)
9
SELECT * FROM properties WHERE ((cid IN (1,1333,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1388
]
2.28 ms
(0.87%)
17
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:
[
  1227
]
2.27 ms
(0.87%)
16
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  1232
]
2.07 ms
(0.79%)
8
SELECT * FROM properties WHERE ((cid IN (1,1258,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1301
]
2.04 ms
(0.78%)
8
SELECT * FROM properties WHERE ((cid IN (1,1334,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1403
]
1.92 ms
(0.73%)
8
SELECT * FROM properties WHERE ((cid IN (1,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1331
]
1.57 ms
(0.60%)
7
SELECT * FROM properties WHERE ((cid IN (1,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1229
]
1.57 ms
(0.60%)
6
SELECT * FROM properties WHERE ((cid IN (1,1268,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1319
]
1.55 ms
(0.59%)
6
SELECT * FROM properties WHERE ((cid IN (1,1270,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1320
]
1.50 ms
(0.57%)
6
SELECT * FROM properties WHERE ((cid IN (1,1396,1297,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1467
]
1.42 ms
(0.54%)
6
SELECT * FROM properties WHERE ((cid IN (1,1274,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1338
]
1.37 ms
(0.52%)
5
SELECT * FROM properties WHERE ((cid IN (1,1350,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1510
]
1.27 ms
(0.49%)
5
SELECT * FROM properties WHERE ((cid IN (1,1271,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1326
]
1.21 ms
(0.46%)
4
SELECT * FROM properties WHERE ((cid IN (1,1349,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1413
]
1.19 ms
(0.45%)
5
SELECT * FROM properties WHERE ((cid IN (1,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1297
]
1.12 ms
(0.43%)
5
SELECT * FROM properties WHERE ((cid IN (1,1228,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1241
]
1.03 ms
(0.39%)
4
SELECT * FROM properties WHERE ((cid IN (1,1335,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1354
]
0.93 ms
(0.36%)
6
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:
[
  1284
]
0.92 ms
(0.35%)
3
SELECT * FROM properties WHERE ((cid IN (1,1348,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1440
]
0.91 ms
(0.35%)
4
SELECT * FROM properties WHERE ((cid IN (1,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1248
]
0.76 ms
(0.29%)
3
SELECT * FROM properties WHERE ((cid IN (1,1254,1231,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1375
]
0.74 ms
(0.28%)
3
SELECT * FROM properties WHERE ((cid IN (1,1418,1298,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1493
]
0.73 ms
(0.28%)
5
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:
[
  1301
]
0.72 ms
(0.27%)
3
SELECT * FROM properties WHERE ((cid IN (1,1297,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1396
]
0.71 ms
(0.27%)
3
SELECT * FROM properties WHERE ((cid IN (1,1298,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1418
]
0.53 ms
(0.20%)
2
SELECT * FROM properties WHERE ((cid IN (1,1397,1297,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1458
]
0.52 ms
(0.20%)
2
SELECT * FROM properties WHERE ((cid IN (1,1233,1231,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1252
]
0.51 ms
(0.20%)
2
SELECT * FROM properties WHERE ((cid IN (1,1495,1418,1298,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1563
]
0.49 ms
(0.19%)
2
SELECT * FROM properties WHERE ((cid IN (1,1419,1298,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1476
]
0.47 ms
(0.18%)
2
SELECT * FROM properties WHERE ((cid IN (1,1300,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1432
]
0.31 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,1352,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1434
]
0.30 ms
(0.11%)
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 = '2' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/kuhn-world/whistleblower"
  "sourcePathQuery" => "/en/kuhn-world/whistleblower"
  "sourceEntireUri" => "https://kuhn-at.roromedia.at/en/kuhn-world/whistleblower"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.29 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.27 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,1234,1231,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1247
]
0.26 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,1336,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1377
]
0.26 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,1332,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1359
]
0.26 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,16905,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16906
]
0.26 ms
(0.10%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1267
]
0.25 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,1353,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1358
]
0.24 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,1246,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1267
]
0.18 ms
(0.07%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.14 ms
(0.05%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.14 ms
(0.05%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/whistleblower' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.11 ms
(0.04%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.10 ms
(0.04%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "whistleblower"
  "path" => "/oesterreich/en/kuhn-world/"
]

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.