Query Metrics

276 Database Queries
15 Different statements
61.01 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
52.57 ms
(86.16%)
240
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1765950942
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
2.53 ms
(4.15%)
10
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Substance-Use-Addiction"
  "path" => "/Psychological-Testing/"
]
0.98 ms
(1.61%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Psychological-Testing/Substance-Use-Addiction"
]
0.97 ms
(1.58%)
4
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  1124
]
0.88 ms
(1.45%)
4
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.61 ms
(1.00%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1124
]
0.46 ms
(0.75%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.43 ms
(0.70%)
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 IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Psychological-Testing/Substance-Use-Addiction"
  "sourcePathQuery" => "/Psychological-Testing/Substance-Use-Addiction"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Psychological-Testing/Substance-Use-Addiction"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.32 ms
(0.53%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.27 ms
(0.43%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 94
]
0.24 ms
(0.40%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.20 ms
(0.33%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.20 ms
(0.32%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.19 ms
(0.30%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.17 ms
(0.28%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Psychological-Testing/Substance-Use-Addiction' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.