Query Metrics

648 Database Queries
37 Different statements
379.89 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
114.63 ms
(30.17%)
283
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:
[
  1732000246
  [
    "\x00tags\x00site_domain_07eac2212667673588ae0c2be2b5f3cb"
    "site_domain_07eac2212667673588ae0c2be2b5f3cb"
  ]
]
98.19 ms
(25.85%)
59
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1732000246
  [
    "\x00tags\x00object_4"
    "object_4"
  ]
]
19.29 ms
(5.08%)
57
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  3
]
13.31 ms
(3.50%)
33
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  4
]
11.17 ms
(2.94%)
23
SELECT * FROM object_relations_MA WHERE src_id = ?
Parameters:
[
  4
]
11.12 ms
(2.93%)
23
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:
[
  302
]
10.39 ms
(2.74%)
23
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  302
]
9.85 ms
(2.59%)
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 => 1732000247
]
9.49 ms
(2.50%)
33
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  4
]
9.46 ms
(2.49%)
1
SELECT object_MA.o_id as o_id, object_MA.o_type as o_type FROM object_MA WHERE ( object_MA.o_type IN ('object','folder')) AND object_MA.o_published = 1
Parameters:
[]
7.27 ms
(1.91%)
10
SELECT * FROM object_relations_BS WHERE src_id = ?
Parameters:
[
  6
]
7.08 ms
(1.86%)
23
SELECT * FROM object_store_MA WHERE oo_id = ?
Parameters:
[
  4
]
7.02 ms
(1.85%)
10
SELECT * FROM object_localized_data_BS WHERE ooo_id = ? AND language IN ('en','de','fr')
Parameters:
[
  6
]
6.22 ms
(1.64%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  123
]
5.88 ms
(1.55%)
1
SELECT object_localized_BS_en.o_id as o_id, object_localized_BS_en.o_type as o_type FROM object_localized_BS_en WHERE ( object_localized_BS_en.o_type IN ('object','folder')) AND object_localized_BS_en.o_published = 1
Parameters:
[]
4.93 ms
(1.30%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 123
]
4.15 ms
(1.09%)
10
SELECT * FROM object_store_BS WHERE oo_id = ?
Parameters:
[
  6
]
3.84 ms
(1.01%)
10
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  3
]
3.47 ms
(0.91%)
4
SELECT * FROM object_url_slugs WHERE slug = '/en/Magazine/Submit-a-Car' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
2.38 ms
(0.63%)
1
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:
[
  106
]
2.16 ms
(0.57%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 317
]
2.15 ms
(0.57%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
2.03 ms
(0.53%)
1
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
  46
]
1.96 ms
(0.51%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Submit-a-Car"
  "path" => "/en/Magazine/"
]
1.83 ms
(0.48%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
1.72 ms
(0.45%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "MA"
]
1.57 ms
(0.41%)
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.41 ms
(0.37%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.03 ms
(0.27%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  123
]
0.91 ms
(0.24%)
1
SELECT * FROM properties WHERE ((cid IN (1,30,10,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  106
]
0.74 ms
(0.19%)
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/Magazine/Submit-a-Car"
  "sourcePathQuery" => "/en/Magazine/Submit-a-Car"
  "sourceEntireUri" => "http://pimcore.3.uniquos.digital/en/Magazine/Submit-a-Car"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.72 ms
(0.19%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.64 ms
(0.17%)
1
SELECT * FROM properties WHERE ((cid IN (1,10,3) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  36
]
0.53 ms
(0.14%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.50 ms
(0.13%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  123
  123
  123
]
0.46 ms
(0.12%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.38 ms
(0.10%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  157
  157
]

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.