Query Metrics

66 Database Queries
21 Different statements
24.58 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
6.04 ms
(24.57%)
1
INSERT INTO assets_image_thumbnail_cache (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  159
  "grid_auto_b73d2c59b19aed018516bcdd36b62300"
  "automotive-black-and-white-car-163681.dc5f5d65.avif"
  1793966989
  1722
  154
  131
]
3.21 ms
(13.05%)
15
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:
[
  1793966989
  "site_domain_8cbf7c6c61e05b63500274166f4eaf5b"
]
2.52 ms
(10.26%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "e2e3af3490c5f839d47e1602e3d435a1746f8567855796431384b2f52498c98d"
  "MBhzvIS4tHY6REjQb8dIaV+j77z6Sn4zqmeWzqiA+SQ="
]
2.44 ms
(9.93%)
1
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "thumb_159__5003155335dfe87bcd228cdf95206862"
]
2.15 ms
(8.74%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "e2e3af3490c5f839d47e1602e3d435a1746f8567855796431384b2f52498c98d"
  "MBhzvIS4tHY6REjQb8dIaV+j77z6Sn4zqmeWzqiA+SQ="
]
1.14 ms
(4.63%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.99 ms
(4.01%)
5
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.88 ms
(3.60%)
5
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:
[
  1793966989
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.83 ms
(3.36%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Car Images/triumph/159/image-thumb__159__grid_auto_b73d2c59b19aed018516bcdd36b62300/"
  "automotive-black-and-white-car-163681.dc5f5d65.avif"
]
0.82 ms
(3.36%)
5
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
0.67 ms
(2.73%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Car Images/triumph/159/image-thumb__159__grid_auto_b73d2c59b19aed018516bcdd36b62300/automotive-black-and-white-car-163681.dc5f5d65.avif"
]
0.41 ms
(1.65%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "e2e3af3490c5f839d47e1602e3d435a1746f8567855796431384b2f52498c98d"
  "MBhzvIS4tHY6REjQb8dIaV+j77z6Sn4zqmeWzqiA+SQ="
]
0.38 ms
(1.55%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/Car Images/triumph/159/image-thumb__159__grid_auto_b73d2c59b19aed018516bcdd36b62300/automotive-black-and-white-car-163681.dc5f5d65.avif"
  "path"
  "auto_create"
  "/Car Images/triumph/159/image-thumb__159__grid_auto_b73d2c59b19aed018516bcdd36b62300/automotive-black-and-white-car-163681.dc5f5d65.avif"
  "path_query"
  "https://pim.karasto-pets.com/Car Images/triumph/159/image-thumb__159__grid_auto_b73d2c59b19aed018516bcdd36b62300/automotive-black-and-white-car-163681.dc5f5d65.avif"
  "entire_uri"
]
0.36 ms
(1.45%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  159
]
0.33 ms
(1.35%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.33 ms
(1.34%)
2
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.28 ms
(1.12%)
1
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:
[
  1793966989
  "document_1\x01tags\x01"
  "asset_337\x01tags\x01"
  "asset_3\x01tags\x01"
  "asset_319\x01tags\x01"
  "asset_361\x01tags\x01"
  "asset_320\x01tags\x01"
  "asset_318\x01tags\x01"
  "asset_321\x01tags\x01"
  "asset_224\x01tags\x01"
  "asset_35\x01tags\x01"
  "asset_211\x01tags\x01"
  "asset_90\x01tags\x01"
  "asset_58\x01tags\x01"
  "asset_180\x01tags\x01"
  "asset_124\x01tags\x01"
  "asset_164\x01tags\x01"
  "asset_81\x01tags\x01"
]
0.25 ms
(1.02%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[
  300.0
  "MBhzvIS4tHY6REjQb8dIaV+j77z6Sn4zqmeWzqiA+SQ="
  "e2e3af3490c5f839d47e1602e3d435a1746f8567855796431384b2f52498c98d"
  "MBhzvIS4tHY6REjQb8dIaV+j77z6Sn4zqmeWzqiA+SQ="
]
0.21 ms
(0.87%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.18 ms
(0.73%)
1
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:
[
  1793966989
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.17 ms
(0.68%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  159
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
pimcore doctrine.orm.pimcore_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

pimcore entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.