Query Metrics

33 Database Queries
23 Different statements
21.25 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
3.06 ms
(14.41%)
1
INSERT INTO lock_keys (key_id, key_token, key_expiration) VALUES (?, ?, UNIX_TIMESTAMP() + 300)
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "qLG4J7pWAWjapuwr2pXodTBjBboy3Y2fClUXkh9e4gA="
]
2.85 ms
(13.41%)
7
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
]
1.86 ms
(8.74%)
1
DELETE FROM lock_keys WHERE key_id = ? AND key_token = ?
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "qLG4J7pWAWjapuwr2pXodTBjBboy3Y2fClUXkh9e4gA="
]
1.56 ms
(7.36%)
2
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:
[
  "/"
  "path"
  "auto_create"
  "/"
  "path_query"
  "https://villafood.aleapro.com/"
  "entire_uri"
]
1.47 ms
(6.91%)
2
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
1.25 ms
(5.88%)
2
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  ""
]
0.81 ms
(3.83%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.73 ms
(3.44%)
1
SELECT t0.id AS id_1, t0.element_type AS element_type_2, t0.element_id AS element_id_3, t0.integrator AS integrator_4, t0.data AS data_5, t0.release_type AS release_type_6 FROM seo_element_meta_data t0 WHERE t0.element_type = ? AND t0.element_id = ? AND t0.release_type = ?
Parameters:
[
  "document"
  1
  "public"
]
0.67 ms
(3.16%)
2
SELECT 1 FROM lock_keys WHERE key_id = ? AND key_token = ? AND key_expiration > UNIX_TIMESTAMP()
Parameters:
[
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "qLG4J7pWAWjapuwr2pXodTBjBboy3Y2fClUXkh9e4gA="
]
0.65 ms
(3.04%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,26,3,11) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  27
]
0.59 ms
(2.76%)
1
SELECT id FROM redirects WHERE active = 1 AND regex = 1  ORDER BY `priority` DESC
Parameters:
[]
0.58 ms
(2.72%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(`path`) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.58 ms
(2.71%)
1
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  1
]
0.57 ms
(2.68%)
1
SELECT documents.*, documents_snippet.*, tree_locks.locked FROM documents
            LEFT JOIN documents_snippet ON documents.id = documents_snippet.id
            LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  27
]
0.54 ms
(2.54%)
1
SELECT * FROM sites WHERE mainDomain = ? OR domains LIKE ?
Parameters:
[
  "villafood.aleapro.com"
  "%"villafood.aleapro.com"%"
]
0.54 ms
(2.54%)
1
SELECT id FROM website_settings
Parameters:
[]
0.52 ms
(2.47%)
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
  "qLG4J7pWAWjapuwr2pXodTBjBboy3Y2fClUXkh9e4gA="
  "56077d86c930853c3d6d19af78a9d93e0618bf805082ea53d76a848b5f59d071"
  "qLG4J7pWAWjapuwr2pXodTBjBboy3Y2fClUXkh9e4gA="
]
0.49 ms
(2.32%)
1
SELECT documents.*, documents_link.*, tree_locks.locked FROM documents
            LEFT JOIN documents_link ON documents.id = documents_link.id
                LEFT JOIN tree_locks ON documents.id = tree_locks.id AND tree_locks.type = 'document'
                WHERE documents.id = ?
Parameters:
[
  11
]
0.47 ms
(2.23%)
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.47 ms
(2.20%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  27
]
0.39 ms
(1.83%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.30 ms
(1.43%)
1
SELECT id,domains FROM sites
Parameters:
[]
0.30 ms
(1.40%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  1
]

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.