Query Metrics

337 Database Queries
28 Different statements
221.24 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
72.88 ms
(32.94%)
257
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:
[
  1770180170
  [
    "\x00tags\x00site_domain_9bec3bf53a0f122b77720f15b84ffd53"
    "site_domain_9bec3bf53a0f122b77720f15b84ffd53"
  ]
]
63.78 ms
(28.83%)
2
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
27.89 ms
(12.61%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3907"
Parameters:
[]
27.03 ms
(12.22%)
1
SELECT cid FROM properties WHERE name = "category" AND data = "3934"
Parameters:
[]
8.60 ms
(3.89%)
2
SELECT * FROM object_collection_AditionalContentRelation_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10132
  "AdditionalContent"
]
4.05 ms
(1.83%)
24
SELECT * FROM quantityvalue_units WHERE abbreviation='USD'
Parameters:
[]
3.48 ms
(1.57%)
10
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "A-Guide-to-Vocational-Assessment--Fifth-Edition~10132"
  "path" => "/Psychological-Testing/"
]
1.72 ms
(0.78%)
6
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Psychological Testing"
  "path" => "/PriceSystemRule/"
]
1.59 ms
(0.72%)
3
SELECT * FROM object_collection_AditionalContentText_localized_Product WHERE ooo_id = ? AND language IN ('en') AND `fieldname` = ? AND `index` = ?
Parameters:
[
  10132
  "AdditionalContent"
  0
]
1.48 ms
(0.67%)
3
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
1.38 ms
(0.62%)
4
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "Product"
]
1.23 ms
(0.55%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Psychological-Testing/A-Guide-to-Vocational-Assessment--Fifth-Edition~10132"
]
0.76 ms
(0.34%)
3
SELECT documents.id, documents.type FROM documents WHERE  (parentId = ?) AND published = 1 ORDER BY `index` ASC
Parameters:
[
  373
]
0.66 ms
(0.30%)
2
SELECT * FROM object_collection_AditionalContentText_Product WHERE o_id = ? AND fieldname = ? ORDER BY `index` ASC
Parameters:
[
  10132
  "AdditionalContent"
]
0.57 ms
(0.26%)
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/A-Guide-to-Vocational-Assessment--Fifth-Edition~10132"
  "sourcePathQuery" => "/Psychological-Testing/A-Guide-to-Vocational-Assessment--Fifth-Edition~10132?navigate_from_document=1114&navigated_from_object=3934"
  "sourceEntireUri" => "http://stoelting.byfactory.dev/Psychological-Testing/A-Guide-to-Vocational-Assessment--Fifth-Edition~10132?navigate_from_document=1114&navigated_from_object=3934"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.47 ms
(0.21%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.43 ms
(0.19%)
1
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.41 ms
(0.18%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.40 ms
(0.18%)
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.16%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.32 ms
(0.15%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.31 ms
(0.14%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.27 ms
(0.12%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.26 ms
(0.12%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.26 ms
(0.12%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  4
]
0.25 ms
(0.11%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  463
]
0.23 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE slug = '/Psychological-Testing/A-Guide-to-Vocational-Assessment--Fifth-Edition~10132' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.19 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.