Query Metrics

79 Database Queries
21 Different statements
14.56 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
3.37 ms
(23.17%)
3
SELECT COUNT(*) FROM object_localized_Product_en WHERE ((title != '' OR title IS NOT NULL)  AND (category__id IN (3196))  AND (config LIKE :config)  AND  object_localized_Product_en.o_type IN ('object','folder')) AND object_localized_Product_en.o_published = 1
Parameters:
[
  "config" => "%,538,%"
]
1.19 ms
(8.14%)
8
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  15258
]
1.18 ms
(8.12%)
8
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 2706
]
1.12 ms
(7.69%)
1
SELECT object_localized_Product_en.o_id as o_id, object_localized_Product_en.o_type as o_type FROM object_localized_Product_en WHERE ((title != '' OR title IS NOT NULL)  AND (category__id IN (3196))  AND (config LIKE :config)  AND  object_localized_Product_en.o_type IN ('object','folder')) AND object_localized_Product_en.o_published = 1 ORDER BY CASE WHEN category__id = 3196 THEN 0 END ASC , title
Parameters:
[
  "config" => "%,538,%"
]
1.10 ms
(7.53%)
10
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  7
]
0.98 ms
(6.70%)
8
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  15258
  15258
]
0.80 ms
(5.50%)
9
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "water-management"
  "path" => "/schweiz/en/construction-equipment/products/powerscreen/"
]
0.71 ms
(4.90%)
6
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/construction-equipment/products/powerscreen/water-management"
]
0.67 ms
(4.60%)
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.57 ms
(3.91%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en/construction-equipment/products/powerscreen/water-management"
]
0.55 ms
(3.74%)
2
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  14054
  15258
  15258
]
0.49 ms
(3.34%)
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/construction-equipment/products/powerscreen/water-management"
  "sourcePathQuery" => "/en/construction-equipment/products/powerscreen/water-management"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/en/construction-equipment/products/powerscreen/water-management"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.37 ms
(2.52%)
2
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  15258
]
0.33 ms
(2.28%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "SiteConfig"
]
0.20 ms
(1.35%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(1.29%)
2
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/products/powerscreen/water-management' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 ms
(1.28%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.18 ms
(1.25%)
2
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.16 ms
(1.12%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/construction-equipment/products/powerscreen/water-management' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.13 ms
(0.88%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.10 ms
(0.69%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
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.