Query Metrics
84
Database Queries
25
Different statements
24.34 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
4.35 ms (17.87%) |
18 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/Laticrete/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/" "8cee59?panel=request" ] |
|
3.92 ms (16.10%) |
17 |
SELECT documents.id FROM documents LEFT JOIN documents_page ON documents.id = documents_page.id WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[ "/Laticrete/%" "/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" ] |
|
3.34 ms (13.73%) |
17 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/Laticrete/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request"
]
|
|
1.88 ms (7.73%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "UyDxgs54YFM8eTMv8Hv2fobA4nQN4BF5y7c/8jawoZ4=" ] |
|
1.57 ms (6.47%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "UyDxgs54YFM8eTMv8Hv2fobA4nQN4BF5y7c/8jawoZ4=" ] |
|
1.04 ms (4.25%) |
4 |
SELECT documents.*, tree_locks.locked FROM documents LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document' WHERE documents.id = ?
Parameters:
[
1
]
|
|
0.94 ms (3.88%) |
3 |
SELECT documents.*, documents_page.*, tree_locks.locked FROM documents LEFT JOIN documents_page ON documents.id = documents_page.id LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document' WHERE documents.id = ?
Parameters:
[
10
]
|
|
0.77 ms (3.16%) |
3 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.59 ms (2.42%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "UyDxgs54YFM8eTMv8Hv2fobA4nQN4BF5y7c/8jawoZ4=" ] |
|
0.58 ms (2.38%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "portals-laticrete.byfactory.dev" "%"portals-laticrete.byfactory.dev"%" ] |
|
0.57 ms (2.35%) |
2 |
SELECT * FROM translations_portal_engine_frontend LIMIT 1;
Parameters:
[] |
|
0.52 ms (2.12%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_staticroutes"
]
|
|
0.44 ms (1.81%) |
2 |
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents LEFT JOIN documents_snippet ON documents.id = documents_snippet.id LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document' WHERE documents.id = ?
Parameters:
[
15
]
|
|
0.38 ms (1.58%) |
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 = 2 ORDER BY `priority` DESC
Parameters:
[ "/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "path" "auto_create" "/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "path_query" "https://portals-laticrete.byfactory.dev/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "entire_uri" ] |
|
0.38 ms (1.57%) |
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 = 2 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[ "/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "path" "auto_create" "/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "path_query" "https://portals-laticrete.byfactory.dev/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request" "entire_uri" ] |
|
0.37 ms (1.51%) |
1 |
SELECT * FROM translations_portal_engine_frontend WHERE language = ?
Parameters:
[
"en"
]
|
|
0.36 ms (1.48%) |
1 |
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[] |
|
0.34 ms (1.40%) |
1 |
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[ 300.0 "UyDxgs54YFM8eTMv8Hv2fobA4nQN4BF5y7c/8jawoZ4=" "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "UyDxgs54YFM8eTMv8Hv2fobA4nQN4BF5y7c/8jawoZ4=" ] |
|
0.33 ms (1.38%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59?panel=request' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.32 ms (1.32%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.31 ms (1.26%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.30 ms (1.24%) |
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.29 ms (1.20%) |
1 |
SELECT * FROM properties WHERE ( (cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
10
]
|
|
0.24 ms (0.98%) |
1 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
10
]
|
|
0.20 ms (0.82%) |
1 |
SELECT * FROM sites WHERE id = ?
Parameters:
[
2
]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| pimcore_generic_data_index | doctrine.orm.pimcore_generic_data_index_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_generic_data_index entity manager
No loaded entities.
portal_engine entity manager
No loaded entities.
statistics_explorer entity manager
No loaded entities.