Query Metrics

127 Database Queries
23 Different statements
75.06 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
61.64 ms
(82.12%)
71
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1731309569
  [
    "site_domain_07cdbc04ad1b1e1679a206203523d33f"
  ]
]
3.74 ms
(4.98%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 1
]
1.69 ms
(2.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" => "/"
  "sourcePathQuery" => "/"
  "sourceEntireUri" => "https://pimcore.agmarketing.group/"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.26 ms
(1.68%)
9
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  337
]
1.16 ms
(1.55%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.96 ms
(1.28%)
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/"
]
0.82 ms
(1.09%)
4
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
0.80 ms
(1.07%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CAR"
]
0.72 ms
(0.96%)
4
SELECT * FROM object_url_slugs WHERE slug = '/' AND (siteId = 0 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.43 ms
(0.58%)
3
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  1
]
0.19 ms
(0.25%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
0.18 ms
(0.25%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.16 ms
(0.21%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.16 ms
(0.21%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.15 ms
(0.21%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.14 ms
(0.19%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '58'
Parameters:
[]
0.14 ms
(0.18%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.13 ms
(0.18%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.13 ms
(0.17%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.12 ms
(0.15%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '110'
Parameters:
[]
0.11 ms
(0.15%)
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
]
0.11 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.11 ms
(0.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
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