Query Metrics
31
Database Queries
18
Different statements
42.85 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.05 ms (16.46%) |
7 |
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[ 1776297739 [ "\x00tags\x00site_domain_31ec5186cc3e2316c79c051aa13c90ab" "site_domain_31ec5186cc3e2316c79c051aa13c90ab" ] ] |
|
4.48 ms (10.46%) |
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" => "/robots.txt" "sourcePathQuery" => "/robots.txt" "sourceEntireUri" => "https://preventivi.friedbrains.it/robots.txt" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
|
4.05 ms (9.44%) |
1 |
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[ "preventivi.friedbrains.it" "%"preventivi.friedbrains.it"%" ] |
|
4.01 ms (9.35%) |
2 |
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[ "key" => "robots.txt" "path" => "/" ] |
|
3.71 ms (8.66%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "dJwhphL4wf+dKAl/70SZRXdbS/eEcdXcTPAUNUAAm68=" ] |
|
3.43 ms (8.01%) |
1 |
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[] |
|
3.24 ms (7.56%) |
6 |
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[ 1 => null 2 => null 3 => 31536000 4 => 1776297739 ] |
|
2.77 ms (6.46%) |
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
]
|
|
2.35 ms (5.48%) |
1 |
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[ "prettyUrl" => "/robots.txt" ] |
|
2.29 ms (5.35%) |
1 |
SELECT * FROM properties WHERE ((cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
1
]
|
|
2.15 ms (5.01%) |
1 |
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[ "id" => "reports" "scope" => "pimcore" ] |
|
0.64 ms (1.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.63 ms (1.47%) |
1 |
SELECT id FROM settings_store WHERE scope = ?
Parameters:
[
"robots.txt"
]
|
|
0.60 ms (1.40%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "dJwhphL4wf+dKAl/70SZRXdbS/eEcdXcTPAUNUAAm68=" ] |
|
0.49 ms (1.14%) |
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 "dJwhphL4wf+dKAl/70SZRXdbS/eEcdXcTPAUNUAAm68=" "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "dJwhphL4wf+dKAl/70SZRXdbS/eEcdXcTPAUNUAAm68=" ] |
|
0.49 ms (1.13%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "8af919885c2e7d00208f20a73f7e59633bfda4068dbf95b87e58f8120e60fd64" "dJwhphL4wf+dKAl/70SZRXdbS/eEcdXcTPAUNUAAm68=" ] |
|
0.31 ms (0.71%) |
1 |
SELECT id FROM redirects WHERE active = 1 AND regex = 1 ORDER BY `priority` DESC
Parameters:
[] |
|
0.17 ms (0.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.