Query Metrics

174 Database Queries
25 Different statements
47.72 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
26.04 ms
(54.58%)
109
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:
[
  1765494734
  [
    "\x00tags\x00site_domain_bc924d98e461656b565b4763d3409616"
    "site_domain_bc924d98e461656b565b4763d3409616"
  ]
]
2.21 ms
(4.63%)
16
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
1.87 ms
(3.93%)
9
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "1"
]
1.66 ms
(3.47%)
2
SELECT object_localized_4_ar.o_id as o_id, object_localized_4_ar.o_type as o_type FROM object_localized_4_ar WHERE ( object_localized_4_ar.o_type IN ('object','folder')) AND object_localized_4_ar.o_published = 1 ORDER BY `order` ASC   LIMIT 10
Parameters:
[]
1.61 ms
(3.37%)
2
SELECT object_localized_11_ar.o_id as o_id, object_localized_11_ar.o_type as o_type FROM object_localized_11_ar WHERE ( object_localized_11_ar.o_type IN ('object','folder')) AND object_localized_11_ar.o_published = 1
Parameters:
[]
1.60 ms
(3.35%)
8
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:
[
  507
]
1.24 ms
(2.60%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "ditalini-rigate-pasta-12x1-kg"
  "path" => "/ar/product/"
]
1.05 ms
(2.20%)
1
SELECT object_localized_1_ar.o_id as o_id, object_localized_1_ar.o_type as o_type FROM object_localized_1_ar WHERE (categories REGEXP CONCAT('(^|,)(', REPLACE('415',',', '|'), ')(,|$)') and name != ? AND  object_localized_1_ar.o_type IN ('object','folder')) AND object_localized_1_ar.o_published = 1 LIMIT 8
Parameters:
[
  "مكرونة خواتم مخططة"
]
0.94 ms
(1.96%)
1
SELECT object_localized_1_ar.o_id as o_id, object_localized_1_ar.o_type as o_type FROM object_localized_1_ar WHERE (url = (?) AND  object_localized_1_ar.o_type IN ('object','folder')) AND object_localized_1_ar.o_published = 1
Parameters:
[
  "ditalini-rigate-pasta-12x1-kg"
]
0.93 ms
(1.95%)
1
SELECT object_54.o_id as o_id, object_54.o_type as o_type FROM object_54 WHERE (op_name = ? and user_data__id = ? and obj_data__id = ? AND  object_54.o_type IN ('object','folder')) AND object_54.o_published = 1
Parameters:
[
  "Like"
  null
  508
]
0.90 ms
(1.88%)
1
SELECT object_EF_OSO.o_id as o_id, object_EF_OSO.o_type as o_type FROM object_EF_OSO WHERE (cartId = ? AND IFNULL(successorOrder__id , "") = "" AND  object_EF_OSO.o_type IN ('object','folder')) AND object_EF_OSO.o_published = 1
Parameters:
[
  "Pimcore\Bundle\EcommerceFrameworkBundle\CartManager\SessionCart_sesscart_693b4fb0d9a28"
]
0.87 ms
(1.82%)
1
SELECT COUNT(*) FROM object_localized_43_ar WHERE (o_parentId = 269 AND  object_localized_43_ar.o_type IN ('object','folder')) AND object_localized_43_ar.o_published = 1
Parameters:
[]
0.79 ms
(1.65%)
1
SELECT object_54.o_id as o_id, object_54.o_type as o_type FROM object_54 WHERE (op_name = ? and user_data__id = ? and obj_mod_name = ? and obj_data__id IN (?) AND  object_54.o_type IN ('object','folder')) AND object_54.o_published = 1
Parameters:
[
  "Like"
  null
  "Product"
  [
    537
    540
    658
    659
  ]
]
0.79 ms
(1.65%)
1
SELECT object_localized_41_ar.o_id as o_id, object_localized_41_ar.o_type as o_type FROM object_localized_41_ar WHERE ( object_localized_41_ar.o_type IN ('object','folder')) AND object_localized_41_ar.o_published = 1 ORDER BY `order` ASC   LIMIT 5
Parameters:
[]
0.77 ms
(1.61%)
1
SELECT object_localized_67_ar.o_id as o_id, object_localized_67_ar.o_type as o_type FROM object_localized_67_ar WHERE (o_id NOT IN (?) AND  object_localized_67_ar.o_type IN ('object','folder')) AND object_localized_67_ar.o_published = 1 ORDER BY `oo_id` DESC   LIMIT 1
Parameters:
[
  122972
]
0.72 ms
(1.51%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/ar/product/ditalini-rigate-pasta-12x1-kg"
]
0.71 ms
(1.48%)
1
SELECT object_localized_43_ar.o_id as o_id, object_localized_43_ar.o_type as o_type FROM object_localized_43_ar WHERE (o_parentId = 269 AND  object_localized_43_ar.o_type IN ('object','folder')) AND object_localized_43_ar.o_published = 1 ORDER BY `name` ASC   LIMIT 20
Parameters:
[]
0.62 ms
(1.30%)
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" => "/ar/product/ditalini-rigate-pasta-12x1-kg"
  "sourcePathQuery" => "/ar/product/ditalini-rigate-pasta-12x1-kg"
  "sourceEntireUri" => "https://gcs.centric.ae/ar/product/ditalini-rigate-pasta-12x1-kg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.39 ms
(0.82%)
1
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Newsletter"
  "path" => "/NewsLetterHead/"
]
0.38 ms
(0.80%)
1
SELECT object_27.o_id as o_id, object_27.o_type as o_type FROM object_27 WHERE (o_id = 206 AND  object_27.o_type IN ('object','folder')) AND object_27.o_published = 1
Parameters:
[]
0.35 ms
(0.74%)
1
SELECT * FROM object_url_slugs WHERE slug = '/ar/product/ditalini-rigate-pasta-12x1-kg' AND (siteId = 0 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.34 ms
(0.72%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.34 ms
(0.71%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.32 ms
(0.68%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.27 ms
(0.57%)
1
SELECT objects.o_id as o_id, objects.o_type as o_type FROM objects WHERE ((o_parentId = ?)  AND (o_id != ?)  AND  objects.o_type IN ('object','folder')) AND objects.o_published = 1 ORDER BY `o_key` ASC
Parameters:
[
  507
  508
]

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.