Query Metrics
24
Database Queries
15
Different statements
8.64 ms
Query time
0
Invalid entities
4
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.97 ms (22.79%) |
8 |
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:
[ 1774287507 "site_domain_e0db21e2be94647590088752d85b7005" ] |
|
1.01 ms (11.70%) |
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
]
|
|
0.78 ms (9.02%) |
2 |
SELECT name FROM classes WHERE id = ?
Parameters:
[
"cs_order"
]
|
|
0.76 ms (8.78%) |
1 |
SELECT t0.isoCode AS isoCode_1, t0.active AS active_2, t0.addressFormat AS addressFormat_3, t0.salutations AS salutations_4, t0.creationDate AS creationDate_5, t0.modificationDate AS modificationDate_6, t0.id AS id_7, t0.zoneId AS zoneId_8, t0.currencyId AS currencyId_9 FROM coreshop_country t0 WHERE t0.id IN (?)
Parameters:
[
11
]
|
|
0.55 ms (6.41%) |
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:
[ "/" "path" "auto_create" "/" "path_query" "https://pimcore2.local.szerver.online/" "entire_uri" ] |
|
0.54 ms (6.24%) |
2 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.49 ms (5.65%) |
1 |
SELECT c0_.name AS name_0, c0_.template AS template_1, c0_.isDefault AS isDefault_2, c0_.siteId AS siteId_3, c0_.creationDate AS creationDate_4, c0_.modificationDate AS modificationDate_5, c0_.id AS id_6, c0_.useGrossPrice AS useGrossPrice_7, c0_.currencyId AS currencyId_8, c0_.baseCountryId AS baseCountryId_9 FROM coreshop_store c0_ WHERE c0_.isDefault = 1
Parameters:
[] |
|
0.46 ms (5.38%) |
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.45 ms (5.21%) |
1 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
"/"
""
]
|
|
0.31 ms (3.60%) |
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:
[ 1774287507 "system\x01tags\x01" "redirect\x01tags\x01" "route\x01tags\x01" ] |
|
0.30 ms (3.52%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.29 ms (3.32%) |
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:
[ 1774287507 "system\x01tags\x01" "site\x01tags\x01" ] |
|
0.27 ms (3.18%) |
1 |
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[] |
|
0.26 ms (3.06%) |
1 |
SELECT * FROM properties WHERE ( (cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
1
]
|
|
0.19 ms (2.15%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_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\Store | 1 |
| CoreShop\Component\Core\Model\Currency | 1 |
| CoreShop\Component\Core\Model\Country | 1 |
| CoreShop\Component\Address\Model\Zone | 1 |