Query Metrics

146 Database Queries
17 Different statements
46.08 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
30.27 ms
(65.69%)
99
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:
[
  1732000668
  [
    "\x00tags\x00site_domain_07eac2212667673588ae0c2be2b5f3cb"
    "site_domain_07eac2212667673588ae0c2be2b5f3cb"
  ]
]
2.09 ms
(4.55%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.67 ms
(3.61%)
5
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  194
]
1.57 ms
(3.41%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 194
]
1.41 ms
(3.06%)
5
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Sports-Cars-Fan"
  "path" => "/Customer Management/segments/calculated/Interest-Target-Groups/"
]
1.38 ms
(3.00%)
5
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 397
]
1.37 ms
(2.98%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Workflows"
  "path" => "/en/More-Stuff/Demo-Features/"
]
1.16 ms
(2.53%)
4
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff/Demo-Features/Workflows' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
1.11 ms
(2.42%)
4
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.92 ms
(2.00%)
3
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:
[
  397
]
0.65 ms
(1.40%)
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" => "/en/More-Stuff/Demo-Features/Workflows"
  "sourcePathQuery" => "/en/More-Stuff/Demo-Features/Workflows"
  "sourceEntireUri" => "http://pimcore.3.uniquos.digital/en/More-Stuff/Demo-Features/Workflows"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.51 ms
(1.10%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  194
  194
  194
]
0.50 ms
(1.09%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.46 ms
(1.01%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.36 ms
(0.77%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  194
]
0.35 ms
(0.76%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.29 ms
(0.63%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
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.