Query Metrics
250
Database Queries
60
Different statements
116.34 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
21.91 ms (18.83%) |
133 |
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:
[ 1734965114 [ "\x00tags\x00site_domain_a71824d9aaed3e163f04f4bae0169a62" "site_domain_a71824d9aaed3e163f04f4bae0169a62" ] ] |
17.41 ms (14.96%) |
3 |
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 => 1734965114 ] |
11.57 ms (9.94%) |
2 |
INSERT INTO assets_metadata (`name`, `type`, `data`, `language`, `cid`) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "License.name" "input" "OP v1.0.1" "" 353 ] |
7.60 ms (6.53%) |
1 |
"COMMIT"
Parameters:
[] |
6.50 ms (5.59%) |
1 |
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:27:\"messenger.bus.portal-engine\";}}}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;}}" "[]" "default" "2024-12-23 14:45:14" "2024-12-23 14:45:14" ] |
6.46 ms (5.55%) |
1 |
INSERT INTO bundle_data_hub_rest_index_queue (elementId,timestamp,configName,entityType) VALUES (353,1734965114520,'','_asset') ON DUPLICATE KEY UPDATE timestamp = VALUES(timestamp)
Parameters:
[] |
6.09 ms (5.23%) |
2 |
DELETE FROM assets_metadata WHERE cid = ?
Parameters:
[
353
]
|
5.80 ms (4.98%) |
1 |
DELETE FROM cache_items WHERE item_id IN (?)
Parameters:
[ [ "asset_353\x00tags\x00" "asset_properties\x00tags\x00" ] ] |
4.62 ms (3.97%) |
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
]
|
2.48 ms (2.13%) |
4 |
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
353
]
|
1.80 ms (1.54%) |
8 |
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[ "key" => "Pick of the Day" "path" => "/en/More-Stuff/Developers-Corner/Hardlink/Magazine/" ] |
1.63 ms (1.40%) |
12 |
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[ "id" => "reports" "scope" => "pimcore" ] |
1.35 ms (1.16%) |
1 |
SHOW COLUMNS FROM assets
Parameters:
[] |
1.29 ms (1.11%) |
1 |
SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(:elementId)
Parameters:
[ "elementId" => 104 ] |
1.26 ms (1.08%) |
9 |
SELECT * FROM targeting_rules WHERE id = ?
Parameters:
[
1
]
|
1.02 ms (0.88%) |
1 |
SELECT tagid FROM tags_assignment WHERE cid = ? AND ctype = ?
Parameters:
[ 353 "asset" ] |
0.99 ms (0.85%) |
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/" ] |
0.94 ms (0.81%) |
1 |
SELECT t0.elementId AS elementId_1, t0.elementType AS elementType_2, t0.elementSubType AS elementSubType_3, t0.dataPoolId AS dataPoolId_4, t0.collectionId AS collectionId_5 FROM portal_engine_collection_item t0 WHERE t0.elementId = ? AND t0.elementType = ?
Parameters:
[ 353 "asset" ] |
0.94 ms (0.80%) |
1 |
SELECT * FROM properties WHERE cid = ? AND ctype='document'
Parameters:
[
46
]
|
0.92 ms (0.79%) |
1 |
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[ 353 "asset" ] |
0.88 ms (0.76%) |
1 |
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[ "user" 0 ] |
0.87 ms (0.75%) |
1 |
SELECT DISTINCT k.`CONSTRAINT_NAME`, k.`COLUMN_NAME`, k.`REFERENCED_TABLE_NAME`, k.`REFERENCED_COLUMN_NAME` /*!50116 , c.update_rule, c.delete_rule */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.constraint_name = k.constraint_name AND c.table_name = 'assets' */ WHERE k.table_name = 'assets' AND k.table_schema = 'siteone' /*!50116 AND c.constraint_schema = 'siteone' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[] |
0.87 ms (0.75%) |
1 |
SELECT id, targetType, targetId FROM dependencies WHERE sourceType= ? AND sourceId = ?
Parameters:
[ "asset" 353 ] |
0.86 ms (0.74%) |
2 |
INSERT INTO `assets` (`id`, `parentId`, `type`, `filename`, `path`, `mimetype`, `creationDate`, `modificationDate`, `userOwner`, `userModification`, `customSettings`, `hasMetaData`, `versionCount`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6, :col7, :col8, :col9, :col10, :col11, :col12) ON DUPLICATE KEY UPDATE `id` = :col0, `parentId` = :col1, `type` = :col2, `filename` = :col3, `path` = :col4, `mimetype` = :col5, `creationDate` = :col6, `modificationDate` = :col7, `userOwner` = :col8, `userModification` = :col9, `customSettings` = :col10, `hasMetaData` = :col11, `versionCount` = :col12;
Parameters:
[ ":col0" => 353 ":col1" => 1473 ":col2" => "video" ":col3" => "Volkswagen-Van.mp4" ":col4" => "/Sandbox/Videos/" ":col5" => "video/mp4" ":col6" => 1565353388 ":col7" => 1734965114 ":col8" => 2 ":col9" => 0 ":col10" => "a:8:{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:"6769777a5990e";}}s:20:"image_thumbnail_time";i:5;s:10:"videoWidth";s:4:"1280";s:11:"videoHeight";s:3:"720";s:31:"plugin_assetmetdata_collections";a:2:{i:0;s:9:"CarImages";i:1;s:7:"License";}}" ":col11" => 1 ":col12" => 18 ] |
0.82 ms (0.70%) |
5 |
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[ "prettyUrl" => "/en/More-Stuff/Developers-Corner/Hardlink/Magazine/Pick of the Day" ] |
0.81 ms (0.70%) |
1 |
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'siteone' AND TABLE_NAME = 'assets' ORDER BY ORDINAL_POSITION ASC
Parameters:
[] |
0.71 ms (0.61%) |
4 |
SELECT * FROM object_url_slugs WHERE slug = '/en/More-Stuff/Developers-Corner/Hardlink/Magazine/Pick of the Day' AND (siteId = 0 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
0.68 ms (0.58%) |
1 |
SELECT ENGINE, AUTO_INCREMENT, TABLE_COLLATION, TABLE_COMMENT, CREATE_OPTIONS FROM information_schema.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'assets'
Parameters:
[] |
0.67 ms (0.58%) |
1 |
SELECT t0.elementId AS elementId_1, t0.elementType AS elementType_2, t0.elementSubType AS elementSubType_3, t0.dataPoolId AS dataPoolId_4, t0.publicShareId AS publicShareId_5 FROM portal_engine_public_share_item t0 WHERE t0.elementId = ? AND t0.elementType = ?
Parameters:
[ 353 "asset" ] |
0.63 ms (0.54%) |
1 |
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'assets' AND TABLE_SCHEMA = 'siteone' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[] |
0.62 ms (0.53%) |
6 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"CAR"
]
|
0.39 ms (0.33%) |
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/Hardlink/Magazine/Pick of the Day" "sourcePathQuery" => "/en/More-Stuff/Developers-Corner/Hardlink/Magazine/Pick of the Day" "sourceEntireUri" => "http://ec2-52-70-21-189.compute-1.amazonaws.com/en/More-Stuff/Developers-Corner/Hardlink/Magazine/Pick of the Day" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
0.38 ms (0.32%) |
2 |
SELECT id FROM assets WHERE path = :path AND `filename` = :key
Parameters:
[ "key" => "Volkswagen-Van.mp4" "path" => "/Sandbox/Videos/" ] |
0.37 ms (0.32%) |
2 |
SELECT CONCAT(path,filename) as path FROM assets WHERE id = ?
Parameters:
[
1473
]
|
0.28 ms (0.24%) |
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.27 ms (0.23%) |
2 |
INSERT INTO assets_metadata (`name`, `language`, `type`, `data`, `cid`) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "License.name" "" "input" "OP v1.0.1" 353 ] |
0.27 ms (0.23%) |
2 |
DELETE FROM tree_locks WHERE id = ? AND type = ?
Parameters:
[ 353 "asset" ] |
0.22 ms (0.19%) |
1 |
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[] |
0.22 ms (0.19%) |
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.22 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.21 ms (0.18%) |
1 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
104
]
|
0.19 ms (0.17%) |
1 |
SELECT id FROM targeting_rules WHERE active = 1 ORDER BY `prio` ASC
Parameters:
[] |
0.19 ms (0.16%) |
1 |
SELECT * FROM properties WHERE ((cid IN (1,1473,1469) AND inheritable = 1) OR cid = ? ) AND ctype='asset'
Parameters:
[
353
]
|
0.18 ms (0.15%) |
1 |
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
104
]
|
0.18 ms (0.15%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"video-job-6769068715466"
]
|
0.16 ms (0.14%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_data_hub"
]
|
0.16 ms (0.14%) |
1 |
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[] |
0.15 ms (0.13%) |
1 |
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '257'
Parameters:
[] |
0.15 ms (0.13%) |
1 |
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '259'
Parameters:
[] |
0.14 ms (0.12%) |
1 |
SELECT * FROM object_url_slugs WHERE fieldname = 'urlSlug' AND ownertype = 'object' AND objectId = '69'
Parameters:
[] |
0.14 ms (0.12%) |
1 |
SELECT id FROM ecommerceframework_pricing_rule WHERE active = 1 ORDER BY `prio` ASC
Parameters:
[] |
0.11 ms (0.10%) |
1 |
DELETE FROM properties WHERE cid = ? AND ctype = ?
Parameters:
[ 353 "asset" ] |
0.11 ms (0.10%) |
1 |
DELETE FROM schedule_tasks WHERE `cid` = '353' AND `ctype` = 'asset'
Parameters:
[] |
0.10 ms (0.09%) |
1 |
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
2
]
|
0.10 ms (0.09%) |
1 |
SELECT * FROM ecommerceframework_pricing_rule WHERE id='10'
Parameters:
[] |
0.10 ms (0.08%) |
1 |
SELECT * FROM ecommerceframework_pricing_rule WHERE id='6'
Parameters:
[] |
0.09 ms (0.08%) |
1 |
"START TRANSACTION"
Parameters:
[] |
0.09 ms (0.08%) |
1 |
SELECT * FROM ecommerceframework_pricing_rule WHERE id='9'
Parameters:
[] |
0.09 ms (0.08%) |
1 |
SELECT * FROM ecommerceframework_pricing_rule WHERE id='8'
Parameters:
[] |
0.08 ms (0.07%) |
1 |
SELECT * FROM ecommerceframework_pricing_rule WHERE id='7'
Parameters:
[] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
pimcore_direct_edit | doctrine.orm.pimcore_direct_edit_entity_manager |
portal_engine | doctrine.orm.portal_engine_entity_manager |
statistics_explorer | doctrine.orm.statistics_explorer_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
pimcore_direct_edit entity manager
No loaded entities.
portal_engine entity manager
Class | Mapping errors |
---|---|
Pimcore\Bundle\PortalEngineBundle\Entity\CollectionItem | No errors. |
Pimcore\Bundle\PortalEngineBundle\Entity\Collection | No errors. |
Pimcore\Bundle\PortalEngineBundle\Entity\PublicShareItem | No errors. |
Pimcore\Bundle\PortalEngineBundle\Entity\PublicShare | No errors. |
statistics_explorer entity manager
No loaded entities.