Query Metrics

616 Database Queries
61 Different statements
243.14 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
91.60 ms
(37.68%)
276
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:
[
  1737171978
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
53.39 ms
(21.96%)
42
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1737171978
  [
    "\x00tags\x00document_target_groups_136"
    "document_target_groups_136"
  ]
]
12.38 ms
(5.09%)
52
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_26__560ae9d58a4dd7dd1084f7a724701ada"
]
10.06 ms
(4.14%)
54
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
7.69 ms
(3.16%)
26
SELECT id FROM documents d WHERE parentId = ?  AND published = 1 LIMIT 1
Parameters:
[
  136
]
7.36 ms
(3.03%)
4
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  1 => null
  2 => null
  3 => 31536000
  4 => 1737171978
]
6.40 ms
(2.63%)
19
SELECT documents.*, tree_locks.locked FROM documents
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  138
]
4.94 ms
(2.03%)
10
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 26
]
3.78 ms
(1.55%)
1
SELECT * FROM translations_messages WHERE language = ?
Parameters:
[
  "de"
]
3.19 ms
(1.31%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  136
]
3.12 ms
(1.28%)
4
SELECT * FROM properties WHERE ((cid IN (1,158,140,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  171
]
2.97 ms
(1.22%)
9
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  136
]
2.90 ms
(1.19%)
7
SELECT * FROM properties WHERE ((cid IN (1,139,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  151
]
2.82 ms
(1.16%)
1
SELECT PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => "399"
]
2.73 ms
(1.12%)
5
SELECT * FROM properties WHERE ((cid IN (1,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  138
]
2.19 ms
(0.90%)
10
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
]
2.03 ms
(0.84%)
4
SELECT documents.*, documents_email.*, tree_locks.locked FROM documents
            LEFT JOIN documents_email ON documents.id = documents_email.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  144
]
1.97 ms
(0.81%)
5
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  166
]
1.70 ms
(0.70%)
3
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  138
]
1.56 ms
(0.64%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Steering-Wheels~c399"
  "path" => "/de/shop/Spare-Parts/"
]
1.25 ms
(0.51%)
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.21 ms
(0.50%)
3
SELECT * FROM properties WHERE ((cid IN (1,140,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  158
]
1.13 ms
(0.47%)
5
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
1.11 ms
(0.46%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/de/shop/Spare-Parts/Steering-Wheels~c399"
]
0.97 ms
(0.40%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.95 ms
(0.39%)
2
SELECT * FROM properties WHERE ((cid IN (1,137,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  148
]
0.94 ms
(0.39%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  136
]
0.72 ms
(0.30%)
4
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:
[
  564
]
0.70 ms
(0.29%)
2
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  136
  136
]
0.68 ms
(0.28%)
2
SELECT * FROM properties WHERE ((cid IN (1,138,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  164
]
0.55 ms
(0.23%)
2
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.47 ms
(0.19%)
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" => "/de/shop/Spare-Parts/Steering-Wheels~c399"
  "sourcePathQuery" => "/de/shop/Spare-Parts/Steering-Wheels~c399"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/de/shop/Spare-Parts/Steering-Wheels~c399"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.46 ms
(0.19%)
1
SELECT * FROM properties WHERE ((cid IN (1,148,137,136) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  170
]
0.46 ms
(0.19%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  136
  136
]
0.45 ms
(0.18%)
3
SELECT * FROM targeting_target_groups WHERE id = ?
Parameters:
[
  4
]
0.38 ms
(0.16%)
2
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:
[
  301
]
0.37 ms
(0.15%)
1
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  170
]
0.34 ms
(0.14%)
1
SELECT TRIM(`parentCategoryIds`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' GROUP BY TRIM(`parentCategoryIds`)
Parameters:
[]
0.34 ms
(0.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.33 ms
(0.14%)
1
SELECT SQL_CALC_FOUND_ROWS a.o_id, priceSystemName FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,399,%') LIMIT 22
Parameters:
[]
0.30 ms
(0.12%)
2
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  301
]
0.30 ms
(0.12%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '420'
Parameters:
[]
0.25 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '387'
Parameters:
[]
0.25 ms
(0.10%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.25 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '432'
Parameters:
[]
0.24 ms
(0.10%)
1
SELECT TRIM(`milage`) as `value`, count(*) as `count` FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,399,%') GROUP BY TRIM(`milage`)
Parameters:
[]
0.23 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '381'
Parameters:
[]
0.23 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '451'
Parameters:
[]
0.23 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '411'
Parameters:
[]
0.22 ms
(0.09%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '481'
Parameters:
[]
0.21 ms
(0.09%)
1
SELECT dest as `value`, count(*) as `count` FROM shop_productindex_relations a WHERE fieldname = 'manufacturer' AND src IN (SELECT a.o_id FROM shop_productindex a WHERE active = 1 AND o_virtualProductActive = 1 AND inProductList = 1 AND o_type = 'variant' AND (parentCategoryIds LIKE '%,399,%')) GROUP BY dest
Parameters:
[]
0.21 ms
(0.08%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.20 ms
(0.08%)
1
SELECT FOUND_ROWS()
Parameters:
[]
0.19 ms
(0.08%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.19 ms
(0.08%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '464'
Parameters:
[]
0.19 ms
(0.08%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.18 ms
(0.08%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.18 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '492'
Parameters:
[]
0.17 ms
(0.07%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '530'
Parameters:
[]
0.16 ms
(0.07%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.16 ms
(0.07%)
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.