Query Metrics

50 Database Queries
10 Different statements
7.92 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
4.62 ms
(58.29%)
20
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:
[
  1732424746
  [
    "\x00tags\x00site_domain_00a16d5a207aa593f14b18201ed796fd"
    "site_domain_00a16d5a207aa593f14b18201ed796fd"
  ]
]
0.71 ms
(8.99%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Ferrari_250_GT_Berlinetta_SWB.jpg"
  "path" => "/CarImages/ferrari/199/image-thumb__199__product_detail/"
]
0.61 ms
(7.67%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.52 ms
(6.62%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
]
0.40 ms
(5.05%)
5
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.38 ms
(4.79%)
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 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "sourcePathQuery" => "/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "sourceEntireUri" => "https://pimcore-demo.profildoors.de/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.35 ms
(4.47%)
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" => "/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "sourcePathQuery" => "/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "sourceEntireUri" => "https://pimcore-demo.profildoors.de/CarImages/ferrari/199/image-thumb__199__product_detail/Ferrari_250_GT_Berlinetta_SWB.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.12 ms
(1.49%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.11 ms
(1.36%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.10 ms
(1.26%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
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.