Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
4.36 ms
(19.92%)
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:
[
  1784907138
  "site_domain_057ef1385af08082aec175030b125659"
]
2.09 ms
(9.55%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.98 ms
(9.03%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "42b0e724027adb0ae0e84b0d87058fa550be83ef11e1cb67c38c21994ed480fb"
  "mXyj+NuEn2XIPda2m+WfIiNuHJIsnCCqieNLwnYZxTM="
]
1.67 ms
(7.64%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Car Images/jaguar/24/image-thumb__24__grid_auto_8190c2676df73728fbc063dafa8d718e/"
  "germany-2066316.cf040b5e.jpg"
]
1.65 ms
(7.52%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "42b0e724027adb0ae0e84b0d87058fa550be83ef11e1cb67c38c21994ed480fb"
  "mXyj+NuEn2XIPda2m+WfIiNuHJIsnCCqieNLwnYZxTM="
]
1.32 ms
(6.03%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Car Images/jaguar/24/image-thumb__24__grid_auto_8190c2676df73728fbc063dafa8d718e/germany-2066316.cf040b5e.jpg"
]
1.27 ms
(5.82%)
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:
[
  1784907138
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.25 ms
(5.69%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.03 ms
(4.73%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "42b0e724027adb0ae0e84b0d87058fa550be83ef11e1cb67c38c21994ed480fb"
  "mXyj+NuEn2XIPda2m+WfIiNuHJIsnCCqieNLwnYZxTM="
]
1.00 ms
(4.58%)
4
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
0.91 ms
(4.17%)
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
  "mXyj+NuEn2XIPda2m+WfIiNuHJIsnCCqieNLwnYZxTM="
  "42b0e724027adb0ae0e84b0d87058fa550be83ef11e1cb67c38c21994ed480fb"
  "mXyj+NuEn2XIPda2m+WfIiNuHJIsnCCqieNLwnYZxTM="
]
0.67 ms
(3.04%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.50 ms
(2.27%)
2
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.48 ms
(2.20%)
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:
[
  1784907138
  "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.46 ms
(2.12%)
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/jaguar/24/image-thumb__24__grid_auto_8190c2676df73728fbc063dafa8d718e/germany-2066316.cf040b5e.jpg"
  "path"
  "auto_create"
  "/Car Images/jaguar/24/image-thumb__24__grid_auto_8190c2676df73728fbc063dafa8d718e/germany-2066316.cf040b5e.jpg"
  "path_query"
  "http://pim.preforge.labsoft.fr/Car Images/jaguar/24/image-thumb__24__grid_auto_8190c2676df73728fbc063dafa8d718e/germany-2066316.cf040b5e.jpg"
  "entire_uri"
]
0.35 ms
(1.60%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  24
]
0.34 ms
(1.58%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.29 ms
(1.32%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  24
]
0.27 ms
(1.22%)
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:
[
  1784907138
  "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.