Query Metrics

326 Database Queries
29 Different statements
620.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
190.94 ms
(30.78%)
162
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:
[
  1770210435
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
162.20 ms
(26.14%)
6
SELECT cid FROM properties WHERE name = "category" AND data = "3887"
Parameters:
[]
32.51 ms
(5.24%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Product"
]
31.99 ms
(5.16%)
13
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "CPSpro-Polygraph-System~245580"
  "path" => "/Polygraph-Instruments/"
]
30.68 ms
(4.95%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3891"
Parameters:
[]
27.60 ms
(4.45%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3887"
Parameters:
[]
23.14 ms
(3.73%)
6
SELECT * FROM object_collection_AditionalContentRelation_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  245580
  "AdditionalContent"
]
19.01 ms
(3.06%)
5
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
17.05 ms
(2.75%)
72
SELECT * FROM quantityvalue_units WHERE abbreviation='USD'
Parameters:
[]
13.58 ms
(2.19%)
5
SELECT * FROM object_collection_AditionalContentText_localized_Product WHERE ooo_id = ? AND language IN ('en') AND `fieldname` = ? AND `index` = ?
Parameters:
[
  4345
  "AdditionalContent"
  0
]
12.76 ms
(2.06%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
12.68 ms
(2.04%)
18
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Polygraph"
  "path" => "/PriceSystemRule/"
]
12.12 ms
(1.95%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
6.74 ms
(1.09%)
3
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  371
]
4.07 ms
(0.66%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Polygraph-Instruments/CPSpro-Polygraph-System~245580' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
4.01 ms
(0.65%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
3.87 ms
(0.62%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Polygraph-Instruments/CPSpro-Polygraph-System~245580"
]
3.66 ms
(0.59%)
6
SELECT * FROM object_collection_AditionalContentText_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  245580
  "AdditionalContent"
]
3.24 ms
(0.52%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.92 ms
(0.47%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 94
]
2.17 ms
(0.35%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
1.03 ms
(0.17%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  462
]
0.64 ms
(0.10%)
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" => "/Polygraph-Instruments/CPSpro-Polygraph-System~245580"
  "sourcePathQuery" => "/Polygraph-Instruments/CPSpro-Polygraph-System~245580?navigate_from_document=1072&navigated_from_object=3891"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Polygraph-Instruments/CPSpro-Polygraph-System~245580?navigate_from_document=1072&navigated_from_object=3891"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.52 ms
(0.08%)
1
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
]
0.35 ms
(0.06%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.30 ms
(0.05%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.25 ms
(0.04%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  4
]
0.20 ms
(0.03%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.19 ms
(0.03%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='4'
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No loaded entities.