Query Metrics
30
Database Queries
16
Different statements
5.86 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.14 ms (19.41%) |
8 |
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[ "key" => "detail" "path" => "/403/api/sun-hospital/hospitalnews/news/" ] |
|
0.98 ms (16.73%) |
7 |
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[ "prettyUrl" => "/403/api/sun-hospital/hospitalnews/news/detail" ] |
|
0.72 ms (12.25%) |
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.46 ms (7.83%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "ls7+gP2j8c9WYn/oPeEUugrgH57GC/xapZAdz3rD4Fs=" ] |
|
0.33 ms (5.72%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "ls7+gP2j8c9WYn/oPeEUugrgH57GC/xapZAdz3rD4Fs=" ] |
|
0.31 ms (5.26%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "ls7+gP2j8c9WYn/oPeEUugrgH57GC/xapZAdz3rD4Fs=" ] |
|
0.27 ms (4.67%) |
1 |
SELECT * FROM redirects WHERE ( (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR (source = :sourcePathQuery AND `type` = :typePathQuery) OR (source = :sourceEntireUri AND `type` = :typeEntireUri) ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[ "sourcePath" => "/403/api/sun-hospital/hospitalnews/news/detail" "sourcePathQuery" => "/403/api/sun-hospital/hospitalnews/news/detail?id=vi" "sourceEntireUri" => "http://sun-cms.ltsgroup.tech/403/api/sun-hospital/hospitalnews/news/detail?id=vi" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
|
0.26 ms (4.52%) |
1 |
SELECT * FROM redirects WHERE ( (source = :sourcePath AND (`type` = :typePath OR `type` = :typeAuto)) OR (source = :sourcePathQuery AND `type` = :typePathQuery) OR (source = :sourceEntireUri AND `type` = :typeEntireUri) ) AND active = 1 AND regex IS NULL AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL ORDER BY `priority` DESC
Parameters:
[ "sourcePath" => "/403/api/sun-hospital/hospitalnews/news/detail" "sourcePathQuery" => "/403/api/sun-hospital/hospitalnews/news/detail?id=vi" "sourceEntireUri" => "http://sun-cms.ltsgroup.tech/403/api/sun-hospital/hospitalnews/news/detail?id=vi" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
|
0.26 ms (4.47%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "sun-cms.ltsgroup.tech" "%"sun-cms.ltsgroup.tech"%" ] |
|
0.18 ms (3.09%) |
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.16 ms (2.81%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"pimcore_staticroutes"
]
|
|
0.16 ms (2.80%) |
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 "ls7+gP2j8c9WYn/oPeEUugrgH57GC/xapZAdz3rD4Fs=" "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "ls7+gP2j8c9WYn/oPeEUugrgH57GC/xapZAdz3rD4Fs=" ] |
|
0.16 ms (2.77%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.16 ms (2.75%) |
1 |
SELECT * FROM object_url_slugs WHERE slug = '/403/api/sun-hospital/hospitalnews/news/detail' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[] |
|
0.15 ms (2.54%) |
1 |
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[ "id" => "reports" "scope" => "pimcore" ] |
|
0.14 ms (2.39%) |
1 |
SELECT id,domains FROM sites
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
Entity Managers
There are no configured entity managers.
Second Level Cache
Second Level Cache is not enabled.