Query Metrics

1243 Database Queries
75 Different statements
184.22 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
43.69 ms
(23.72%)
408
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:
[
  2
]
22.12 ms
(12.01%)
183
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
21.32 ms
(11.57%)
159
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:
[
  150
]
18.79 ms
(10.20%)
144
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:
[
  5
]
10.88 ms
(5.91%)
65
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
8.70 ms
(4.72%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
4.03 ms
(2.19%)
14
SELECT * FROM properties WHERE ((cid IN (1,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  94
]
3.24 ms
(1.76%)
13
SELECT * FROM properties WHERE ((cid IN (1,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14
]
2.76 ms
(1.50%)
12
SELECT * FROM properties WHERE ((cid IN (1,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  8
]
2.37 ms
(1.28%)
16
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  94
]
2.25 ms
(1.22%)
9
SELECT * FROM properties WHERE ((cid IN (1,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  5
]
2.18 ms
(1.18%)
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:
[
  2
]
2.17 ms
(1.18%)
8
SELECT * FROM properties WHERE ((cid IN (1,14,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  98
]
2.16 ms
(1.17%)
9
SELECT * FROM properties WHERE ((cid IN (1,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  74
]
1.94 ms
(1.05%)
13
SELECT * FROM properties WHERE ((cid IN (1,9,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11
]
1.63 ms
(0.89%)
6
SELECT * FROM properties WHERE ((cid IN (1,103,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  211
]
1.58 ms
(0.86%)
9
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:
[
  1940
]
1.53 ms
(0.83%)
6
SELECT * FROM properties WHERE ((cid IN (1,120,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  121
]
1.51 ms
(0.82%)
9
SELECT * FROM properties WHERE ((cid IN (1,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  9
]
1.50 ms
(0.81%)
8
SELECT * FROM properties WHERE ((cid IN (1,3,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4
]
1.39 ms
(0.75%)
9
SELECT * FROM properties WHERE ((cid IN (1,38,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  194
]
1.33 ms
(0.72%)
6
SELECT * FROM properties WHERE ((cid IN (1,64,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  65
]
1.30 ms
(0.71%)
5
SELECT * FROM properties WHERE ((cid IN (1,128,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  129
]
1.26 ms
(0.68%)
8
SELECT * FROM properties WHERE ((cid IN (1,42,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  43
]
1.17 ms
(0.63%)
6
SELECT * FROM properties WHERE ((cid IN (1,169,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  219
]
1.15 ms
(0.62%)
5
SELECT * FROM properties WHERE ((cid IN (1,87,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  88
]
1.08 ms
(0.58%)
5
SELECT * FROM properties WHERE ((cid IN (1,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  160
]
1.06 ms
(0.57%)
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:
[
  210
]
0.96 ms
(0.52%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  170
]
0.96 ms
(0.52%)
4
SELECT * FROM properties WHERE ((cid IN (1,82,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  83
]
0.82 ms
(0.44%)
4
SELECT * FROM properties WHERE ((cid IN (1,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  154
]
0.79 ms
(0.43%)
1
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:
[
  2700
]
0.73 ms
(0.39%)
3
SELECT * FROM properties WHERE ((cid IN (1,137,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  138
]
0.69 ms
(0.37%)
3
SELECT * FROM properties WHERE ((cid IN (1,279,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  168
]
0.68 ms
(0.37%)
3
SELECT * FROM properties WHERE ((cid IN (1,78,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  79
]
0.68 ms
(0.37%)
3
SELECT * FROM properties WHERE ((cid IN (1,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  279
]
0.63 ms
(0.34%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "kontakt"
  "path" => "/oesterreich/de/kuhn-world/"
]
0.60 ms
(0.32%)
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:
[
  "/oesterreich/%"
  "/de/kuhn-world/kontakt"
]
0.59 ms
(0.32%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  170
]
0.58 ms
(0.31%)
3
SELECT * FROM properties WHERE ((cid IN (1,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  169
]
0.56 ms
(0.31%)
4
SELECT * FROM properties WHERE ((cid IN (1,54,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  55
]
0.52 ms
(0.28%)
2
SELECT * FROM properties WHERE ((cid IN (1,142,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  209
]
0.50 ms
(0.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,340,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  358
]
0.47 ms
(0.25%)
2
SELECT * FROM properties WHERE ((cid IN (1,248,279,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  241
]
0.46 ms
(0.25%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  170
]
0.45 ms
(0.24%)
2
SELECT * FROM properties WHERE ((cid IN (1,215,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  362
]
0.45 ms
(0.24%)
2
SELECT * FROM properties WHERE ((cid IN (1,280,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  282
]
0.44 ms
(0.24%)
1
SELECT * FROM properties WHERE ((cid IN (1,16923,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16943
]
0.39 ms
(0.21%)
2
SELECT * FROM properties WHERE ((cid IN (1,176,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  296
]
0.38 ms
(0.21%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/kuhn-world/kontakt"
]
0.35 ms
(0.19%)
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" => "/de/kuhn-world/kontakt"
  "sourcePathQuery" => "/de/kuhn-world/kontakt"
  "sourceEntireUri" => "https://kuhn-at.roromedia.at/de/kuhn-world/kontakt"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.31 ms
(0.17%)
1
SELECT * FROM properties WHERE ((cid IN (1,213,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  232
]
0.27 ms
(0.15%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  358
]
0.26 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,16903,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16904
]
0.26 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,144,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  153
]
0.26 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,63,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1580
]
0.25 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,95,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  388
]
0.25 ms
(0.14%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.24 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,16868,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16875
]
0.23 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16923
]
0.20 ms
(0.11%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.19 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/kontakt' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(0.11%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  144
  144
  144
]
0.17 ms
(0.09%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1234
  1234
]
0.17 ms
(0.09%)
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:
[
  170
]
0.16 ms
(0.09%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  170
]
0.14 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,10,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13
]
0.13 ms
(0.07%)
1
SELECT * FROM properties WHERE ((cid IN (1,60,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  61
]
0.13 ms
(0.07%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 170
Parameters:
[]
0.13 ms
(0.07%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.12 ms
(0.07%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.12 ms
(0.07%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  144
]
0.10 ms
(0.05%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/kontakt' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.10 ms
(0.05%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.09 ms
(0.05%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]

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.