Query Metrics

146 Database Queries
23 Different statements
170.67 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
115.06 ms
(67.42%)
97
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1731598640
  [
    "site_domain_1dbac4262e11737dd6a9cd21a18951ff"
  ]
]
13.04 ms
(7.64%)
4
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
9.35 ms
(5.48%)
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/"
]
7.79 ms
(4.56%)
4
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  1
]
5.70 ms
(3.34%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 1
]
3.36 ms
(1.97%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
3.12 ms
(1.83%)
4
SELECT * FROM object_url_slugs WHERE slug = '/' AND (siteId = 0 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
2.36 ms
(1.38%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1
  1
  1
]
1.86 ms
(1.09%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
1.65 ms
(0.97%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
1.52 ms
(0.89%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
1.45 ms
(0.85%)
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" => "/"
  "sourcePathQuery" => "/?rest_route=/wp/v2/users/"
  "sourceEntireUri" => "https://pimcore-demo.code14.dev/?rest_route=/wp/v2/users/"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.34 ms
(0.79%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.04 ms
(0.61%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.76 ms
(0.45%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.23 ms
(0.13%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '30'
Parameters:
[]
0.19 ms
(0.11%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '110'
Parameters:
[]
0.18 ms
(0.10%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '58'
Parameters:
[]
0.15 ms
(0.09%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.14 ms
(0.08%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.13 ms
(0.07%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.12 ms
(0.07%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.12 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.

Entities Mapping