Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
3.76 ms
(20.63%)
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:
[
  1784904669
  "site_domain_057ef1385af08082aec175030b125659"
]
2.02 ms
(11.08%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.40 ms
(7.69%)
6
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Car Images/mercedes/117/image-thumb__117__grid_auto_cdbc1cfefb05d5378dd3c5f4bd330a03/"
  "mercedes-190-sl-3690980.bf3d4966.jpg"
]
1.29 ms
(7.08%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[
  "efccedbd7eea28afe4ab6d4fb01dd6171ebc510c3b3318e8ce3465bd137a9467"
  "lqOs6Jaf0fSxTjE2oXhFKwMEYmOsNedittMFGeLu2zw="
]
1.21 ms
(6.62%)
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:
[
  1784904669
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.17 ms
(6.43%)
5
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/Car Images/mercedes/117/image-thumb__117__grid_auto_cdbc1cfefb05d5378dd3c5f4bd330a03/mercedes-190-sl-3690980.bf3d4966.jpg"
]
1.17 ms
(6.43%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "efccedbd7eea28afe4ab6d4fb01dd6171ebc510c3b3318e8ce3465bd137a9467"
  "lqOs6Jaf0fSxTjE2oXhFKwMEYmOsNedittMFGeLu2zw="
]
1.07 ms
(5.85%)
4
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.05 ms
(5.76%)
4
SELECT id FROM objects WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/Customer Management/segments/calculated/Interest-Target-Groups/"
  "Sports-Cars-Fan"
]
0.84 ms
(4.62%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[
  "efccedbd7eea28afe4ab6d4fb01dd6171ebc510c3b3318e8ce3465bd137a9467"
  "lqOs6Jaf0fSxTjE2oXhFKwMEYmOsNedittMFGeLu2zw="
]
0.58 ms
(3.17%)
2
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.48 ms
(2.65%)
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/mercedes/117/image-thumb__117__grid_auto_cdbc1cfefb05d5378dd3c5f4bd330a03/mercedes-190-sl-3690980.bf3d4966.jpg"
  "path"
  "auto_create"
  "/Car Images/mercedes/117/image-thumb__117__grid_auto_cdbc1cfefb05d5378dd3c5f4bd330a03/mercedes-190-sl-3690980.bf3d4966.jpg"
  "path_query"
  "http://pim.preforge.labsoft.fr/Car Images/mercedes/117/image-thumb__117__grid_auto_cdbc1cfefb05d5378dd3c5f4bd330a03/mercedes-190-sl-3690980.bf3d4966.jpg"
  "entire_uri"
]
0.37 ms
(2.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:
[
  1784904669
  "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.33 ms
(1.84%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.31 ms
(1.72%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  117
]
0.30 ms
(1.65%)
1
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  117
]
0.29 ms
(1.59%)
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
  "lqOs6Jaf0fSxTjE2oXhFKwMEYmOsNedittMFGeLu2zw="
  "efccedbd7eea28afe4ab6d4fb01dd6171ebc510c3b3318e8ce3465bd137a9467"
  "lqOs6Jaf0fSxTjE2oXhFKwMEYmOsNedittMFGeLu2zw="
]
0.29 ms
(1.58%)
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:
[
  1784904669
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.28 ms
(1.55%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]

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.