Query Metrics

60 Database Queries
19 Different statements
22.58 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
4.18 ms
(18.52%)
13
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:
[
  1784893039
  "site_domain_8092fc153b2dd3464f4eea46be85a09e"
]
2.41 ms
(10.66%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
2.28 ms
(10.08%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/"
  "car fronts.66235784.png"
]
2.00 ms
(8.84%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts.66235784.png"
]
1.65 ms
(7.30%)
5
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
1.54 ms
(6.83%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "da94c170e34d67ce65165af319dce3681dcfc14fa5d0aaae046c8c288d90e1b1"
  "/6rfRqzVSSITGK9zMfWU9hzQ+7SRbH6kU2HnK771hpY="
]
1.38 ms
(6.13%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.34 ms
(5.92%)
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:
[
  1784893039
  "system\x01tags\x01"
  "site\x01tags\x01"
]
0.92 ms
(4.10%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "da94c170e34d67ce65165af319dce3681dcfc14fa5d0aaae046c8c288d90e1b1"
  "/6rfRqzVSSITGK9zMfWU9hzQ+7SRbH6kU2HnK771hpY="
]
0.79 ms
(3.48%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "da94c170e34d67ce65165af319dce3681dcfc14fa5d0aaae046c8c288d90e1b1"
  "/6rfRqzVSSITGK9zMfWU9hzQ+7SRbH6kU2HnK771hpY="
]
0.72 ms
(3.18%)
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/Example Images/337/image-thumb__337__portalCarousel/car fronts.66235784.png"
  "path"
  "auto_create"
  "/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts.66235784.png"
  "path_query"
  "http://pimcore-demo.preforge.labsoft.fr/Sample Content/Example Images/337/image-thumb__337__portalCarousel/car fronts.66235784.png"
  "entire_uri"
]
0.57 ms
(2.53%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.55 ms
(2.41%)
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:
[
  1784893039
  "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.49 ms
(2.15%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  337
]
0.42 ms
(1.87%)
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:
[
  1784893039
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.39 ms
(1.72%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.37 ms
(1.63%)
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
  "/6rfRqzVSSITGK9zMfWU9hzQ+7SRbH6kU2HnK771hpY="
  "da94c170e34d67ce65165af319dce3681dcfc14fa5d0aaae046c8c288d90e1b1"
  "/6rfRqzVSSITGK9zMfWU9hzQ+7SRbH6kU2HnK771hpY="
]
0.33 ms
(1.47%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.26 ms
(1.17%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  337
]

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.