Query Metrics

70 Database Queries
16 Different statements
27.89 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
23.29 ms
(83.50%)
48
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:
[
  1765336653
  [
    "\x00tags\x00site_domain_01288e4ad442cb079665bd93f482e641"
    "site_domain_01288e4ad442cb079665bd93f482e641"
  ]
]
1.50 ms
(5.37%)
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_6938e64cef895"
]
0.63 ms
(2.27%)
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"
  "sourcePathQuery" => "/en_us/product"
  "sourceEntireUri" => "https://pim2.centricdxb.com/en_us/product"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.59 ms
(2.10%)
2
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "product"
  "path" => "/en_us/"
]
0.58 ms
(2.09%)
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.39 ms
(1.40%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  6
]
0.27 ms
(0.99%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en_us/product' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.15 ms
(0.55%)
2
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "us"
  "path" => "/availability-countries/"
]
0.15 ms
(0.53%)
3
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "53"
]
0.06 ms
(0.20%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.05 ms
(0.18%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.05 ms
(0.17%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.05 ms
(0.16%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  2
]
0.05 ms
(0.16%)
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.16%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.04 ms
(0.15%)
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.