Query Metrics

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

Grouped Statements

Show all queries

Time▼ Count Info
2.90 ms
(20.37%)
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"
]
1.88 ms
(13.19%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.16 ms
(8.17%)
7
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Sample Content/Dev Examples/Features/394/image-thumb__394__galleryLightbox/"
  "product_data_quality_report.a0a92ae8.jpg"
]
1.13 ms
(7.91%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "ae4f22dabd66ae4190a0bdbe3f88551eea4ca52a594c5699f419ad4ef985152a"
  "JaXuOG4m4idRi0z6utQozT4b2FHkca3k2HhksBwNdmY="
]
1.09 ms
(7.68%)
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.02 ms
(7.19%)
6
SELECT id FROM documents_page WHERE prettyUrl = ? ORDER BY id LIMIT 1
Parameters:
[
  "/Sample Content/Dev Examples/Features/394/image-thumb__394__galleryLightbox/product_data_quality_report.a0a92ae8.jpg"
]
0.95 ms
(6.70%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "ae4f22dabd66ae4190a0bdbe3f88551eea4ca52a594c5699f419ad4ef985152a"
  "JaXuOG4m4idRi0z6utQozT4b2FHkca3k2HhksBwNdmY="
]
0.79 ms
(5.54%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
0.73 ms
(5.14%)
4
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
0.65 ms
(4.60%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "ae4f22dabd66ae4190a0bdbe3f88551eea4ca52a594c5699f419ad4ef985152a"
  "JaXuOG4m4idRi0z6utQozT4b2FHkca3k2HhksBwNdmY="
]
0.38 ms
(2.69%)
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/Features/394/image-thumb__394__galleryLightbox/product_data_quality_report.a0a92ae8.jpg"
  "path"
  "auto_create"
  "/Sample Content/Dev Examples/Features/394/image-thumb__394__galleryLightbox/product_data_quality_report.a0a92ae8.jpg"
  "path_query"
  "https://enterprise-demo.pimcoredemos.com/Sample Content/Dev Examples/Features/394/image-thumb__394__galleryLightbox/product_data_quality_report.a0a92ae8.jpg"
  "entire_uri"
]
0.35 ms
(2.49%)
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.32 ms
(2.23%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.26 ms
(1.82%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.21 ms
(1.48%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  394
]
0.20 ms
(1.43%)
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
  "JaXuOG4m4idRi0z6utQozT4b2FHkca3k2HhksBwNdmY="
  "ae4f22dabd66ae4190a0bdbe3f88551eea4ca52a594c5699f419ad4ef985152a"
  "JaXuOG4m4idRi0z6utQozT4b2FHkca3k2HhksBwNdmY="
]
0.20 ms
(1.37%)
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"
]

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.