Query Metrics

330 Database Queries
70 Different statements
181.38 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
48.76 ms
(26.88%)
150
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:
[
  1732001327
  [
    "\x00tags\x00site_domain_07eac2212667673588ae0c2be2b5f3cb"
    "site_domain_07eac2212667673588ae0c2be2b5f3cb"
  ]
]
22.20 ms
(12.24%)
11
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1732001327
  [
    "\x00tags\x00object_983"
    "object_983"
  ]
]
14.72 ms
(8.11%)
8
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  1 => null
  2 => null
  3 => 86400
  4 => 1732001327
]
6.93 ms
(3.82%)
2
INSERT INTO messenger_messages (body, headers, queue_name, created_at, available_at) VALUES(?, ?, ?, ?, ?)
Parameters:
[
  "O:36:\"Symfony\\Component\\Messenger\\Envelope\":2:{s:44:\"\0Symfony\\Component\\Messenger\\Envelope\0stamps\";a:1:{s:46:\"Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\";a:1:{i:0;O:46:\"Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\":1:{s:55:\"\0Symfony\\Component\\Messenger\\Stamp\\BusNameStamp\0busName\";s:26:\"messenger.bus.pimcore-core\";}}}s:45:\"\0Symfony\\Component\\Messenger\\Envelope\0message\";O:38:\"Pimcore\\Messenger\\SearchBackendMessage\":2:{s:7:\"\0*\0type\";s:5:\"asset\";s:5:\"\0*\0id\";i:353;}}"
  "[]"
  "pimcore_core"
  "2024-11-19 08:28:47"
  "2024-11-19 08:28:47"
]
6.47 ms
(3.57%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
5.75 ms
(3.17%)
1
SELECT id, targetType, targetId FROM dependencies WHERE sourceType= ? AND sourceId = ?
Parameters:
[
  "asset"
  353
]
4.26 ms
(2.35%)
1
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[
  353
  "asset"
]
4.11 ms
(2.27%)
1
SELECT * FROM properties WHERE ((cid IN (1,351,355) AND inheritable = 1) OR cid = ? )  AND ctype='asset'
Parameters:
[
  353
]
3.62 ms
(2.00%)
2
INSERT INTO `tmp_store` (`id`, `data`, `tag`, `date`, `expiryDate`, `serialized`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5) ON DUPLICATE KEY UPDATE `id` = :col0, `data` = :col1, `tag` = :col2, `date` = :col3, `expiryDate` = :col4, `serialized` = :col5;
Parameters:
[
  ":col0" => "video-job-673c3e2fa382b"
  ":col1" => "O:45:"Pimcore\Model\Asset\Video\Thumbnail\Processor":5:{s:8:"\x00*\x00queue";a:1:{i:0;O:28:"Pimcore\Video\Adapter\Ffmpeg":10:{s:12:"videoBitrate";i:450;s:12:"audioBitrate";i:128;s:6:"format";s:3:"mp4";s:6:"medias";N;s:15:"destinationFile";s:129:"/usr/local/www/apache24/data/pimcore.3.uniquos.digital/pimcore/var/tmp/temp-file-673c3e2fa38e9-ca56cbeff2182178149d3019d72c26.mp4";s:11:"storageFile";s:72:"/Sample Content/Videos//353/video-thumb__353__content/Volkswagen-Van.mp4";s:6:"length";N;s:4:"file";N;s:12:"\x00*\x00processId";N;s:12:"\x00*\x00arguments";a:6:{i:0;s:3:"-ab";i:1;s:4:"128k";i:2;s:3:"-vb";i:3;s:4:"450k";i:4;s:9:"-filter:v";i:5;s:26:"scale=1110:trunc(ow/a/2)*2";}}}s:12:"\x00*\x00processId";s:13:"673c3e2fa382b";s:10:"\x00*\x00assetId";i:353;s:9:"\x00*\x00config";O:42:"Pimcore\Model\Asset\Video\Thumbnail\Config":10:{s:8:"\x00*\x00items";a:1:{i:0;a:2:{s:6:"method";s:12:"scaleByWidth";s:9:"arguments";a:1:{s:5:"width";i:1110;}}}s:6:"medias";a:0:{}s:7:"\x00*\x00name";s:7:"content";s:14:"\x00*\x00description";s:0:"";s:8:"\x00*\x00group";s:0:"";s:15:"\x00*\x00videoBitrate";i:450;s:15:"\x00*\x00audioBitrate";i:128;s:19:"\x00*\x00modificationDate";i:1643207257;s:15:"\x00*\x00creationDate";i:1565353556;s:14:"filenameSuffix";N;}s:9:"\x00*\x00status";N;}"
  ":col2" => "video-job"
  ":col3" => 1732001327
  ":col4" => 1732606127
  ":col5" => 1
]
3.62 ms
(1.99%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "ad8636b094b5771b13e26d834a91c30b330284bbfb1aef0a3dc80f265df00438"
  "lZzypfEdqFyR/yuAgNahk2Afx37A5FKg0UULmZ58vAU="
]
3.24 ms
(1.78%)
1
SHOW COLUMNS FROM assets
Parameters:
[]
2.79 ms
(1.54%)
7
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 337
]
2.67 ms
(1.47%)
7
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
2.32 ms
(1.28%)
7
SELECT objects.*, tree_locks.locked as o_locked FROM objects
            LEFT JOIN tree_locks ON objects.o_id = tree_locks.id AND tree_locks.type = 'object'
                WHERE o_id = ?
