Query Metrics

149 Database Queries
25 Different statements
75.13 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
42.41 ms
(56.45%)
91
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:
[
  1765503095
  [
    "\x00tags\x00site_domain_bc924d98e461656b565b4763d3409616"
    "site_domain_bc924d98e461656b565b4763d3409616"
  ]
]
5.85 ms
(7.78%)
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/stuffed-grape-leaves-6x2-kg"
  "sourcePathQuery" => "/ar/product/stuffed-grape-leaves-6x2-kg"
  "sourceEntireUri" => "https://gcs.centric.ae/ar/product/stuffed-grape-leaves-6x2-kg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
3.53 ms
(4.70%)
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:
[
  "stuffed-grape-leaves-6x2-kg"
]
3.38 ms
(4.50%)
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:
[]
2.84 ms
(3.79%)
16
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.03 ms
(2.70%)
9
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "1"
]
1.81 ms
(2.41%)
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.68 ms
(2.24%)
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.23 ms
(1.64%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "stuffed-grape-leaves-6x2-kg"
  "path" => "/ar/product/"
]
1.20 ms
(1.59%)
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('122158',',', '|'), ')(,|$)') and name != ? AND  object_localized_1_ar.o_type IN ('object','folder')) AND object_localized_1_ar.o_published = 1 LIMIT 8
Parameters:
[
  "ورق محشي"
]
1.03 ms
(1.37%)
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:
[]
1.01 ms
(1.35%)
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
  631
]
0.93 ms
(1.23%)
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_693b706dc1eac"
]
0.92 ms
(1.22%)
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.85 ms
(1.14%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/ar/product/stuffed-grape-leaves-6x2-kg"
]
0.78 ms
(1.04%)
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.77 ms
(1.02%)
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"
  []
]
0.47 ms
(0.62%)
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:
[
  630
]
0.42 ms
(0.57%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.39 ms
(0.53%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.37 ms
(0.49%)
1
SELECT * FROM object_url_slugs WHERE slug = '/ar/product/stuffed-grape-leaves-6x2-kg' AND (siteId = 0 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.36 ms
(0.48%)
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.32 ms
(0.43%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.27 ms
(0.36%)
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:
[
  630
  631
]
0.27 ms
(0.36%)
1
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Newsletter"
  "path" => "/NewsLetterHead/"
]

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.