Query Metrics

56 Database Queries
16 Different statements
38.38 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
8.04 ms
(20.96%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "1b0fc2588971b1e59591968f45ad59f50ed45812e2d9b0b622941a0ae8c5c22c"
  "/HEy6EJlGwa4H47T7zq3RzgUjIeQLxbBg4HVo/uk8L4="
]
6.53 ms
(17.03%)
1
INSERT INTO messenger_messages (body, headers, queue_name, created_at, available_at) VALUES(?, ?, ?, ?, ?)
Parameters:
[
  "O:36:\"Symfony\\Component\\Messenger\\Envelope\":2:{s:44:\"\0Symfony\\Component\\Messenger\\Envelope\0stamps\";a:1:{s:46:\"Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\";a:1:{i:0;O:46:\"Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\":1:{s:55:\"\0Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\0busName\";s:27:\"messenger.bus.portal-engine\";}}}s:45:\"\0Symfony\\Component\\Messenger\\Envelope\0message\";O:38:\"Pimcore\\Messenger\\OptimizeImageMessage\":1:{s:7:\"\0*\0path\";s:103:\"/Car Images/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/chevrolet-3253172.png\";}}"
  "[]"
  "default"
  "2024-12-23 15:42:03"
  "2024-12-23 15:42:03"
]
6.00 ms
(15.63%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "1b0fc2588971b1e59591968f45ad59f50ed45812e2d9b0b622941a0ae8c5c22c"
  "/HEy6EJlGwa4H47T7zq3RzgUjIeQLxbBg4HVo/uk8L4="
]
5.26 ms
(13.71%)
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:
[
  1734968523
  [
    "\x00tags\x00site_domain_a71824d9aaed3e163f04f4bae0169a62"
    "site_domain_a71824d9aaed3e163f04f4bae0169a62"
  ]
]
5.24 ms
(13.66%)
1
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_55__e1d8009e756d28ae93716fe1bfa07d79"
]
1.61 ms
(4.20%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.32 ms
(3.44%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "chevrolet-3253172.png"
  "path" => "/Car Images/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/"
]
1.14 ms
(2.98%)
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.80 ms
(2.10%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Car Images/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/chevrolet-3253172.png"
]
0.50 ms
(1.30%)
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/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/chevrolet-3253172.png"
  "sourcePathQuery" => "/Car Images/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/chevrolet-3253172.png"
  "sourceEntireUri" => "http://ec2-52-70-21-189.compute-1.amazonaws.com/Car Images/chevrolet/image-thumb__55__cart_auto_1de31ebad3350ab19ac626d3db99e15c/chevrolet-3253172.png"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.44 ms
(1.16%)
2
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.44 ms
(1.15%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "1b0fc2588971b1e59591968f45ad59f50ed45812e2d9b0b622941a0ae8c5c22c"
  "/HEy6EJlGwa4H47T7zq3RzgUjIeQLxbBg4HVo/uk8L4="
]
0.29 ms
(0.76%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.29 ms
(0.76%)
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
  "/HEy6EJlGwa4H47T7zq3RzgUjIeQLxbBg4HVo/uk8L4="
  "1b0fc2588971b1e59591968f45ad59f50ed45812e2d9b0b622941a0ae8c5c22c"
  "/HEy6EJlGwa4H47T7zq3RzgUjIeQLxbBg4HVo/uk8L4="
]
0.24 ms
(0.61%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.22 ms
(0.56%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_55__e1d8009e756d28ae93716fe1bfa07d79"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore_direct_edit doctrine.orm.pimcore_direct_edit_entity_manager
portal_engine doctrine.orm.portal_engine_entity_manager
statistics_explorer doctrine.orm.statistics_explorer_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

pimcore_direct_edit entity manager

No loaded entities.

portal_engine entity manager

No loaded entities.

statistics_explorer entity manager

No loaded entities.