Query Metrics
42
Database Queries
25
Different statements
15.81 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
2.33 ms (14.76%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "31DJ2eo0txQ/86jcFvMNs2d3zYWlDuy7Q5t7F3ByzfQ=" ] |
|
1.76 ms (11.15%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "31DJ2eo0txQ/86jcFvMNs2d3zYWlDuy7Q5t7F3ByzfQ=" ] |
|
1.65 ms (10.43%) |
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.09 ms (6.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
]
|
|
1.08 ms (6.80%) |
4 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/Laticrete/" ".s3cfg" ] |
|
0.83 ms (5.26%) |
3 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.72 ms (4.54%) |
3 |
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/%" "/.s3cfg" ] |
|
0.58 ms (3.68%) |
3 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/Laticrete/.s3cfg"
]
|
|
0.54 ms (3.42%) |
2 |
SELECT * FROM translations_portal_engine_frontend LIMIT 1;
Parameters:
[] |
|
0.52 ms (3.31%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "portals-laticrete.byfactory.dev" "%"portals-laticrete.byfactory.dev"%" ] |
|
0.46 ms (2.89%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "31DJ2eo0txQ/86jcFvMNs2d3zYWlDuy7Q5t7F3ByzfQ=" ] |
|
0.45 ms (2.87%) |
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.39 ms (2.47%) |
1 |
SELECT * FROM translations_portal_engine_frontend WHERE language = ?
Parameters:
[
"en"
]
|
|
0.38 ms (2.42%) |
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:
[ "/.s3cfg" "path" "auto_create" "/.s3cfg" "path_query" "https://portals-laticrete.byfactory.dev/.s3cfg" "entire_uri" ] |
|
0.34 ms (2.17%) |
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 "31DJ2eo0txQ/86jcFvMNs2d3zYWlDuy7Q5t7F3ByzfQ=" "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "31DJ2eo0txQ/86jcFvMNs2d3zYWlDuy7Q5t7F3ByzfQ=" ] |
|
0.31 ms (1.97%) |
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:
[ "/.s3cfg" "path" "auto_create" "/.s3cfg" "path_query" "https://portals-laticrete.byfactory.dev/.s3cfg" "entire_uri" ] |
|
0.31 ms (1.94%) |
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.30 ms (1.88%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
|
0.28 ms (1.75%) |
1 |
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[] |
|
0.27 ms (1.72%) |
1 |
SELECT * FROM properties WHERE ( (cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
10
]
|
|
0.26 ms (1.67%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.25 ms (1.61%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_staticroutes"
]
|
|
0.25 ms (1.57%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/.s3cfg' AND (siteId = 2 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.24 ms (1.53%) |
1 |
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
10
]
|
|
0.21 ms (1.31%) |
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.