Query Metrics

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

Queries

Group similar statements

# Time Info
1 1.23 ms
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "villafood.aleapro.com"
  "%"villafood.aleapro.com"%"
]
2 0.36 ms
SELECT id,domains FROM sites
Parameters:
[]
3 0.70 ms
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4 0.91 ms
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"
]
5 2.76 ms
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
6 0.44 ms
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="
]
7 0.41 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
8 0.42 ms
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
9 2.87 ms
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
10 0.30 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "7NHKTE2XCLm2YdObpZodWA8E5RiMJ2xHD2jT7DzCDz8="
]
11 0.36 ms
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
12 0.51 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/"
  "cucina.b86c2a5e.jpg"
]
13 0.35 ms
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular/cucina.b86c2a5e.jpg"
]
14 0.29 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/qualita_certificazioni/66/"
  "image-thumb__66__brick-image-square-regular"
]
15 0.27 ms
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/qualita_certificazioni/66/image-thumb__66__brick-image-square-regular"
]
16 0.39 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/qualita_certificazioni/"
  "66"
]
17 0.24 ms
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/qualita_certificazioni/66"
]
18 0.29 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  "qualita_certificazioni"
]
19 0.22 ms
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/qualita_certificazioni"
]
20 0.30 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  ""
]
21 0.42 ms
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
]
22 0.41 ms
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
]
23 0.49 ms
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  1
]
24 0.51 ms
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
]
25 0.33 ms
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  66
]
26 0.34 ms
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
]
27 0.29 ms
SELECT * FROM assets_metadata WHERE cid = ?
Parameters:
[
  66
]
28 1.78 ms
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "76021a205176dd8c4c0dfde0e318d0b7cd6bcde9ca3d4b5be3f387b65cd6cb2b"
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
]
29 0.31 ms
UPDATE lock_keys SET key_expiration = UNIX_TIMESTAMP() + ?, key_token = ? WHERE key_id = ? AND (key_token = ? OR key_expiration <= UNIX_TIMESTAMP())
Parameters:
[
  300.0
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
  "76021a205176dd8c4c0dfde0e318d0b7cd6bcde9ca3d4b5be3f387b65cd6cb2b"
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
]
30 0.28 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "76021a205176dd8c4c0dfde0e318d0b7cd6bcde9ca3d4b5be3f387b65cd6cb2b"
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
]
31 4.73 ms
SHOW COLUMNS FROM assets_image_thumbnail_cache
Parameters:
[]
32 2.71 ms
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
]
33 2.22 ms
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "76021a205176dd8c4c0dfde0e318d0b7cd6bcde9ca3d4b5be3f387b65cd6cb2b"
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
]
34 0.52 ms
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "76021a205176dd8c4c0dfde0e318d0b7cd6bcde9ca3d4b5be3f387b65cd6cb2b"
  "+gl68ccBLw0vcGgFER3RD5aqkwwHRvoGJ78l3LlXgVo="
]
35 0.79 ms
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  66
]

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.