POST https://pimcore.kgkjewelry.com/api/asset/chunk/upload

Query Metrics

70 Database Queries
39 Different statements
47.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
15.62 ms
(32.94%)
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:41:\"Pimcore\\Messenger\\AssetUpdateTasksMessage\":1:{s:5:\"\0*\0id\";i:12335;}}"
  "[]"
  "pimcore_asset_update"
  "2026-04-09 09:57:11"
  "2026-04-09 09:57:11"
]
6.76 ms
(14.26%)
1
"COMMIT"
Parameters:
[]
6.06 ms
(12.77%)
1
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:
[
  2 => 30
  3 => 1775728631
  0 => "system_cache_write_lock"
  1 => b"O:1:"©":1:{s:6:"ŽÔ™\x07À\x1E";i:1775728631;}"
]
3.26 ms
(6.88%)
12
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:
[
  1775728631
  "\x01tags\x01site_domain_d7f0c892975cf70fe3ed955a78133790"
  "site_domain_d7f0c892975cf70fe3ed955a78133790"
]
1.49 ms
(3.15%)
1
SHOW COLUMNS FROM assets
Parameters:
[]
1.11 ms
(2.33%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/api/asset/chunk/"
  "upload"
]
1.09 ms
(2.30%)
1
SELECT IFNULL(binaryFileId, id) FROM versions WHERE binaryFileHash = ? AND cid = ? AND storageType = ? ORDER BY id ASC LIMIT 1
Parameters:
[
  "226ba5b5ad01fcccff3e3d0536d4dac66138f4bdd71617e81c46e0d78eda9ec9ae2ed9336b02ecb7ce6a44081642ec07fdf2ae763ebcdb4b957e071482b7b89c"
  12335
  "fs"
]
1.07 ms
(2.26%)
1
SHOW COLUMNS FROM versions
Parameters:
[]
0.95 ms
(2.01%)
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:
[
  1
]
0.78 ms
(1.64%)
4
SELECT id FROM assets WHERE `path` = ? AND `filename` = ?
Parameters:
[
  "/"
  "presentations"
]
0.77 ms
(1.63%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/api/asset/chunk/upload"
]
0.60 ms
(1.27%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.54 ms
(1.14%)
2
SELECT * FROM users_workspaces_asset WHERE userId = ?
Parameters:
[
  8
]
0.41 ms
(0.87%)
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:
[
  "/api/asset/chunk/upload"
  "path"
  "auto_create"
  "/api/asset/chunk/upload"
  "path_query"
  "https://pimcore.kgkjewelry.com/api/asset/chunk/upload"
  "entire_uri"
]
0.40 ms
(0.84%)
2
SELECT * FROM users_workspaces_document WHERE userId = ?
Parameters:
[
  8
]
0.38 ms
(0.81%)
2
SELECT * FROM users_workspaces_object WHERE userId = ?
Parameters:
[
  8
]
0.38 ms
(0.81%)
2
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:
[
  1775728631
  "document_1\x01tags\x01"
]
0.38 ms
(0.80%)
2
SELECT CONCAT(`path`,filename) as `path` FROM assets WHERE id = ?
Parameters:
[
  8419
]
0.35 ms
(0.74%)
1
INSERT INTO versions (`id`, `cid`, `ctype`, `userId`, `note`, `date`, `public`, `serialized`, `stackTrace`, `versionCount`, `binaryFileHash`, `binaryFileId`, `autoSave`, `storageType`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  null
  12335
  "asset"
  8
  "chunk upload"
  1775728631
  0
  1
  """
    #0 /var/www/pimcore.kgkjewelry.com/my-project/vendor/pimcore/pimcore/models/Element/AbstractElement.php(611): Pimcore\Model\Version->save()\n
    #1 /var/www/pimcore.kgkjewelry.com/my-project/vendor/pimcore/pimcore/models/Asset.php(858): Pimcore\Model\Element\AbstractElement->doSaveVersion()\n
    #2 /var/www/pimcore.kgkjewelry.com/my-project/vendor/pimcore/pimcore/models/Asset.php(546): Pimcore\Model\Asset->saveVersion()\n
    #3 /var/www/pimcore.kgkjewelry.com/my-project/bundles/APIBundle/src/Controller/DefaultController.php(581): Pimcore\Model\Asset->save()\n
    #4 /var/www/pimcore.kgkjewelry.com/my-project/vendor/symfony/http-kernel/HttpKernel.php(182): APIBundle\Controller\DefaultController->chunkUpload()\n
    #5 /var/www/pimcore.kgkjewelry.com/my-project/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()\n
    #6 /var/www/pimcore.kgkjewelry.com/my-project/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()\n
    #7 /var/www/pimcore.kgkjewelry.com/my-project/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()\n
    #8 /var/www/pimcore.kgkjewelry.com/my-project/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()\n
    #9 /var/www/pimcore.kgkjewelry.com/my-project/public/index.php(19): require_once('...')\n
    #10 {main}
    """
  1
  "226ba5b5ad01fcccff3e3d0536d4dac66138f4bdd71617e81c46e0d78eda9ec9ae2ed9336b02ecb7ce6a44081642ec07fdf2ae763ebcdb4b957e071482b7b89c"
  null
  0
  "fs"
]
0.33 ms
(0.70%)
1
SELECT MAX(versionCount) FROM versions WHERE cid = ? AND ctype = 'asset'
Parameters:
[
  12335
]
0.31 ms
(0.66%)
1
SELECT * FROM properties WHERE ((cid IN (1,8419) AND inheritable = 1) OR cid = ? )  AND ctype='asset'
Parameters:
[
  12335
]
0.31 ms
(0.66%)
1
INSERT INTO assets (`path`, `id`, `creationDate`, `modificationDate`, `versionCount`, `userOwner`, `userModification`, `parentId`, `type`, `filename`, `mimetype`, `customSettings`, `hasMetaData`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "/presentations/"
  12335
  1775728631
  1775728631
  1
  8
  8
  8419
  "image"
  "PETAL_POUT_1771675873552_1775728628074.webp"
  "image/webp"
  "a:1:{s:8:"checksum";s:32:"2744d7e0fa6cfcae5b9eb619ae59872e";}"
  0
]
0.31 ms
(0.65%)
1
SELECT id FROM schedule_tasks WHERE `cid` = ? AND `ctype` = ?
Parameters:
[
  12335
  "asset"
]
0.30 ms
(0.64%)
1
UPDATE assets SET `path` = ?, `id` = ?, `creationDate` = ?, `modificationDate` = ?, `versionCount` = ?, `userOwner` = ?, `userModification` = ?, `parentId` = ?, `type` = ?, `filename` = ?, `mimetype` = ?, `customSettings` = ?, `hasMetaData` = ? WHERE `id` = ?
Parameters:
[
  "/presentations/"
  12335
  1775728631
  1775728631
  1
  8
  8
  8419
  "image"
  "PETAL_POUT_1771675873552_1775728628074.webp"
  "image/webp"
  "a:1:{s:8:"checksum";s:32:"2744d7e0fa6cfcae5b9eb619ae59872e";}"
  0
  12335
]
0.29 ms
(0.61%)
1
SELECT versionCount FROM assets WHERE id = ? FOR UPDATE
Parameters:
[
  12335
]
0.29 ms
(0.60%)
1
UPDATE assets SET customSettings = ? WHERE id = ?
Parameters:
[
  "a:1:{s:8:"checksum";s:32:"2744d7e0fa6cfcae5b9eb619ae59872e";}"
  12335
]
0.27 ms
(0.57%)
1
DELETE FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  "asset_12335\x01tags\x01"
  "asset_properties\x01tags\x01"
]
0.27 ms
(0.57%)
1
SELECT * FROM users WHERE `type` = ? AND `name` = ?
Parameters:
[
  "user"
  "prod-api"
]
0.26 ms
(0.55%)
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:
[
  1775728631
  "system\x01tags\x01"
  "site\x01tags\x01"
  "site_domain_d7f0c892975cf70fe3ed955a78133790\x01tags\x01"
]
0.26 ms
(0.55%)
1
INSERT INTO assets (filename, path, parentId) VALUES (?, ?, ?)
Parameters:
[
  "PETAL_POUT_1771675873552_1775728628074.webp"
  "/presentations/"
  8419
]
0.25 ms
(0.53%)
1
SELECT id, targetType, targetId FROM dependencies WHERE sourceType= ? AND sourceId = ?
Parameters:
[
  "asset"
  12335
]
0.25 ms
(0.53%)
1
SELECT `name` FROM assets_metadata WHERE cid = ? LIMIT 1
Parameters:
[
  12335
]
0.24 ms
(0.51%)
1
SELECT * FROM users WHERE `type` = ? AND id = ?
Parameters:
[
  "user"
  8
]
0.22 ms
(0.47%)
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:
[
  1775728631
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
  "system_route_redirect\x01tags\x01"
]
0.22 ms
(0.46%)
1
SELECT * FROM properties WHERE ((cid IN (1) AND inheritable = 1) OR cid = ? )  AND ctype='document'
Parameters:
[
  1
]
0.17 ms
(0.37%)
1
DELETE FROM properties WHERE cid = ? AND ctype = ?
Parameters:
[
  12335
  "asset"
]
0.17 ms
(0.36%)
1
DELETE FROM schedule_tasks WHERE `cid` = '12335' AND `ctype` = 'asset'
Parameters:
[]
0.16 ms
(0.35%)
1
DELETE FROM tree_locks WHERE id = ? AND type = ?
Parameters:
[
  12335
  "asset"
]
0.10 ms
(0.20%)
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.

Entities Mapping

No mapped entities.