Query Metrics

357 Database Queries
33 Different statements
138.25 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
66.29 ms
(47.95%)
202
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:
[
  1737164444
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
17.51 ms
(12.67%)
4
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1737164445
  [
    "\x00tags\x00nav_d74f487a3074b19f20c1eac992827746"
    "nav_d74f487a3074b19f20c1eac992827746"
  ]
]
14.48 ms
(10.48%)
64
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  3
]
8.45 ms
(6.11%)
4
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  1 => null
  2 => null
  3 => 31536000
  4 => 1737164445
]
4.26 ms
(3.08%)
16
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  3
]
2.64 ms
(1.91%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  38
]
2.56 ms
(1.85%)
8
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:
[
  194
]
2.07 ms
(1.50%)
5
SELECT * FROM properties WHERE ((cid IN (1,94,47,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  95
]
1.57 ms
(1.14%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 360
]
1.54 ms
(1.12%)
1
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  46
]
1.48 ms
(1.07%)
2
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:
[
  194
]
1.44 ms
(1.04%)
3
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:
[
  36
]
1.42 ms
(1.03%)
2
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:
[
  61
]
1.24 ms
(0.90%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  38
]
1.20 ms
(0.87%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Editable-Roundup"
  "path" => "/en/More-Stuff/Developers-Corner/"
]
1.16 ms
(0.84%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => "38"
]
1.13 ms
(0.82%)
4
SELECT * FROM properties WHERE ((cid IN (1,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  10
]
1.06 ms
(0.77%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.98 ms
(0.71%)
1
SELECT documents.*, documents_newsletter.*, tree_locks.locked FROM documents
            LEFT JOIN documents_newsletter ON documents.id = documents_newsletter.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  119
]
0.85 ms
(0.62%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  38
  38
  38
]
0.85 ms
(0.61%)
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/Developers-Corner/Editable-Roundup"
  "sourcePathQuery" => "/en/More-Stuff/Developers-Corner/Editable-Roundup"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/en/More-Stuff/Developers-Corner/Editable-Roundup"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.70 ms
(0.51%)
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/"
]
0.55 ms
(0.40%)
2
SELECT * FROM properties WHERE ((cid IN (1,10,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  11
]
0.39 ms
(0.28%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff/Developers-Corner/Editable-Roundup' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.37 ms
(0.26%)
1
SELECT * FROM properties WHERE ((cid IN (1,115,58,47,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  116
]
0.36 ms
(0.26%)
1
SELECT * FROM properties WHERE ((cid IN (1,58,47,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  114
]
0.33 ms
(0.24%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.30 ms
(0.22%)
1
SELECT * FROM properties WHERE ((cid IN (1,47,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  88
]
0.28 ms
(0.20%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.24 ms
(0.18%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.21 ms
(0.15%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.17 ms
(0.13%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.11%)
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.