Query Metrics

63 Database Queries
19 Different statements
8.40 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.00 ms
(23.78%)
12
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15578
]
1.13 ms
(13.49%)
10
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  7
]
0.85 ms
(10.09%)
5
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 2706
]
0.60 ms
(7.13%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "products"
  "path" => "/deutschland/en/construction-equipment/"
]
0.50 ms
(5.93%)
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.47 ms
(5.64%)
4
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15589
  15589
]
0.44 ms
(5.19%)
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:
[
  "/deutschland/%"
  "/en/construction-equipment/products"
]
0.39 ms
(4.68%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/construction-equipment/products"
]
0.35 ms
(4.16%)
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 = '1' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/construction-equipment/products"
  "sourcePathQuery" => "/en/construction-equipment/products"
  "sourceEntireUri" => "https://kuhn-de.roromedia.at/en/construction-equipment/products"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.34 ms
(4.01%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  6651
  15589
  15589
]
0.29 ms
(3.50%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15589
]
0.17 ms
(2.05%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.17 ms
(2.01%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.17 ms
(2.00%)
2
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/products' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(1.75%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/products' AND (siteId = 1 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.13 ms
(1.52%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.10 ms
(1.17%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.09 ms
(1.05%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.07 ms
(0.86%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]

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.