Query Metrics

359 Database Queries
29 Different statements
223.57 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
70.60 ms
(31.58%)
269
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:
[
  1770192195
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
62.57 ms
(27.99%)
2
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
33.58 ms
(15.02%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3937"
Parameters:
[]
30.19 ms
(13.51%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
5.27 ms
(2.36%)
24
SELECT * FROM quantityvalue_units WHERE abbreviation='USD'
Parameters:
[]
3.87 ms
(1.73%)
13
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "1-2-3-Magic-for-Teens~10429"
  "path" => "/Psychological-Testing/"
]
2.30 ms
(1.03%)
6
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Psychological Testing"
  "path" => "/PriceSystemRule/"
]
1.84 ms
(0.82%)
5
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
1.68 ms
(0.75%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Psychological-Testing/1-2-3-Magic-for-Teens~10429"
]
1.34 ms
(0.60%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Product"
]
1.13 ms
(0.51%)
2
SELECT * FROM object_collection_AditionalContentRelation_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10429
  "AdditionalContent"
]
1.12 ms
(0.50%)
3
SELECT * FROM object_collection_AditionalContentText_localized_Product WHERE ooo_id = ? AND language IN ('en') AND `fieldname` = ? AND `index` = ?
Parameters:
[
  10429
  "AdditionalContent"
  0
]
0.91 ms
(0.41%)
3
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  373
]
0.71 ms
(0.32%)
2
SELECT * FROM object_collection_AditionalContentText_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10429
  "AdditionalContent"
]
0.65 ms
(0.29%)
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" => "/Psychological-Testing/1-2-3-Magic-for-Teens~10429"
  "sourcePathQuery" => "/Psychological-Testing/1-2-3-Magic-for-Teens~10429?navigate_from_document=1117&navigated_from_object=3937"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Psychological-Testing/1-2-3-Magic-for-Teens~10429?navigate_from_document=1117&navigated_from_object=3937"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.65 ms
(0.29%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.62 ms
(0.28%)
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.57 ms
(0.26%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.57 ms
(0.25%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 94
]
0.51 ms
(0.23%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.47 ms
(0.21%)
2
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  463
]
0.44 ms
(0.20%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.34 ms
(0.15%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.32 ms
(0.14%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.30 ms
(0.13%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  4
]
0.29 ms
(0.13%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.26 ms
(0.12%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.25 ms
(0.11%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='4'
Parameters:
[]
0.23 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Psychological-Testing/1-2-3-Magic-for-Teens~10429' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
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.