Query Metrics
84
Database Queries
25
Different statements
31.27 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
5.13 ms (16.39%) |
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" ] |
|
4.82 ms (15.40%) |
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" ] |
|
3.91 ms (12.49%) |
17 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/Laticrete/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59"
]
|
|
2.39 ms (7.66%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "jTIp63OC6seaxu/3Umki64R/akKnsKkFeljkjfs84+w=" ] |
|
2.02 ms (6.45%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "jTIp63OC6seaxu/3Umki64R/akKnsKkFeljkjfs84+w=" ] |
|
1.60 ms (5.10%) |
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
]
|
|
1.37 ms (4.38%) |
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
]
|
|
1.28 ms (4.10%) |
3 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.96 ms (3.07%) |
2 |
SELECT * FROM translations_portal_engine_frontend LIMIT 1;
Parameters:
[] |
|
0.73 ms (2.33%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "portals-laticrete.byfactory.dev" "%"portals-laticrete.byfactory.dev"%" ] |
|
0.68 ms (2.17%) |
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.67 ms (2.16%) |
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" "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.67 ms (2.14%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "jTIp63OC6seaxu/3Umki64R/akKnsKkFeljkjfs84+w=" ] |
|
0.64 ms (2.05%) |
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" "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.60 ms (1.92%) |
1 |
SELECT * FROM translations_portal_engine_frontend WHERE language = ?
Parameters:
[
"en"
]
|
|
0.44 ms (1.41%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.42 ms (1.35%) |
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.42 ms (1.34%) |
1 |
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[] |
|
0.42 ms (1.34%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/auth/https:/portals-laticrete.byfactory.dev/_profiler/https:/portals-laticrete.byfactory.dev/_profiler/8cee59' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.41 ms (1.30%) |
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 "jTIp63OC6seaxu/3Umki64R/akKnsKkFeljkjfs84+w=" "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "jTIp63OC6seaxu/3Umki64R/akKnsKkFeljkjfs84+w=" ] |
|
0.37 ms (1.19%) |
1 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
10
]
|
|
0.36 ms (1.15%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.36 ms (1.15%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_staticroutes"
]
|
|
0.34 ms (1.08%) |
1 |
SELECT * FROM properties WHERE ( (cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
10
]
|
|
0.28 ms (0.89%) |
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.