Query Metrics

1416 Database Queries
96 Different statements
232.53 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
54.40 ms
(23.39%)
437
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
]
26.81 ms
(11.53%)
199
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  5
]
25.59 ms
(11.00%)
164
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
]
23.52 ms
(10.11%)
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
]
12.52 ms
(5.38%)
69
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  2
]
8.88 ms
(3.82%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
3.83 ms
(1.65%)
14
SELECT * FROM properties WHERE ((cid IN (1,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  94
]
3.69 ms
(1.59%)
26
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
]
3.58 ms
(1.54%)
26
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  94
]
3.40 ms
(1.46%)
10
SELECT * FROM object_relations_SiteConfig WHERE src_id = ?
Parameters:
[
  170
]
3.39 ms
(1.46%)
13
SELECT * FROM properties WHERE ((cid IN (1,9,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11
]
3.22 ms
(1.38%)
13
SELECT * FROM properties WHERE ((cid IN (1,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14
]
2.68 ms
(1.15%)
12
SELECT * FROM properties WHERE ((cid IN (1,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  8
]
2.41 ms
(1.04%)
9
SELECT * FROM properties WHERE ((cid IN (1,38,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  194
]
2.37 ms
(1.02%)
9
SELECT * FROM properties WHERE ((cid IN (1,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  9
]
2.30 ms
(0.99%)
9
SELECT * FROM properties WHERE ((cid IN (1,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  5
]
2.18 ms
(0.94%)
9
SELECT * FROM properties WHERE ((cid IN (1,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  74
]
2.15 ms
(0.92%)
8
SELECT * FROM properties WHERE ((cid IN (1,42,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  43
]
1.99 ms
(0.86%)
8
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
]
1.98 ms
(0.85%)
8
SELECT * FROM properties WHERE ((cid IN (1,3,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4
]
1.92 ms
(0.83%)
8
SELECT * FROM properties WHERE ((cid IN (1,14,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  98
]
1.86 ms
(0.80%)
6
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  358
]
1.78 ms
(0.76%)
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.62 ms
(0.70%)
6
SELECT * FROM properties WHERE ((cid IN (1,103,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  211
]
1.54 ms
(0.66%)
6
SELECT * FROM properties WHERE ((cid IN (1,120,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  121
]
1.40 ms
(0.60%)
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.30 ms
(0.56%)
5
SELECT * FROM properties WHERE ((cid IN (1,128,6,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  129
]
1.29 ms
(0.55%)
6
SELECT * FROM properties WHERE ((cid IN (1,64,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  65
]
1.24 ms
(0.53%)
10
SELECT * FROM object_store_SiteConfig WHERE oo_id = ?
Parameters:
[
  170
]
1.20 ms
(0.52%)
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:
[
  170
]
1.18 ms
(0.51%)
5
SELECT * FROM properties WHERE ((cid IN (1,87,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  88
]
1.17 ms
(0.50%)
10
SELECT * FROM object_localized_data_SiteConfig WHERE ooo_id = ? AND language IN ('en')
Parameters:
[
  170
]
1.15 ms
(0.50%)
5
SELECT * FROM properties WHERE ((cid IN (1,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  160
]
1.05 ms
(0.45%)
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.99 ms
(0.42%)
4
SELECT * FROM properties WHERE ((cid IN (1,82,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  83
]
0.99 ms
(0.42%)
4
SELECT * FROM properties WHERE ((cid IN (1,54,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  55
]
0.89 ms
(0.38%)
4
SELECT * FROM properties WHERE ((cid IN (1,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  154
]
0.86 ms
(0.37%)
10
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  170
]
0.74 ms
(0.32%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "hinweisgebersystem"
  "path" => "/oesterreich/de/kuhn-world/"
]
0.73 ms
(0.31%)
3
SELECT * FROM properties WHERE ((cid IN (1,137,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  138
]
0.71 ms
(0.31%)
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.71 ms
(0.31%)
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.71 ms
(0.31%)
3
SELECT * FROM properties WHERE ((cid IN (1,78,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  79
]
0.70 ms
(0.30%)
3
SELECT * FROM properties WHERE ((cid IN (1,189,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  279
]
0.69 ms
(0.29%)
3
SELECT * FROM properties WHERE ((cid IN (1,160,159,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  169
]
0.68 ms
(0.29%)
3
SELECT * FROM properties WHERE ((cid IN (1,192,151,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  193
]
0.59 ms
(0.25%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.52 ms
(0.23%)
2
SELECT * FROM properties WHERE ((cid IN (1,142,7,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  209
]
0.48 ms
(0.21%)
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.48 ms
(0.20%)
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.47 ms
(0.20%)
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.47 ms
(0.20%)
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.20%)
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/hinweisgebersystem"
]
0.47 ms
(0.20%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15764
  15764
  15764
]
0.47 ms
(0.20%)
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.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,16923,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16943
]
0.43 ms
(0.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,213,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  232
]
0.43 ms
(0.18%)
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/hinweisgebersystem"
  "sourcePathQuery" => "/de/kuhn-world/hinweisgebersystem"
  "sourceEntireUri" => "https://kuhn-at.roromedia.at/de/kuhn-world/hinweisgebersystem"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.39 ms
(0.17%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/kuhn-world/hinweisgebersystem"
]
0.36 ms
(0.16%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15764
]
0.30 ms
(0.13%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.28 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,10,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13
]
0.27 ms
(0.12%)
1
SELECT * FROM properties WHERE ((cid IN (1,16868,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16875
]
0.27 ms
(0.11%)
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.11%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15766
  15766
]
0.26 ms
(0.11%)
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.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,95,73,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  388
]
0.26 ms
(0.11%)
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.11%)
1
SELECT * FROM properties WHERE ((cid IN (1,16915,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  16923
]
0.24 ms
(0.10%)
1
SELECT * FROM properties WHERE ((cid IN (1,60,8,5,2,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  61
]
0.21 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/hinweisgebersystem' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1965) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1964) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  6599
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1966) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  2451
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1969) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  12022
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1968) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11025
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1973) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  13676
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1967) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  12710
]
0.19 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1970) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  14060
]
0.18 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1972) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  10035
]
0.18 ms
(0.08%)
1
SELECT * FROM properties WHERE ((cid IN (1,1971) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  4721
]
0.16 ms
(0.07%)
2
SELECT * FROM object_url_slugs WHERE slug = '/de/kuhn-world/hinweisgebersystem' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.16 ms
(0.07%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.16 ms
(0.07%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(0.05%)
1
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.09 ms
(0.04%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 170
Parameters:
[]
0.08 ms
(0.03%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.07 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 538
Parameters:
[]
0.07 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 500
Parameters:
[]
0.07 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 553
Parameters:
[]
0.07 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2515
Parameters:
[]
0.06 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 1622
Parameters:
[]
0.06 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 3190
Parameters:
[]
0.06 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 1522
Parameters:
[]
0.06 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2512
Parameters:
[]
0.06 ms
(0.03%)
1
select `sharingServices` from object_store_SiteConfig where oo_id  = 2520
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.