Query Metrics

59 Database Queries
17 Different statements
20.20 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
6.44 ms
(31.90%)
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:
[
  1737186944
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
2.69 ms
(13.30%)
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" => 260
  ":col1" => "grid_auto_0137f734c69fb1c1ded166f887a25184"
  ":col2" => "Mercedes-Benz_W187_rear_20110611.jpg"
  ":col3" => 1737186944
  ":col4" => 2693
  ":col5" => 99
  ":col6" => 85
]
1.84 ms
(9.11%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "f15fc88a66a6b0e322be2e0c0c3a3236e5b668e2b8fce894bae49b71209600c4"
  "95EB2DJn0dvf2lEzFzpCgMW1bnaEEwq68iY7sgAOqbc="
]
1.45 ms
(7.16%)
1
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_260__a6bb89aba139ceaa3d16f45caeb641e3"
]
1.17 ms
(5.78%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "f15fc88a66a6b0e322be2e0c0c3a3236e5b668e2b8fce894bae49b71209600c4"
  "95EB2DJn0dvf2lEzFzpCgMW1bnaEEwq68iY7sgAOqbc="
]
1.01 ms
(4.99%)
6
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Mercedes-Benz_W187_rear_20110611.jpg"
  "path" => "/Car Images/mercedes/260/image-thumb__260__grid_auto_0137f734c69fb1c1ded166f887a25184/"
]
1.01 ms
(4.99%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.82 ms
(4.04%)
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.72 ms
(3.58%)
5
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Car Images/mercedes/260/image-thumb__260__grid_auto_0137f734c69fb1c1ded166f887a25184/Mercedes-Benz_W187_rear_20110611.jpg"
]
0.67 ms
(3.29%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "f15fc88a66a6b0e322be2e0c0c3a3236e5b668e2b8fce894bae49b71209600c4"
  "95EB2DJn0dvf2lEzFzpCgMW1bnaEEwq68iY7sgAOqbc="
]
0.57 ms
(2.80%)
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/260/image-thumb__260__grid_auto_0137f734c69fb1c1ded166f887a25184/Mercedes-Benz_W187_rear_20110611.jpg"
  "sourcePathQuery" => "/Car Images/mercedes/260/image-thumb__260__grid_auto_0137f734c69fb1c1ded166f887a25184/Mercedes-Benz_W187_rear_20110611.jpg"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/Car Images/mercedes/260/image-thumb__260__grid_auto_0137f734c69fb1c1ded166f887a25184/Mercedes-Benz_W187_rear_20110611.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.44 ms
(2.18%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 260
]
0.39 ms
(1.91%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.33 ms
(1.63%)
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
  "95EB2DJn0dvf2lEzFzpCgMW1bnaEEwq68iY7sgAOqbc="
  "f15fc88a66a6b0e322be2e0c0c3a3236e5b668e2b8fce894bae49b71209600c4"
  "95EB2DJn0dvf2lEzFzpCgMW1bnaEEwq68iY7sgAOqbc="
]
0.29 ms
(1.46%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_260__a6bb89aba139ceaa3d16f45caeb641e3"
]
0.23 ms
(1.14%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.73%)
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.