Query Metrics

138 Database Queries
42 Different statements
52.23 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
18.44 ms
(35.30%)
62
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:
[
  1737164988
  [
    "\x00tags\x00site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
    "site_domain_f6cd3ffd8554bc2c20e4764114d2fa28"
  ]
]
3.43 ms
(6.57%)
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"
  "2025-01-18 04:49:48"
  "2025-01-18 04:49:48"
]
2.51 ms
(4.81%)
2
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1737164988
  [
    "\x00tags\x00asset_353"
    "asset_353"
  ]
]
1.91 ms
(3.66%)
2
DELETE FROM tmp_store WHERE id = ?
Parameters:
[
  "video-job-6467fb13efd01"
]
1.90 ms
(3.64%)
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-678b08bcced85"
  ":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:118:"/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/var/tmp/temp-file-678b08bccf65f-0e7f625a528c626e2c77c0e5ddac23.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:"678b08bcced85";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" => 1737164988
  ":col4" => 1737769788
  ":col5" => 1
]
1.74 ms
(3.34%)
1
SHOW COLUMNS FROM assets
Parameters:
[]
1.62 ms
(3.10%)
2
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 => 30
  4 => 1737164988
]
1.52 ms
(2.91%)
1
SELECT id, targetType, targetId FROM dependencies WHERE sourceType= ? AND sourceId = ?
Parameters:
[
  "asset"
  353
]
1.25 ms
(2.40%)
3
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "video-job-6467fb13efd01"
]
1.25 ms
(2.38%)
1
"COMMIT"
Parameters:
[]
1.08 ms
(2.07%)
1
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[
  353
  "asset"
]
1.03 ms
(1.98%)
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
]
0.97 ms
(1.86%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  0
]
0.93 ms
(1.78%)
5
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "HTML-5-Video"
  "path" => "/en/More-Stuff/Developers-Corner/"
]
0.86 ms
(1.65%)
4
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.84 ms
(1.61%)
1
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  0
]
0.84 ms
(1.60%)
9
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
  1
]
0.82 ms
(1.57%)
5
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/"
]
0.82 ms
(1.56%)
1
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[
  "elementId" => "52"
]
0.75 ms
(1.44%)
1
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  0
]
0.75 ms
(1.43%)
2
SELECT id FROM assets WHERE path = :path AND `filename` = :key
Parameters:
[
  "key" => "Volkswagen-Van.mp4"
  "path" => "/Sample Content/Videos/"
]
0.72 ms
(1.39%)
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" => 1737164988
  ":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.5899999999999999;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.975999999999999;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.92200000000000004;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:"678b08bcced85";}}s:20:"image_thumbnail_time";i:5;s:10:"videoWidth";s:4:"1280";s:11:"videoHeight";s:3:"720";}"
  ":col12" => 0
]
0.69 ms
(1.33%)
1
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  0
]
0.61 ms
(1.16%)
1
DELETE FROM cache_items WHERE item_id IN (?)
Parameters:
[
  [
    "asset_353\x00tags\x00"
    "asset_properties\x00tags\x00"
  ]
]
0.58 ms
(1.12%)
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/More-Stuff/Developers-Corner/HTML-5-Video"
  "sourcePathQuery" => "/en/More-Stuff/Developers-Corner/HTML-5-Video"
  "sourceEntireUri" => "https://pimcore.dev2.nowmedia.ru/en/More-Stuff/Developers-Corner/HTML-5-Video"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.57 ms
(1.10%)
1
DELETE FROM tree_locks WHERE id = ? AND type = ?
Parameters:
[
  353
  "asset"
]
0.48 ms
(0.91%)
2
SELECT * FROM assets_image_thumbnail_cache WHERE cid = :cid
Parameters:
[
  "cid" => 353
]
0.47 ms
(0.91%)
3
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  52
]
0.36 ms
(0.69%)
2
SELECT CONCAT(path,filename) as path FROM assets WHERE id = ?
Parameters:
[
  351
]
0.35 ms
(0.66%)
1
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff/Developers-Corner/HTML-5-Video' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.28 ms
(0.53%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  52
  52
  52
]
0.27 ms
(0.52%)
1
SELECT `name` FROM assets_metadata WHERE cid = ? LIMIT 1
Parameters:
[
  353
]
0.25 ms
(0.49%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  52
]
0.21 ms
(0.40%)
1
SELECT * FROM properties WHERE ((cid IN (1,351,355) AND inheritable = 1) OR cid = ? )  AND ctype='asset'
Parameters:
[
  353
]
0.19 ms
(0.36%)
2
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/fr"
]
0.15 ms
(0.28%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(0.28%)
1
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
  "pimcore_staticroutes"
]
0.14 ms
(0.28%)
1
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
0.14 ms
(0.27%)
1
DELETE FROM properties WHERE cid = ? AND ctype = ?
Parameters:
[
  353
  "asset"
]
0.13 ms
(0.25%)
1
DELETE FROM schedule_tasks WHERE `cid` = '353' AND `ctype` = 'asset'
Parameters:
[]
0.12 ms
(0.22%)
1
SELECT id FROM targeting_rules WHERE active = 1  ORDER BY `prio` ASC
Parameters:
[]
0.10 ms
(0.19%)
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.