Query Metrics
41
Database Queries
15
Different statements
10.75 ms
Query time
0
Invalid entities
0
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
2.98 ms (27.72%) |
14 |
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:
[ 1790378832 "site_domain_31ec813b67066e80a2508d50f0436763" ] |
|
1.00 ms (9.29%) |
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 OR sourceSite = 2) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[ "/sitemap.xml" "path" "auto_create" "/sitemap.xml" "path_query" "https://assetportal.pimcoredemos.com/sitemap.xml" "entire_uri" ] |
|
0.95 ms (8.87%) |
4 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/Asset Portal/" "sitemap.xml" ] |
|
0.87 ms (8.13%) |
3 |
SELECT documents.id, CONCAT(documents.`path`, documents.`key`) AS fullPath FROM documents LEFT JOIN documents_page ON documents.id = documents_page.id WHERE documents.path LIKE ? AND documents_page.prettyUrl = ? ORDER BY documents.id
Parameters:
[ "/Asset Portal/%" "/sitemap.xml" ] |
|
0.81 ms (7.52%) |
3 |
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:
[ 1790378832 "system\x01tags\x01" "site\x01tags\x01" ] |
|
0.71 ms (6.65%) |
3 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.65 ms (6.00%) |
3 |
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:
[ 1790378832 "system\x01tags\x01" "redirect\x01tags\x01" "route\x01tags\x01" ] |
|
0.61 ms (5.71%) |
3 |
SELECT id FROM documents_page WHERE prettyUrl = ? ORDER BY id LIMIT 1
Parameters:
[
"/Asset Portal/sitemap.xml"
]
|
|
0.37 ms (3.47%) |
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 OR sourceSite = 2) ORDER BY `priority` DESC
Parameters:
[ "/sitemap.xml" "path" "auto_create" "/sitemap.xml" "path_query" "https://assetportal.pimcoredemos.com/sitemap.xml" "entire_uri" ] |
|
0.36 ms (3.37%) |
1 |
SELECT * FROM translations_portal_engine_frontend LIMIT 1;
Parameters:
[] |
|
0.33 ms (3.11%) |
1 |
select documents.id, concat(documents.path, documents.`key`) as fullPath from documents, documents_page, sites where sites.rootId = documents_page.id and documents.id = documents_page.id and documents_page.controller = ?
Parameters:
[
"Pimcore\Bundle\PortalEngineBundle\Controller\PortalController::pageAction"
]
|
|
0.31 ms (2.90%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/sitemap.xml' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.30 ms (2.83%) |
1 |
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
456
]
|
|
0.25 ms (2.36%) |
1 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
227
]
|
|
0.22 ms (2.07%) |
1 |
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
456
]
|
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 |
|---|
Entities Mapping
No loaded entities.