Query Metrics
16
Database Queries
15
Different statements
3.58 ms
Query time
0
Invalid entities
0
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.44 ms (12.31%) |
1 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
"/"
""
]
|
|
0.34 ms (9.61%) |
1 |
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:
[
1
]
|
|
0.34 ms (9.52%) |
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 = 0) AND priority = 99 ORDER BY `priority` DESC
Parameters:
[ "/" "path" "auto_create" "/" "path_query" "https://pimcore.qubicaamf.com/" "entire_uri" ] |
|
0.33 ms (9.19%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "pimcore.qubicaamf.com" "%"pimcore.qubicaamf.com"%" ] |
|
0.25 ms (7.10%) |
1 |
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.25 ms (7.07%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP(NOW(6))
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "WvUReYpIF1LRw8Rh/flUaQc4tfDpQWg4hkidfDpl+M8=" ] |
|
0.22 ms (6.23%) |
1 |
SELECT * FROM properties WHERE ( (cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
1
]
|
|
0.22 ms (6.17%) |
1 |
SELECT id FROM sites ORDER BY (SELECT LENGTH(CONCAT(`path`, `key`)) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[] |
|
0.21 ms (5.95%) |
1 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
|
0.20 ms (5.70%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP(NOW(6)) + 300)
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "WvUReYpIF1LRw8Rh/flUaQc4tfDpQWg4hkidfDpl+M8=" ] |
|
0.17 ms (4.72%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.16 ms (4.47%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "WvUReYpIF1LRw8Rh/flUaQc4tfDpQWg4hkidfDpl+M8=" ] |
|
0.15 ms (4.16%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.15 ms (4.11%) |
1 |
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP(NOW(6)) + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP(NOW(6)))
Parameters:
[ 300.0 "WvUReYpIF1LRw8Rh/flUaQc4tfDpQWg4hkidfDpl+M8=" "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "WvUReYpIF1LRw8Rh/flUaQc4tfDpQWg4hkidfDpl+M8=" ] |
|
0.13 ms (3.69%) |
1 |
SELECT id,domains FROM sites
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 |
|---|
Entities Mapping
No loaded entities.