Query Metrics

39 Database Queries
16 Different statements
10.39 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.83 ms
(17.62%)
7
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:
[
  1746039479
  "site_domain_3c6802fcc93ad2194513fcea985ab4c9"
]
1.23 ms
(11.84%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "d2ad01c7876392afd07c4e46a930b68bce5f2a9c1dd3874878f9d91a224cd717"
  "WaXHAVc4J+UhCHMrMFD11QYZUwxlV1oNQ38/ObAaoho="
]
1.13 ms
(10.90%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "d2ad01c7876392afd07c4e46a930b68bce5f2a9c1dd3874878f9d91a224cd717"
  "WaXHAVc4J+UhCHMrMFD11QYZUwxlV1oNQ38/ObAaoho="
]
1.11 ms
(10.68%)
1
INSERT INTO assets_image_thumbnail_cache (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  390
  "galleryLightbox"
  "portal_personalized.2d2b301a.jpg"
  1746039479
  45063
  900
  288
]
1.04 ms
(10.02%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Sample Content/Dev Examples/Features/390/image-thumb__390__galleryLightbox/"
  "portal_personalized.2d2b301a.jpg"
]
0.80 ms
(7.74%)
6
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Sample Content/Dev Examples/Features/390/image-thumb__390__galleryLightbox/portal_personalized.2d2b301a.jpg"
]
0.79 ms
(7.63%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.63 ms
(6.05%)
3
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:
[
  1746039479
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.34 ms
(3.24%)
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:
[
  1746039479
  "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.31 ms
(2.99%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "d2ad01c7876392afd07c4e46a930b68bce5f2a9c1dd3874878f9d91a224cd717"
  "WaXHAVc4J+UhCHMrMFD11QYZUwxlV1oNQ38/ObAaoho="
]
0.29 ms
(2.77%)
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:
[
  "/Sample Content/Dev Examples/Features/390/image-thumb__390__galleryLightbox/portal_personalized.2d2b301a.jpg"
  "path"
  "auto_create"
  "/Sample Content/Dev Examples/Features/390/image-thumb__390__galleryLightbox/portal_personalized.2d2b301a.jpg"
  "path_query"
  "http://51.20.254.85/Sample Content/Dev Examples/Features/390/image-thumb__390__galleryLightbox/portal_personalized.2d2b301a.jpg"
  "entire_uri"
]
0.23 ms
(2.21%)
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
  "WaXHAVc4J+UhCHMrMFD11QYZUwxlV1oNQ38/ObAaoho="
  "d2ad01c7876392afd07c4e46a930b68bce5f2a9c1dd3874878f9d91a224cd717"
  "WaXHAVc4J+UhCHMrMFD11QYZUwxlV1oNQ38/ObAaoho="
]
0.18 ms
(1.76%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.17 ms
(1.65%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  390
]
0.16 ms
(1.55%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  390
]
0.14 ms
(1.34%)
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:
[
  1746039479
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]

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.

Entities Mapping

No loaded entities.