Query Metrics

57 Database Queries
15 Different statements
20.72 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.84 ms
(28.19%)
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:
[
  1732023767
  [
    "\x00tags\x00site_domain_07eac2212667673588ae0c2be2b5f3cb"
    "site_domain_07eac2212667673588ae0c2be2b5f3cb"
  ]
]
2.29 ms
(11.05%)
1
INSERT INTO `assets_image_thumbnail_cache` (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6) ON DUPLICATE KEY UPDATE `cid` = :col0, `name` = :col1, `filename` = :col2, `modificationDate` = :col3, `filesize` = :col4, `width` = :col5, `height` = :col6;
Parameters:
[
  ":col0" => 259
  ":col1" => "galleryLightbox"
  ":col2" => "Mercedes-Benz_W187_front_20110611.jpg"
  ":col3" => 1732023768
  ":col4" => 136457
  ":col5" => 900
  ":col6" => 540
]
1.85 ms
(8.92%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "ee452b639f06b9a0c708370e374df2653b0f1a4c32f5dfc2636b4eae120ca325"
  "hBrNvRZXFU+uDorDi3cRgQcoqZgW5LrJlASKX0Bvdr0="
]
1.83 ms
(8.82%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "ee452b639f06b9a0c708370e374df2653b0f1a4c32f5dfc2636b4eae120ca325"
  "hBrNvRZXFU+uDorDi3cRgQcoqZgW5LrJlASKX0Bvdr0="
]
1.80 ms
(8.67%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.68 ms
(8.13%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Mercedes-Benz_W187_front_20110611.jpg"
  "path" => "/Car Images/mercedes/259/image-thumb__259__galleryLightbox/"
]
1.19 ms
(5.75%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Car Images/mercedes/259/image-thumb__259__galleryLightbox/Mercedes-Benz_W187_front_20110611.jpg"
]
1.18 ms
(5.71%)
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.67 ms
(3.25%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "ee452b639f06b9a0c708370e374df2653b0f1a4c32f5dfc2636b4eae120ca325"
  "hBrNvRZXFU+uDorDi3cRgQcoqZgW5LrJlASKX0Bvdr0="
]
0.57 ms
(2.73%)
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" => "/Car Images/mercedes/259/image-thumb__259__galleryLightbox/Mercedes-Benz_W187_front_20110611.jpg"
  "sourcePathQuery" => "/Car Images/mercedes/259/image-thumb__259__galleryLightbox/Mercedes-Benz_W187_front_20110611.jpg"
  "sourceEntireUri" => "http://pimcore.3.uniquos.digital/Car Images/mercedes/259/image-thumb__259__galleryLightbox/Mercedes-Benz_W187_front_20110611.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.57 ms
(2.73%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.36 ms
(1.72%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 259
]
0.34 ms
(1.66%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.28 ms
(1.35%)
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
  "hBrNvRZXFU+uDorDi3cRgQcoqZgW5LrJlASKX0Bvdr0="
  "ee452b639f06b9a0c708370e374df2653b0f1a4c32f5dfc2636b4eae120ca325"
  "hBrNvRZXFU+uDorDi3cRgQcoqZgW5LrJlASKX0Bvdr0="
]
0.27 ms
(1.33%)
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.