Query Metrics
25
Database Queries
17
Different statements
5.98 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
0.84 ms (14.01%) |
4 |
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[ "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle" "pimcore" ] |
0.69 ms (11.57%) |
2 |
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 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[ "/_fragment" "path" "auto_create" "/_fragment?_path=_locale=vi&_format=html&_controller=App%5CController%5CContentController%3A%3AlistBannerAction" "path_query" "https://visitphuquoc.goterest.com/_fragment?_path=_locale=vi&_format=html&_controller=App%5CController%5CContentController%3A%3AlistBannerAction" "entire_uri" ] |
0.58 ms (9.66%) |
3 |
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[ "/" "_fragment" ] |
0.55 ms (9.13%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "visitphuquoc.goterest.com" "%"visitphuquoc.goterest.com"%" ] |
0.35 ms (5.90%) |
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 ORDER BY `priority` DESC
Parameters:
[ "/_fragment" "path" "auto_create" "/_fragment?_path=_locale=vi&_format=html&_controller=App%5CController%5CContentController%3A%3AlistBannerAction" "path_query" "https://visitphuquoc.goterest.com/_fragment?_path=_locale=vi&_format=html&_controller=App%5CController%5CContentController%3A%3AlistBannerAction" "entire_uri" ] |
0.33 ms (5.48%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
0.32 ms (5.32%) |
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.31 ms (5.16%) |
2 |
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
"/_fragment"
]
|
0.30 ms (4.95%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "tMinvomxqSDN2hfr4AT6SiSoVGGtMK5SLyxL4n3nzFY=" ] |
0.27 ms (4.50%) |
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.26 ms (4.38%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "tMinvomxqSDN2hfr4AT6SiSoVGGtMK5SLyxL4n3nzFY=" ] |
0.25 ms (4.21%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "tMinvomxqSDN2hfr4AT6SiSoVGGtMK5SLyxL4n3nzFY=" ] |
0.20 ms (3.38%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_staticroutes"
]
|
0.19 ms (3.22%) |
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 "tMinvomxqSDN2hfr4AT6SiSoVGGtMK5SLyxL4n3nzFY=" "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071" "tMinvomxqSDN2hfr4AT6SiSoVGGtMK5SLyxL4n3nzFY=" ] |
0.19 ms (3.19%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/_fragment' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
0.19 ms (3.18%) |
1 |
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
"maintenance_mode"
]
|
0.17 ms (2.76%) |
1 |
SELECT id,domains FROM sites
Parameters:
[] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
pimcore | doctrine.orm.pimcore_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
No loaded entities.