Query Metrics

1730 Database Queries
56 Different statements
234.47 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
72.34 ms
(30.85%)
676
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
]
43.48 ms
(18.54%)
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
]
28.77 ms
(12.27%)
262
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
]
23.50 ms
(10.02%)
173
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  1229
]
10.00 ms
(4.27%)
61
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1227
]
8.35 ms
(3.56%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
3.45 ms
(1.47%)
15
SELECT * FROM properties WHERE ((cid IN (1,1231,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1232
]
2.66 ms
(1.14%)
13
SELECT * FROM properties WHERE ((cid IN (1,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1258
]
2.36 ms
(1.01%)
12
SELECT * FROM properties WHERE ((cid IN (1,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1273
]
2.16 ms
(0.92%)
13
SELECT * FROM properties WHERE ((cid IN (1,1331,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1360
]
1.90 ms
(0.81%)
8
SELECT * FROM properties WHERE ((cid IN (1,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1331
]
1.87 ms
(0.80%)
16
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  1232
]
1.85 ms
(0.79%)
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
]
1.85 ms
(0.79%)
8
SELECT * FROM properties WHERE ((cid IN (1,1334,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1403
]
1.84 ms
(0.78%)
7
SELECT * FROM properties WHERE ((cid IN (1,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1229
]
1.79 ms
(0.77%)
8
SELECT * FROM properties WHERE ((cid IN (1,1258,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1301
]
1.73 ms
(0.74%)
9
SELECT * FROM properties WHERE ((cid IN (1,1333,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1388
]
1.53 ms
(0.65%)
6
SELECT * FROM properties WHERE ((cid IN (1,1268,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1319
]
1.35 ms
(0.58%)
6
SELECT * FROM properties WHERE ((cid IN (1,1270,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1320
]
1.34 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.23 ms
(0.52%)
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
]
1.16 ms
(0.49%)
5
SELECT * FROM properties WHERE ((cid IN (1,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1297
]
1.15 ms
(0.49%)
6
SELECT * FROM properties WHERE ((cid IN (1,1274,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1338
]
1.15 ms
(0.49%)
8
SELECT * FROM properties WHERE ((cid IN (1,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1344
]
1.11 ms
(0.47%)
5
SELECT * FROM properties WHERE ((cid IN (1,1271,1230,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1326
]
1.02 ms
(0.43%)
5
SELECT * FROM properties WHERE ((cid IN (1,1228,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1241
]
0.97 ms
(0.41%)
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.94 ms
(0.40%)
5
SELECT * FROM properties WHERE ((cid IN (1,1350,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1510
]
0.92 ms
(0.39%)
4
SELECT * FROM properties WHERE ((cid IN (1,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1248
]
0.84 ms
(0.36%)
4
SELECT * FROM properties WHERE ((cid IN (1,1335,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1354
]
0.69 ms
(0.30%)
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.69 ms
(0.29%)
3
SELECT * FROM properties WHERE ((cid IN (1,1298,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1418
]
0.69 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.64 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.62 ms
(0.26%)
4
SELECT * FROM properties WHERE ((cid IN (1,1349,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1413
]
0.61 ms
(0.26%)
3
SELECT * FROM properties WHERE ((cid IN (1,1348,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1440
]
0.52 ms
(0.22%)
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.50 ms
(0.21%)
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.49 ms
(0.21%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1259
]
0.48 ms
(0.20%)
2
SELECT * FROM properties WHERE ((cid IN (1,1300,1249,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1432
]
0.47 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.44 ms
(0.19%)
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.34 ms
(0.14%)
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/construction-equipment/services/e-parts-store"
  "sourcePathQuery" => "/en/construction-equipment/services/e-parts-store"
  "sourceEntireUri" => "https://kuhn-at.roromedia.at/en/construction-equipment/services/e-parts-store"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.29 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,1246,1240,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1259
]
0.25 ms
(0.11%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.25 ms
(0.11%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.24 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.24 ms
(0.10%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.21 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,16905,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16906
]
0.21 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,1336,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1377
]
0.21 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,1332,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1359
]
0.21 ms
(0.09%)
1
SELECT * FROM properties WHERE ((cid IN (1,1353,1273,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1358
]
0.19 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/services/e-parts-store' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.16 ms
(0.07%)
1
SELECT * FROM properties WHERE ((cid IN (1,1352,1276,1229,1227,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1434
]
0.12 ms
(0.05%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "e-parts-store"
  "path" => "/oesterreich/en/construction-equipment/services/"
]
0.12 ms
(0.05%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
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.