Query Metrics
29
Database Queries
12
Different statements
11.81 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
3.88 ms (32.81%) |
11 |
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:
[ 1772748140 [ "\x00tags\x00output_6817f8754a55292031b316541f02980d_phone" "output_6817f8754a55292031b316541f02980d_phone" ] ] |
|
1.43 ms (12.12%) |
1 |
INSERT INTO `assets_image_thumbnail_cache` (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (:col0, :col1, :col2, :col3, :col4, :col5, :col6) ON DUPLICATE KEY UPDATE `cid` = :col0, `name` = :col1, `filename` = :col2, `modificationDate` = :col3, `filesize` = :col4, `width` = :col5, `height` = :col6;
Parameters:
[ ":col0" => 84618 ":col1" => "thumbnail" ":col2" => "APBB_CTRS_14_3_P_072.jpg" ":col3" => 1772748141 ":col4" => 152592 ":col5" => 1000 ":col6" => 680 ] |
|
1.29 ms (10.93%) |
4 |
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[ "key" => "get-image-thumbnail" "path" => "/promemoria/api/" ] |
|
0.98 ms (8.31%) |
1 |
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[ "41081a701a087a184045186d06242859a75bb2ce13559ee11373323acc6459e8" "g+qRJevfVRYnyVX5WIW9GnU6yh2ebIiDhWllqMkqoPc=" ] |
|
0.83 ms (7.03%) |
1 |
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[ "41081a701a087a184045186d06242859a75bb2ce13559ee11373323acc6459e8" "g+qRJevfVRYnyVX5WIW9GnU6yh2ebIiDhWllqMkqoPc=" ] |
|
0.73 ms (6.20%) |
3 |
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[ "prettyUrl" => "/promemoria/api/get-image-thumbnail" ] |
|
0.59 ms (4.98%) |
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" => "/promemoria/api/get-image-thumbnail" "sourcePathQuery" => "/promemoria/api/get-image-thumbnail?id=84618-73262b94&version=thumbnail" "sourceEntireUri" => "http://ccrvenaria.archivio.com/promemoria/api/get-image-thumbnail?id=84618-73262b94&version=thumbnail" "typePath" => "path" "typePathQuery" => "path_query" "typeEntireUri" => "entire_uri" "typeAuto" => "auto_create" ] |
|
0.58 ms (4.88%) |
2 |
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[ "41081a701a087a184045186d06242859a75bb2ce13559ee11373323acc6459e8" "g+qRJevfVRYnyVX5WIW9GnU6yh2ebIiDhWllqMkqoPc=" ] |
|
0.55 ms (4.66%) |
2 |
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[ "id" => "reports" "scope" => "pimcore" ] |
|
0.33 ms (2.82%) |
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 "g+qRJevfVRYnyVX5WIW9GnU6yh2ebIiDhWllqMkqoPc=" "41081a701a087a184045186d06242859a75bb2ce13559ee11373323acc6459e8" "g+qRJevfVRYnyVX5WIW9GnU6yh2ebIiDhWllqMkqoPc=" ] |
|
0.31 ms (2.64%) |
1 |
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[] |
|
0.31 ms (2.62%) |
1 |
SELECT * FROM properties WHERE ((cid IN (1) AND inheritable = 1) OR cid = ? ) AND ctype='document'
Parameters:
[
1
]
|
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.