Query Metrics

374 Database Queries
29 Different statements
211.21 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
66.13 ms
(31.31%)
279
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:
[
  1770191856
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
55.55 ms
(26.30%)
2
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
35.47 ms
(16.79%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
30.36 ms
(14.38%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3921"
Parameters:
[]
4.45 ms
(2.11%)
24
SELECT * FROM quantityvalue_units WHERE abbreviation='USD'
Parameters:
[]
3.76 ms
(1.78%)
14
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517"
  "path" => "/Psychological-Testing/"
]
1.89 ms
(0.89%)
6
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Psychological Testing"
  "path" => "/PriceSystemRule/"
]
1.62 ms
(0.77%)
5
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
1.61 ms
(0.76%)
7
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Psychological-Testing/Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517"
]
0.99 ms
(0.47%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Product"
]
0.94 ms
(0.45%)
4
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.93 ms
(0.44%)
3
SELECT * FROM object_collection_AditionalContentText_localized_Product WHERE ooo_id = ? AND language IN ('en') AND `fieldname` = ? AND `index` = ?
Parameters:
[
  10517
  "AdditionalContent"
  0
]
0.82 ms
(0.39%)
3
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  373
]
0.74 ms
(0.35%)
2
SELECT * FROM object_collection_AditionalContentRelation_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10517
  "AdditionalContent"
]
0.69 ms
(0.33%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  463
]
0.60 ms
(0.28%)
2
SELECT * FROM object_collection_AditionalContentText_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10517
  "AdditionalContent"
]
0.60 ms
(0.28%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.58 ms
(0.27%)
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.53 ms
(0.25%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 94
]
0.50 ms
(0.23%)
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/Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517"
  "sourcePathQuery" => "/Psychological-Testing/Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517?navigate_from_document=1101&navigated_from_object=3921"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Psychological-Testing/Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517?navigate_from_document=1101&navigated_from_object=3921"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.36 ms
(0.17%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.32 ms
(0.15%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.30 ms
(0.14%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.29 ms
(0.14%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  4
]
0.28 ms
(0.13%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.26 ms
(0.12%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.24 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Psychological-Testing/Behavior-Change-in-the-Classroom--Self-Management-Interventions~10517' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.22 ms
(0.10%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.20 ms
(0.09%)
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.