Parameters:
[
  983
]
2.15 ms
(1.19%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "ad8636b094b5771b13e26d834a91c30b330284bbfb1aef0a3dc80f265df00438"
  "lZzypfEdqFyR/yuAgNahk2Afx37A5FKg0UULmZ58vAU="
]
2.04 ms
(1.13%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
1.96 ms
(1.08%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
1.90 ms
(1.05%)
5
SELECT * FROM object_localized_data_CAR WHERE ooo_id = ? AND language IN ('en','de','fr')
Parameters:
[
  259
]
1.84 ms
(1.01%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
1.79 ms
(0.99%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
1.72 ms
(0.95%)
7
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  983
]
1.71 ms
(0.94%)
5
SELECT * FROM object_relations_CAR WHERE src_id = ?
Parameters:
[
  259
]
1.66 ms
(0.92%)
1
"COMMIT"
Parameters:
[]
1.58 ms
(0.87%)
4
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  353
]
1.47 ms
(0.81%)
6
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "2"
]
1.47 ms
(0.81%)
5
SELECT * FROM object_brick_store_Dimensions_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  259
  "attributes"
]
1.46 ms
(0.80%)
6
SELECT o_id FROM objects WHERE o_path = :path AND `o_key` = :key
Parameters:
[
  "key" => "Sports-Cars-Fan"
  "path" => "/Customer Management/segments/calculated/Interest-Target-Groups/"
]
1.44 ms
(0.79%)
5
SELECT * FROM object_store_CAR WHERE oo_id = ?
Parameters:
[
  259
]
1.40 ms
(0.77%)
5
SELECT * FROM object_brick_store_SaleInformation_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  259
  "saleInformation"
]
1.35 ms
(0.75%)
5
SELECT * FROM object_brick_store_Transmission_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  259
  "attributes"
]
1.35 ms
(0.74%)
1
DELETE FROM cache_items WHERE item_id IN (?)
Parameters:
[
  [
    "asset_353\x00tags\x00"
    "asset_properties\x00tags\x00"
  ]
]
1.34 ms
(0.74%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => 104
]
1.33 ms
(0.74%)
5
SELECT * FROM object_brick_store_Bodywork_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  259
  "attributes"
]
1.32 ms
(0.73%)
5
SELECT * FROM object_brick_store_Engine_CAR WHERE o_id = ? AND fieldname = ?
Parameters:
[
  259
  "attributes"
]
1.27 ms
(0.70%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Pick of the Day"
  "path" => "/en/Magazine/"
]
1.16 ms
(0.64%)
4
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  104
]
1.07 ms
(0.59%)
1
INSERT INTO `assets` (`path`, `id`, `creationDate`, `modificationDate`, `versionCount`, `userOwner`, `userModification`, `parentId`, `type`, `filename`, `mimetype`, `customSettings`, `hasMetaData`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6, :col7, :col8, :col9, :col10, :col11, :col12) ON DUPLICATE KEY UPDATE `path` = :col0, `id` = :col1, `creationDate` = :col2, `modificationDate` = :col3, `versionCount` = :col4, `userOwner` = :col5, `userModification` = :col6, `parentId` = :col7, `type` = :col8, `filename` = :col9, `mimetype` = :col10, `customSettings` = :col11, `hasMetaData` = :col12;
Parameters:
[
  ":col0" => "/Sample Content/Videos/"
  ":col1" => 353
  ":col2" => 1565353388
  ":col3" => 1732001327
  ":col4" => 15
  ":col5" => 2
  ":col6" => 0
  ":col7" => 351
  ":col8" => "video"
  ":col9" => "Volkswagen-Van.mp4"
  ":col10" => "video/mp4"
  ":col11" => "a:7:{s:8:"duration";d:9.59;s:16:"embeddedMetaData";a:61:{s:8:"FileSize";s:6:"2.8 MB";s:14:"FileModifyDate";s:25:"2019:08:09 14:23:08+02:00";s:14:"FileAccessDate";s:25:"2019:08:09 14:23:08+02:00";s:19:"FileInodeChangeDate";s:25:"2019:08:09 14:23:08+02:00";s:15:"FilePermissions";s:9:"rwxrwxr-x";s:8:"FileType";s:3:"MP4";s:17:"FileTypeExtension";s:3:"mp4";s:8:"MIMEType";s:9:"video/mp4";s:10:"MajorBrand";s:21:"MP4 v2 [ISO 14496-14]";s:12:"MinorVersion";s:5:"0.0.0";s:16:"CompatibleBrands";s:25:"mp42 | mp41 | isom | avc1";s:18:"MovieHeaderVersion";i:0;s:10:"CreateDate";s:19:"2017:01:12 21:04:55";s:10:"ModifyDate";s:19:"2017:01:12 21:04:55";s:9:"TimeScale";i:24000;s:8:"Duration";s:6:"9.59 s";s:13:"PreferredRate";i:1;s:15:"PreferredVolume";s:7:"100.00%";s:11:"PreviewTime";s:3:"0 s";s:15:"PreviewDuration";s:3:"0 s";s:10:"PosterTime";s:3:"0 s";s:13:"SelectionTime";s:3:"0 s";s:17:"SelectionDuration";s:3:"0 s";s:11:"CurrentTime";s:3:"0 s";s:11:"NextTrackID";i:2;s:18:"TrackHeaderVersion";i:0;s:15:"TrackCreateDate";s:19:"2017:01:12 21:04:55";s:15:"TrackModifyDate";s:19:"2017:01:12 21:04:55";s:7:"TrackID";i:1;s:13:"TrackDuration";s:6:"9.59 s";s:10:"TrackLayer";i:0;s:11:"TrackVolume";s:5:"0.00%";s:15:"MatrixStructure";s:17:"1 0 0 0 1 0 0 0 1";s:10:"ImageWidth";i:1280;s:11:"ImageHeight";i:720;s:18:"MediaHeaderVersion";i:0;s:15:"MediaCreateDate";s:19:"2017:01:12 21:04:55";s:15:"MediaModifyDate";s:19:"2017:01:12 21:04:55";s:14:"MediaTimeScale";i:24000;s:13:"MediaDuration";s:6:"9.59 s";s:17:"MediaLanguageCode";s:3:"und";s:11:"HandlerType";s:11:"Video Track";s:18:"HandlerDescription";s:21:"L-SMASH Video Handler";s:12:"GraphicsMode";s:7:"srcCopy";s:7:"OpColor";s:5:"0 0 0";s:12:"CompressorID";s:4:"avc1";s:16:"SourceImageWidth";i:1280;s:17:"SourceImageHeight";i:720;s:11:"XResolution";i:72;s:11:"YResolution";i:72;s:14:"CompressorName";s:10:"AVC Coding";s:8:"BitDepth";i:0;s:19:"ColorRepresentation";s:10:"nclx 1 1 1";s:16:"PixelAspectRatio";s:3:"1:1";s:14:"VideoFrameRate";d:23.976;s:13:"MovieDataSize";i:2964661;s:15:"MovieDataOffset";i:3949;s:10:"AvgBitrate";s:9:"2.47 Mbps";s:9:"ImageSize";s:8:"1280x720";s:10:"Megapixels";d:0.922;s:8:"Rotation";i:0;}s:25:"embeddedMetaDataExtracted";b:1;s:10:"thumbnails";a:2:{s:26:"pimcore-system-treepreview";a:2:{s:6:"status";s:8:"finished";s:7:"formats";a:1:{s:3:"mp4";s:60:"/video-thumb__353__pimcore-system-treepreview/Volkswagen.mp4";}}s:7:"content";a:3:{s:6:"status";s:10:"inprogress";s:7:"formats";a:0:{}s:9:"processId";s:13:"673c3e2fa382b";}}s:20:"image_thumbnail_time";i:5;s:10:"videoWidth";s:4:"1280";s:11:"videoHeight";s:3:"720";}"
  ":col12" => 0
]
0.92 ms
(0.51%)
4
SELECT * FROM object_url_slugs WHERE slug = '/en/Magazine/Pick of the Day' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.92 ms
(0.50%)
2
SELECT * FROM object_relations_2 WHERE src_id = ?
Parameters:
[
  983
]
0.89 ms
(0.49%)
2
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "video-job-673c3e2fa382b"
]
0.88 ms
(0.49%)
2
SELECT * FROM object_store_2 WHERE oo_id = ?
Parameters:
[
  983
]
0.81 ms
(0.45%)
2
SELECT id FROM assets WHERE path = :path AND `filename` = :key
Parameters:
[
  "key" => "Volkswagen-Van.mp4"
  "path" => "/Sample Content/Videos/"
]
0.67 ms
(0.37%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "ad8636b094b5771b13e26d834a91c30b330284bbfb1aef0a3dc80f265df00438"
  "lZzypfEdqFyR/yuAgNahk2Afx37A5FKg0UULmZ58vAU="
]
0.61 ms
(0.34%)
1
SELECT * FROM redirects WHERE
            (
                (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR
                (source = :sourcePathQuery AND `type` = :typePathQuery) OR
                (source = :sourceEntireUri AND `type` = :typeEntireUri)
            ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/en/Magazine/Pick of the Day"
  "sourcePathQuery" => "/en/Magazine/Pick of the Day"
  "sourceEntireUri" => "http://pimcore.3.uniquos.digital/en/Magazine/Pick of the Day"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.55 ms
(0.30%)
1
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "defaultTaxClass"
  null
  null
]
0.48 ms
(0.26%)
1
DELETE FROM assets_metadata WHERE cid = ?
Parameters:
[
  353
]
0.46 ms
(0.25%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  104
  104
  104
]
0.45 ms
(0.25%)
1
DELETE FROM tree_locks WHERE id = ? AND type = ?
Parameters:
[
  353
  "asset"
]
0.44 ms
(0.24%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '259'
Parameters:
[]
0.43 ms
(0.24%)
2
SELECT CONCAT(path,filename) as path FROM assets WHERE id = ?
Parameters:
[
  351
]
0.39 ms
(0.22%)
1
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.35 ms
(0.19%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  156
  156
]
0.34 ms
(0.19%)
1
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "lZzypfEdqFyR/yuAgNahk2Afx37A5FKg0UULmZ58vAU="
  "ad8636b094b5771b13e26d834a91c30b330284bbfb1aef0a3dc80f265df00438"
  "lZzypfEdqFyR/yuAgNahk2Afx37A5FKg0UULmZ58vAU="
]
0.34 ms
(0.19%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.33 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '257'
Parameters:
[]
0.33 ms
(0.18%)
1
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '69'
Parameters:
[]
0.32 ms
(0.18%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  104
]
0.30 ms
(0.17%)
1
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.30 ms
(0.17%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.30 ms
(0.17%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.27 ms
(0.15%)
1
DELETE FROM schedule_tasks WHERE `cid` = '353' AND `ctype` = 'asset'
Parameters:
[]
0.27 ms
(0.15%)
1
SELECT * FROM translations_admin LIMIT 1;
Parameters:
[]
0.25 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[]
0.25 ms
(0.14%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[]
0.24 ms
(0.13%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  2
]
0.24 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[]
0.23 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[]
0.23 ms
(0.13%)
1
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[]
0.23 ms
(0.13%)
1
DELETE FROM properties WHERE cid = ? AND ctype = ?
Parameters:
[
  353
  "asset"
]
0.10 ms
(0.05%)
1
"START TRANSACTION"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.