Query Metrics

61 Database Queries
17 Different statements
79.24 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
23.42 ms
(29.56%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Sample Content/Dev Examples/Properties/348/image-thumb__348__galleryLightbox/"
  "properties1.c11c9e0e.jpg"
]
18.02 ms
(22.75%)
6
SELECT id FROM documents_page WHERE prettyUrl = ? ORDER BY id LIMIT 1
Parameters:
[
  "/Sample Content/Dev Examples/Properties/348/image-thumb__348__galleryLightbox/properties1.c11c9e0e.jpg"
]
11.96 ms
(15.10%)
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:
[
  1794616670
  "site_domain_e98ccd3945c47a05713ef196baa16d49"
]
8.63 ms
(10.89%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "ad9eac547d3929305a9742260bacaf9f75a1c890f854dd34aa11b00bd0ec7789"
  "JjCahuKSV4bRX3q2x7+ER1zXpB7J8hR7A2QfQDzzdg0="
]
4.20 ms
(5.29%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "ad9eac547d3929305a9742260bacaf9f75a1c890f854dd34aa11b00bd0ec7789"
  "JjCahuKSV4bRX3q2x7+ER1zXpB7J8hR7A2QfQDzzdg0="
]
2.81 ms
(3.54%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.43 ms
(1.81%)
4
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:
[
  1794616670
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.43 ms
(1.80%)
4
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
1.28 ms
(1.62%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.20 ms
(1.52%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
1.17 ms
(1.48%)
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
  "JjCahuKSV4bRX3q2x7+ER1zXpB7J8hR7A2QfQDzzdg0="
  "ad9eac547d3929305a9742260bacaf9f75a1c890f854dd34aa11b00bd0ec7789"
  "JjCahuKSV4bRX3q2x7+ER1zXpB7J8hR7A2QfQDzzdg0="
]
1.00 ms
(1.26%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "ad9eac547d3929305a9742260bacaf9f75a1c890f854dd34aa11b00bd0ec7789"
  "JjCahuKSV4bRX3q2x7+ER1zXpB7J8hR7A2QfQDzzdg0="
]
0.99 ms
(1.25%)
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 OR sourceSite = 0) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/Sample Content/Dev Examples/Properties/348/image-thumb__348__galleryLightbox/properties1.c11c9e0e.jpg"
  "path"
  "auto_create"
  "/Sample Content/Dev Examples/Properties/348/image-thumb__348__galleryLightbox/properties1.c11c9e0e.jpg"
  "path_query"
  "https://enterprise-demo.pimcoredemos.com/Sample Content/Dev Examples/Properties/348/image-thumb__348__galleryLightbox/properties1.c11c9e0e.jpg"
  "entire_uri"
]
0.83 ms
(1.05%)
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:
[
  1794616670
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.40 ms
(0.50%)
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:
[
  1794616670
  "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"
]
0.27 ms
(0.34%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.19 ms
(0.24%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  348
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.