Query Metrics

28 Database Queries
10 Different statements
7.81 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.16 ms
(27.70%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "b6b00530cca45dea1108a94e080f723d8403c9349e0c7c6a6eeff4b963643790"
  "XwrcxSsz+A0W1/15Rs1/1UqVxeT5A8xWi5IaV/XsVQc="
]
1.39 ms
(17.73%)
6
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/schweiz/%"
  "/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/Komatsu-WA380-8E0-a25ee962.jpg"
]
1.09 ms
(13.96%)
7
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => "Komatsu-WA380-8E0-a25ee962.jpg"
  "path" => "/schweiz/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/"
]
1.07 ms
(13.69%)
6
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/schweiz/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/Komatsu-WA380-8E0-a25ee962.jpg"
]
0.80 ms
(10.30%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "b6b00530cca45dea1108a94e080f723d8403c9349e0c7c6a6eeff4b963643790"
  "XwrcxSsz+A0W1/15Rs1/1UqVxeT5A8xWi5IaV/XsVQc="
]
0.41 ms
(5.24%)
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 = '3' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/Komatsu-WA380-8E0-a25ee962.jpg"
  "sourcePathQuery" => "/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/Komatsu-WA380-8E0-a25ee962.jpg"
  "sourceEntireUri" => "https://kuhn-ch.roromedia.at/Products/Mascus/Komatsu WA380-8E0/17572/image-thumb__17572__product-detail-slider/Komatsu-WA380-8E0-a25ee962.jpg"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.40 ms
(5.16%)
3
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "b6b00530cca45dea1108a94e080f723d8403c9349e0c7c6a6eeff4b963643790"
  "XwrcxSsz+A0W1/15Rs1/1UqVxeT5A8xWi5IaV/XsVQc="
]
0.18 ms
(2.26%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.16 ms
(2.11%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
0.15 ms
(1.86%)
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
  "XwrcxSsz+A0W1/15Rs1/1UqVxeT5A8xWi5IaV/XsVQc="
  "b6b00530cca45dea1108a94e080f723d8403c9349e0c7c6a6eeff4b963643790"
  "XwrcxSsz+A0W1/15Rs1/1UqVxeT5A8xWi5IaV/XsVQc="
]

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.