Query Metrics

1136 Database Queries
51 Different statements
110.66 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
28.89 ms
(26.11%)
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:
[
  2477
]
23.42 ms
(21.16%)
126
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15129
]
16.04 ms
(14.50%)
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:
[
  2477
]
13.39 ms
(12.10%)
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
]
3.49 ms
(3.16%)
40
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15128
]
2.46 ms
(2.22%)
15
SELECT * FROM properties WHERE ((cid IN (1,15184,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15243
]
2.21 ms
(2.00%)
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.62%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
1.78 ms
(1.61%)
13
SELECT * FROM properties WHERE ((cid IN (1,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15153
]
1.61 ms
(1.45%)
10
SELECT * FROM properties WHERE ((cid IN (1,15203,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15237
]
1.56 ms
(1.41%)
12
SELECT * FROM properties WHERE ((cid IN (1,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15137
]
1.34 ms
(1.21%)
6
SELECT * FROM properties WHERE ((cid IN (1,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15183
]
1.23 ms
(1.11%)
9
SELECT * FROM properties WHERE ((cid IN (1,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15193
]
0.88 ms
(0.79%)
5
SELECT * FROM properties WHERE ((cid IN (1,15199,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15312
]
0.82 ms
(0.74%)
6
SELECT * FROM properties WHERE ((cid IN (1,15154,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15187
]
0.80 ms
(0.72%)
5
SELECT * FROM properties WHERE ((cid IN (1,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15129
]
0.66 ms
(0.59%)
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.58 ms
(0.53%)
4
SELECT * FROM properties WHERE ((cid IN (1,15198,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15251
]
0.58 ms
(0.53%)
8
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15137
]
0.58 ms
(0.53%)
4
SELECT * FROM properties WHERE ((cid IN (1,15185,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15207
]
0.51 ms
(0.46%)
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.50 ms
(0.45%)
4
SELECT * FROM properties WHERE ((cid IN (1,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15177
]
0.48 ms
(0.43%)
4
SELECT * FROM properties WHERE ((cid IN (1,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15134
]
0.44 ms
(0.40%)
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.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.38 ms
(0.34%)
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.36 ms
(0.33%)
2
SELECT * FROM properties WHERE ((cid IN (1,15177,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15235
]
0.30 ms
(0.27%)
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/kuhn-world/contact"
  "sourcePathQuery" => "/en/kuhn-world/contact"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/kuhn-world/contact"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.29 ms
(0.26%)
2
SELECT * FROM properties WHERE ((cid IN (1,16850,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16851
]
0.29 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.27 ms
(0.25%)
2
SELECT * FROM properties WHERE ((cid IN (1,15143,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15182
]
0.26 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.21 ms
(0.19%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15152
]
0.16 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,15133,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15152
]
0.16 ms
(0.14%)
1
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  538
]
0.15 ms
(0.14%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.15 ms
(0.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,15206,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15234
]
0.15 ms
(0.13%)
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.13%)
1
SELECT * FROM properties WHERE ((cid IN (1,15144,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15180
]
0.11 ms
(0.10%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.10 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/contact' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.10 ms
(0.09%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.09 ms
(0.08%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.08 ms
(0.08%)
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:
[
  538
]
0.08 ms
(0.07%)
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.07 ms
(0.07%)
1
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "contact"
  "path" => "/schweiz/en/kuhn-world/"
]
0.07 ms
(0.06%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  538
]
0.06 ms
(0.06%)
1
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  538
]
0.06 ms
(0.05%)
1
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  538
]
0.05 ms
(0.05%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.04 ms
(0.04%)
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.