Query Metrics

221 Database Queries
39 Different statements
64.76 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
35.66 ms
(55.06%)
129
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:
[
  1737176921
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
8.84 ms
(13.66%)
4
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1737176921
  [
    "\x00tags\x00object_835"
    "object_835"
  ]
]
2.82 ms
(4.36%)
11
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 337
]
1.82 ms
(2.81%)
1
SELECT * FROM object_relations_1 WHERE src_id = ?
Parameters:
[
  833
]
1.72 ms
(2.65%)
7
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "2"
]
1.51 ms
(2.33%)
1
SELECT * FROM object_store_1 WHERE oo_id = ?
Parameters:
[
  833
]
1.16 ms
(1.78%)
2
SELECT * FROM properties WHERE ((cid IN (1,149,137,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  166
]
0.98 ms
(1.52%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.92 ms
(1.42%)
6
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.89 ms
(1.37%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => "136"
]
0.82 ms
(1.27%)
5
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.67 ms
(1.03%)
2
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:
[
  835
]
0.63 ms
(0.98%)
6
SELECT * FROM targeting_target_groups WHERE id = ?
Parameters:
[
  5
]
0.63 ms
(0.97%)
2
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  835
]
0.61 ms
(0.94%)
5
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  136
]
0.58 ms
(0.90%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "de"
  "path" => "/"
]
0.55 ms
(0.85%)
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" => "/de"
  "sourcePathQuery" => "/de"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/de"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.36 ms
(0.56%)
2
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultTaxClass"
  null
  null
]
0.29 ms
(0.44%)
1
SELECT * FROM object_url_slugs WHERE slug = '/de' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.26 ms
(0.41%)
1
SELECT * FROM object_relations_2 WHERE src_id = ?
Parameters:
[
  835
]
0.26 ms
(0.40%)
1
SELECT * FROM object_store_2 WHERE oo_id = ?
Parameters:
[
  835
]
0.21 ms
(0.33%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.19 ms
(0.30%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.18 ms
(0.29%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  136
  136
]
0.18 ms
(0.27%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.17 ms
(0.26%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '58'
Parameters:
[]
0.16 ms
(0.25%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.16 ms
(0.25%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.16 ms
(0.25%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.15 ms
(0.23%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '110'
Parameters:
[]
0.14 ms
(0.22%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.14 ms
(0.22%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.14 ms
(0.22%)
1
SELECT id FROM targeting_target_groups ORDER BY `name` ASC
Parameters:
[]
0.14 ms
(0.22%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.14 ms
(0.22%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.14 ms
(0.21%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.13 ms
(0.20%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
0.11 ms
(0.17%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  136
  136
]
0.11 ms
(0.17%)
1
SELECT * FROM translations_admin 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.