Query Metrics
39
Database Queries
20
Different statements
28.78 ms
Query time
0
Invalid entities
177
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.78 ms (27.03%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[ "8651e5f2bbb7fb3ad4ffb52ed10dd42c70302957e3fac4ccd63e3eb3611a28a8" "FCvKx/o6uRoueKV1lE+PFVjzVf028VzoMxUjvXeLK/E=" ] |
|
6.75 ms (23.45%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "8651e5f2bbb7fb3ad4ffb52ed10dd42c70302957e3fac4ccd63e3eb3611a28a8" "FCvKx/o6uRoueKV1lE+PFVjzVf028VzoMxUjvXeLK/E=" ] |
|
2.29 ms (7.95%) |
1 |
SELECT DISTINCT c0_.isoCode AS isoCode_0, c0_.name AS name_1, c0_.numericIsoCode AS numericIsoCode_2, c0_.symbol AS symbol_3, c0_.creationDate AS creationDate_4, c0_.modificationDate AS modificationDate_5, c0_.id AS id_6 FROM coreshop_currency c0_ LEFT JOIN coreshop_country c1_ ON c0_.id = c1_.currencyId INNER JOIN coreshop_store_countries c3_ ON c1_.id = c3_.country_id INNER JOIN coreshop_store c2_ ON c2_.id = c3_.store_id WHERE c1_.active = 1 AND c2_.id = ?
Parameters:
[
1
]
|
|
1.70 ms (5.91%) |
6 |
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:
[ 1773908212 "site_domain_f30c70ab576f69738c3c7a25b500a0bb" ] |
|
1.58 ms (5.48%) |
2 |
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:
[
20178
]
|
|
1.43 ms (4.96%) |
5 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/Products/20178/image-thumb__20178__seiko_productDetailsSmall/" "SSC939P1_3.b79fd866.png" ] |
|
0.90 ms (3.12%) |
3 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[ "8651e5f2bbb7fb3ad4ffb52ed10dd42c70302957e3fac4ccd63e3eb3611a28a8" "FCvKx/o6uRoueKV1lE+PFVjzVf028VzoMxUjvXeLK/E=" ] |
|
0.86 ms (3.00%) |
4 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/Products/20178/image-thumb__20178__seiko_productDetailsSmall/SSC939P1_3.b79fd866.png"
]
|
|
0.67 ms (2.33%) |
2 |
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
20178
]
|
|
0.66 ms (2.29%) |
2 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"cs_order"
]
|
|
0.63 ms (2.19%) |
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:
[ 1773908212 "system\x01tags\x01" "site\x01tags\x01" ] |
|
0.55 ms (1.90%) |
2 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.53 ms (1.83%) |
1 |
SELECT t0.name AS name_1, t0.template AS template_2, t0.isDefault AS isDefault_3, t0.siteId AS siteId_4, t0.creationDate AS creationDate_5, t0.modificationDate AS modificationDate_6, t0.id AS id_7, t0.useGrossPrice AS useGrossPrice_8, t0.currencyId AS currencyId_9, t0.baseCountryId AS baseCountryId_10, t11.isoCode AS isoCode_12, t11.active AS active_13, t11.addressFormat AS addressFormat_14, t11.salutations AS salutations_15, t11.creationDate AS creationDate_16, t11.modificationDate AS modificationDate_17, t11.id AS id_18, t11.zoneId AS zoneId_19, t11.currencyId AS currencyId_20 FROM coreshop_store t0 LEFT JOIN coreshop_country t11 ON t0.baseCountryId = t11.id WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.48 ms (1.65%) |
1 |
SELECT t0.configKey AS configKey_1, t0.data AS data_2, t0.creationDate AS creationDate_3, t0.modificationDate AS modificationDate_4, t0.id AS id_5, t0.store_id AS store_id_6 FROM coreshop_configuration t0 WHERE t0.store_id IN (?)
Parameters:
[
1
]
|
|
0.47 ms (1.63%) |
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:
[ "/Products/20178/image-thumb__20178__seiko_productDetailsSmall/SSC939P1_3.b79fd866.png" "path" "auto_create" "/Products/20178/image-thumb__20178__seiko_productDetailsSmall/SSC939P1_3.b79fd866.png" "path_query" "https://www.api.boutique.local.szerver.online/Products/20178/image-thumb__20178__seiko_productDetailsSmall/SSC939P1_3.b79fd866.png" "entire_uri" ] |
|
0.39 ms (1.34%) |
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:
[ 1773908212 "document_1\x01tags\x01" "asset_23694\x01tags\x01" "asset_23875\x01tags\x01" "asset_23880\x01tags\x01" "asset_23876\x01tags\x01" "asset_23879\x01tags\x01" "asset_23877\x01tags\x01" "asset_31500\x01tags\x01" "asset_23886\x01tags\x01" "asset_15451\x01tags\x01" "asset_23884\x01tags\x01" "asset_15452\x01tags\x01" "asset_23899\x01tags\x01" "asset_15462\x01tags\x01" "asset_23890\x01tags\x01" "asset_15463\x01tags\x01" "asset_23895\x01tags\x01" "asset_15464\x01tags\x01" "asset_23888\x01tags\x01" "asset_15544\x01tags\x01" ] |
|
0.32 ms (1.09%) |
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 "FCvKx/o6uRoueKV1lE+PFVjzVf028VzoMxUjvXeLK/E=" "8651e5f2bbb7fb3ad4ffb52ed10dd42c70302957e3fac4ccd63e3eb3611a28a8" "FCvKx/o6uRoueKV1lE+PFVjzVf028VzoMxUjvXeLK/E=" ] |
|
0.29 ms (1.02%) |
1 |
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
20178
]
|
|
0.29 ms (1.02%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.23 ms (0.79%) |
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:
[ 1773908212 "system\x01tags\x01" "redirect\x01tags\x01" "route\x01tags\x01" ] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
| pimcore | doctrine.orm.pimcore_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| CoreShop\Component\Core\Model\Currency | 156 |
| CoreShop\Component\Core\Model\Configuration | 18 |
| CoreShop\Component\Core\Model\Store | 1 |
| CoreShop\Component\Core\Model\Country | 1 |
| CoreShop\Component\Address\Model\Zone | 1 |
pimcore entity manager
| Class | Amount of managed objects |
|---|
Entities Mapping
default entity manager
pimcore entity manager
No loaded entities.