Query Metrics

61 Database Queries
19 Different statements
26.08 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.70 ms
(29.51%)
14
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:
[
  1784899786
  "site_domain_8092fc153b2dd3464f4eea46be85a09e"
]
3.44 ms
(13.20%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.80 ms
(6.89%)
4
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
1.70 ms
(6.52%)
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:
[
  1784899786
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.41 ms
(5.40%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.33 ms
(5.08%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Car Images/triumph/152/image-thumb__152__product_detail_auto_26e1e92e8f4652e3e21dc2f6aba300cd/"
  "1975_Triumph_TR6_Injection_2.5_Front.26e8ee12.jpg"
]
1.25 ms
(4.78%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "730ad506d2dfd6765c8e4671c6676af4d88b55e4d01f2caeb68c23832651bc68"
  "azTi3ewsq4Psn52x9NM/RafPzfrnRMH+0hxnoihbHHU="
]
1.22 ms
(4.67%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "730ad506d2dfd6765c8e4671c6676af4d88b55e4d01f2caeb68c23832651bc68"
  "azTi3ewsq4Psn52x9NM/RafPzfrnRMH+0hxnoihbHHU="
]
1.21 ms
(4.66%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Car Images/triumph/152/image-thumb__152__product_detail_auto_26e1e92e8f4652e3e21dc2f6aba300cd/1975_Triumph_TR6_Injection_2.5_Front.26e8ee12.jpg"
]
1.11 ms
(4.26%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "730ad506d2dfd6765c8e4671c6676af4d88b55e4d01f2caeb68c23832651bc68"
  "azTi3ewsq4Psn52x9NM/RafPzfrnRMH+0hxnoihbHHU="
]
0.73 ms
(2.79%)
2
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.49 ms
(1.90%)
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/152/image-thumb__152__product_detail_auto_26e1e92e8f4652e3e21dc2f6aba300cd/1975_Triumph_TR6_Injection_2.5_Front.26e8ee12.jpg"
  "path"
  "auto_create"
  "/Car Images/triumph/152/image-thumb__152__product_detail_auto_26e1e92e8f4652e3e21dc2f6aba300cd/1975_Triumph_TR6_Injection_2.5_Front.26e8ee12.jpg"
  "path_query"
  "http://pimcore-demo.preforge.labsoft.fr/Car Images/triumph/152/image-thumb__152__product_detail_auto_26e1e92e8f4652e3e21dc2f6aba300cd/1975_Triumph_TR6_Injection_2.5_Front.26e8ee12.jpg"
  "entire_uri"
]
0.48 ms
(1.86%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.48 ms
(1.82%)
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
  "azTi3ewsq4Psn52x9NM/RafPzfrnRMH+0hxnoihbHHU="
  "730ad506d2dfd6765c8e4671c6676af4d88b55e4d01f2caeb68c23832651bc68"
  "azTi3ewsq4Psn52x9NM/RafPzfrnRMH+0hxnoihbHHU="
]
0.38 ms
(1.47%)
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:
[
  1784899786
  "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.37 ms
(1.40%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  152
]
0.36 ms
(1.38%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  152
]
0.32 ms
(1.25%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.31 ms
(1.18%)
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:
[
  1784899786
  "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.

Managed Entities

pimcore entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.