Query Metrics

35 Database Queries
20 Different statements
29.75 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.09 ms
(17.10%)
2
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
4.73 ms
(15.89%)
1
SHOW COLUMNS FROM assets_image_thumbnail_cache
Parameters:
[]
4.54 ms
(15.27%)
2
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
2.71 ms
(9.10%)
1
INSERT INTO assets_image_thumbnail_cache (`cid`, `name`, `filename`, `modificationDate`, `filesize`, `width`, `height`) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  66
  "brick-image-square-regular"
  "cucina.b86c2a5e.jpg"
  1735180843
  133523
  768
  768
]
1.78 ms
(5.97%)
5
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/"
  "cucina.b86c2a5e.jpg"
]
1.51 ms
(5.08%)
4
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
1.23 ms
(4.13%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "villafood.aleapro.com"
  "%"villafood.aleapro.com"%"
]
1.09 ms
(3.65%)
4
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/cucina.b86c2a5e.jpg"
]
0.91 ms
(3.07%)
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 AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/cucina.b86c2a5e.jpg"
  "path"
  "auto_create"
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/cucina.b86c2a5e.jpg"
  "path_query"
  "https://villafood.aleapro.com/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/cucina.b86c2a5e.jpg"
  "entire_uri"
]
0.86 ms
(2.88%)
2
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  66
]
0.79 ms
(2.67%)
1
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  66
]
0.75 ms
(2.52%)
2
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
0.70 ms
(2.34%)
1
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
0.61 ms
(2.06%)
2
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  66
]
0.49 ms
(1.66%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  1
]
0.42 ms
(1.41%)
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.42 ms
(1.40%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.41 ms
(1.39%)
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.36 ms
(1.22%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.36 ms
(1.21%)
1
SELECT id,domains FROM sites
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
SeoBundle\Model\ElementMetaData No errors.