Query Metrics

54 Database Queries
13 Different statements
23.78 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
8.80 ms
(37.01%)
19
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:
[
  1745043813
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
3.69 ms
(15.51%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "ca67a20351d2653b1be5cd4c9eb5dcd227999b4e56648b39db358469e66e4a8b"
  "+iEEz+kHjpr/512IS3Il5E0ft3f3bLxAC1GjRAnyb1Y="
]
2.80 ms
(11.78%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "ca67a20351d2653b1be5cd4c9eb5dcd227999b4e56648b39db358469e66e4a8b"
  "+iEEz+kHjpr/512IS3Il5E0ft3f3bLxAC1GjRAnyb1Y="
]
1.60 ms
(6.71%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "ca67a20351d2653b1be5cd4c9eb5dcd227999b4e56648b39db358469e66e4a8b"
  "+iEEz+kHjpr/512IS3Il5E0ft3f3bLxAC1GjRAnyb1Y="
]
1.34 ms
(5.65%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.99 ms
(4.18%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "car fronts~-~media--f9fb8a03--query.webp"
  "path" => "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/"
]
0.99 ms
(4.17%)
4
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.76 ms
(3.20%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.75 ms
(3.17%)
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" => "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts~-~media--f9fb8a03--query.webp"
  "sourcePathQuery" => "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts~-~media--f9fb8a03--query.webp"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts~-~media--f9fb8a03--query.webp"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.66 ms
(2.78%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts~-~media--f9fb8a03--query.webp"
]
0.62 ms
(2.60%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "+iEEz+kHjpr/512IS3Il5E0ft3f3bLxAC1GjRAnyb1Y="
  "ca67a20351d2653b1be5cd4c9eb5dcd227999b4e56648b39db358469e66e4a8b"
  "+iEEz+kHjpr/512IS3Il5E0ft3f3bLxAC1GjRAnyb1Y="
]
0.40 ms
(1.67%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.38 ms
(1.58%)
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.