Query Metrics

1337 Database Queries
82 Different statements
135.79 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
32.08 ms
(23.63%)
456
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
]
25.15 ms
(18.52%)
142
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  15129
]
18.55 ms
(13.66%)
221
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
(9.86%)
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
]
4.00 ms
(2.94%)
44
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  15128
]
2.46 ms
(1.81%)
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
(1.63%)
13
SELECT * FROM properties WHERE ((cid IN (1,15183,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15216
]
1.90 ms
(1.40%)
19
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
]
1.88 ms
(1.39%)
18
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  15137
]
1.86 ms
(1.37%)
10
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  538
]
1.79 ms
(1.32%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "en"
]
1.78 ms
(1.31%)
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.19%)
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.15%)
12
SELECT * FROM properties WHERE ((cid IN (1,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15137
]
1.34 ms
(0.98%)
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
(0.91%)
9
SELECT * FROM properties WHERE ((cid IN (1,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15193
]
1.17 ms
(0.86%)
10
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15152
]
1.09 ms
(0.80%)
10
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
]
1.01 ms
(0.74%)
8
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15144
  15144
]
0.88 ms
(0.65%)
5
SELECT * FROM properties WHERE ((cid IN (1,15199,15156,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15312
]
0.87 ms
(0.64%)
10
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  538
]
0.82 ms
(0.61%)
6
SELECT * FROM properties WHERE ((cid IN (1,15154,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15187
]
0.81 ms
(0.60%)
10
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  538
]
0.80 ms
(0.59%)
5
SELECT * FROM properties WHERE ((cid IN (1,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15129
]
0.79 ms
(0.58%)
1
SELECT object_localized_SiteConfig_en.o_id as o_id, object_localized_SiteConfig_en.o_type as o_type FROM object_localized_SiteConfig_en WHERE ((country IS NOT NULL)  AND (rootDocument__id IS NOT NULL)  AND  object_localized_SiteConfig_en.o_type IN ('object','folder')) AND object_localized_SiteConfig_en.o_published = 1
Parameters:
[]
0.77 ms
(0.57%)
10
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  538
]
0.74 ms
(0.55%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "contact"
  "path" => "/schweiz/en/kuhn-world/"
]
0.64 ms
(0.47%)
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:
[
  "/schweiz/%"
  "/en/kuhn-world/contact"
]
0.58 ms
(0.43%)
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.43%)
4
SELECT * FROM properties WHERE ((cid IN (1,15185,15153,15129,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15207
]
0.53 ms
(0.39%)
2
SELECT * FROM properties WHERE ((cid IN (1,15236,15177,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15275
]
0.52 ms
(0.38%)
4
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.51 ms
(0.38%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/kuhn-world/contact"
]
0.51 ms
(0.38%)
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.37%)
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.35%)
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.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.44 ms
(0.32%)
2
SELECT * FROM properties WHERE ((cid IN (1,15133,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15152
]
0.41 ms
(0.30%)
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.28%)
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.27%)
2
SELECT * FROM properties WHERE ((cid IN (1,15177,15135,15132,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15235
]
0.34 ms
(0.25%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  2479
  15144
  15144
]
0.30 ms
(0.22%)
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.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.29 ms
(0.21%)
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.20%)
2
SELECT * FROM properties WHERE ((cid IN (1,15143,15130,15128,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  15182
]
0.27 ms
(0.20%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 3623
]
0.26 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.21 ms
(0.15%)
1
SELECT * FROM properties WHERE ((cid IN (1,2455,2451,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2479
]
0.21 ms
(0.15%)
2
SELECT * FROM object_url_slugs WHERE slug = '/en/kuhn-world/contact' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.20 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2
]
0.19 ms
(0.14%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15144
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  6599
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2451
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1972) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  10035
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1967) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  12710
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1968) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11025
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1969) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  12022
]
0.19 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1970) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14060
]
0.18 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1973) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13676
]
0.18 ms
(0.14%)
1
SELECT * FROM properties WHERE ((cid IN (1,1971) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4721
]
0.15 ms
(0.11%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.15 ms
(0.11%)
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.11%)
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.10%)
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.08%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.11 ms
(0.08%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.10 ms
(0.08%)
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.07%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.09 ms
(0.06%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.08 ms
(0.06%)
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.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2515
Parameters:
[]
0.07 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 500
Parameters:
[]
0.07 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 170
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 553
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 1522
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2512
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2520
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 1622
Parameters:
[]
0.06 ms
(0.05%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 3190
Parameters:
[]
0.05 ms
(0.04%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.04 ms
(0.03%)
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.