Query Metrics

206 Database Queries
28 Different statements
37.79 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
22.93 ms
(60.67%)
85
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:
[
  1772226161
  [
    "\x00tags\x00site_domain_01288e4ad442cb079665bd93f482e641"
    "site_domain_01288e4ad442cb079665bd93f482e641"
  ]
]
3.08 ms
(8.14%)
4
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1772226162
  [
    "\x00tags\x00asset_292637"
    "asset_292637"
  ]
]
2.40 ms
(6.34%)
10
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 292633
]
2.27 ms
(6.02%)
49
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.72 ms
(4.55%)
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:
[
  292637
]
1.52 ms
(4.03%)
1
SELECT object_23.o_id AS o_id, object_23.o_type AS o_type FROM object_23 WHERE (cartId = ? AND IFNULL(successorOrder__id , "") = "" AND  object_23.o_type IN ('object','folder')) AND object_23.o_published = 1
Parameters:
[
  "Pimcore\Bundle\EcommerceFrameworkBundle\CartManager\SessionCart_sesscart_69a20671827e5"
]
0.67 ms
(1.78%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Exhibitionithra-museum-free-wednesday~p157581"
  "path" => "/en_us/product/"
]
0.41 ms
(1.09%)
3
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/en_us/product/Exhibitionithra-museum-free-wednesday~p157581"
]
0.40 ms
(1.06%)
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_us/product/Exhibitionithra-museum-free-wednesday~p157581"
  "sourcePathQuery" => "/en_us/product/Exhibitionithra-museum-free-wednesday~p157581"
  "sourceEntireUri" => "https://pim2.centricdxb.com/en_us/product/Exhibitionithra-museum-free-wednesday~p157581"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.36 ms
(0.96%)
4
SELECT * FROM bundle_outputdataconfigtoolkit_outputdefinition WHERE o_id=? AND o_classId = ? AND `channel` = ?
Parameters:
[
  157581
  "32"
  "productdetail_specification"
]
0.32 ms
(0.85%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en_us/product/Exhibitionithra-museum-free-wednesday~p157581' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.31 ms
(0.82%)
3
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "us"
  "path" => "/availability-countries/"
]
0.21 ms
(0.57%)
4
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.19 ms
(0.51%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "53"
]
0.15 ms
(0.40%)
4
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (29,17);
Parameters:
[]
0.15 ms
(0.39%)
3
SELECT * FROM object_metadata_32 WHERE o_id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? AND position = ? AND `index` = ?  AND (TYPE = 'object' OR TYPE = '')
Parameters:
[
  157581
  29
  "Category"
  "object"
  ""
  "0"
  1
]
0.11 ms
(0.30%)
3
SELECT TRIM(`parentCategoryids`) AS `value`, COUNT(*) AS `count` FROM ecommerceframework_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' GROUP BY TRIM(`parentCategoryids`)
Parameters:
[]
0.09 ms
(0.25%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  40
]
0.07 ms
(0.19%)
2
SELECT o_id FROM objects WHERE o_published=1 AND o_id IN (3094);
Parameters:
[]
0.06 ms
(0.15%)
1
SELECT * FROM object_collection_SimilarityField_19 WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  117
  "similarityFields"
]
0.05 ms
(0.14%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.05 ms
(0.13%)
1
SELECT objects.o_id AS o_id, objects.o_type AS o_type FROM objects WHERE (o_parentId = ? AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  15
]
0.04 ms
(0.11%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  2
]
0.04 ms
(0.11%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.04 ms
(0.11%)
1
SELECT o_id FROM objects WHERE o_id IN (29,17)
Parameters:
[]
0.04 ms
(0.11%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.04 ms
(0.11%)
1
SELECT o_id FROM objects WHERE o_id IN (3094)
Parameters:
[]
0.04 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.