Query Metrics

208 Database Queries
46 Different statements
93.03 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
33.48 ms
(35.99%)
104
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:
[
  1732000557
  [
    "\x00tags\x00site_domain_07eac2212667673588ae0c2be2b5f3cb"
    "site_domain_07eac2212667673588ae0c2be2b5f3cb"
  ]
]
27.01 ms
(29.04%)
6
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1732000557
  [
    "\x00tags\x00object_97"
    "object_97"
  ]
]
2.33 ms
(2.51%)
8
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:
[
  79
]
2.24 ms
(2.40%)
8
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  79
]
1.72 ms
(1.85%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
1.72 ms
(1.85%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.57 ms
(1.68%)
4
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:
[
  97
]
1.47 ms
(1.58%)
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/"
]
1.27 ms
(1.36%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "More-Stuff"
  "path" => "/en/"
]
1.22 ms
(1.31%)
4
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  97
]
1.17 ms
(1.26%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 47
]
0.94 ms
(1.01%)
2
SELECT * FROM object_localized_data_CAR WHERE ooo_id = ? AND language IN ('en','de','fr')
Parameters:
[
  97
]
0.93 ms
(1.00%)
4
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.87 ms
(0.94%)
3
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 79
]
0.82 ms
(0.88%)
2
SELECT * FROM object_brick_store_Bodywork_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  97
  "attributes"
]
0.79 ms
(0.85%)
2
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  97
]
0.72 ms
(0.77%)
2
SELECT * FROM object_store_CAR WHERE oo_id = ?
Parameters:
[
  97
]
0.66 ms
(0.71%)
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"
  "sourcePathQuery" => "/en/More-Stuff"
  "sourceEntireUri" => "http://pimcore.3.uniquos.digital/en/More-Stuff"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.66 ms
(0.71%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  47
]
0.65 ms
(0.70%)
1
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.64 ms
(0.69%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.61 ms
(0.66%)
2
SELECT * FROM object_brick_store_Dimensions_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  97
  "attributes"
]
0.61 ms
(0.65%)
2
SELECT * FROM object_brick_store_Transmission_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  97
  "attributes"
]
0.59 ms
(0.63%)
1
SELECT * FROM object_relations_BS WHERE src_id = ?
Parameters:
[
  96
]
0.58 ms
(0.62%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '97'
Parameters:
[]
0.58 ms
(0.62%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.57 ms
(0.61%)
2
SELECT * FROM object_brick_store_SaleInformation_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  97
  "saleInformation"
]
0.55 ms
(0.59%)
2
SELECT * FROM object_brick_store_Engine_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  97
  "attributes"
]
0.52 ms
(0.56%)
1
SELECT * FROM object_localized_data_BS WHERE ooo_id = ? AND language IN ('en','de','fr')
Parameters:
[
  96
]
0.51 ms
(0.55%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.48 ms
(0.52%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  47
  47
  47
]
0.47 ms
(0.50%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.44 ms
(0.48%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.41 ms
(0.44%)
1
SELECT * FROM object_store_BS WHERE oo_id = ?
Parameters:
[
  96
]
0.34 ms
(0.37%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '58'
Parameters:
[]
0.33 ms
(0.35%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  140
  140
]
0.32 ms
(0.34%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  47
]
0.31 ms
(0.33%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.30 ms
(0.33%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.30 ms
(0.32%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '114'
Parameters:
[]
0.23 ms
(0.25%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.23 ms
(0.25%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.23 ms
(0.24%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.22 ms
(0.24%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.21 ms
(0.23%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.19 ms
(0.21%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
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.