Query Metrics

27 Database Queries
13 Different statements
16.88 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.44 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/intranet/"
  "send-password-recovery"
]
2 0.42 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  146
]
3 0.45 ms
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
4 0.81 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:
[
  "/intranet/send-password-recovery"
  "path"
  "auto_create"
  "/intranet/send-password-recovery"
  "path_query"
  "https://montafon-staging.conecto.rocks/intranet/send-password-recovery"
  "entire_uri"
]
5 0.25 ms
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
6 0.53 ms
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,143) AND inheritable = 1) OR cid = ?
                             ) AND ctype='document'
Parameters:
[
  146
]
7 0.66 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  146
]
8 0.74 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  146
  146
  146
]
9 0.44 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  "de"
]
10 0.46 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  "en"
]
11 0.41 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/"
  "nl"
]
12 0.89 ms
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,3) AND inheritable = 1) OR cid = ? )
                                 AND ctype='asset'
Parameters:
[
  4
]
13 0.49 ms
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4
]
14 0.67 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
15 0.78 ms
SELECT * FROM translations_messages LIMIT 1;
Parameters:
[]
16 1.83 ms
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  4
]
17 0.91 ms
SELECT * FROM assets_image_thumbnail_cache WHERE cid = ?
Parameters:
[
  4
]
18 1.00 ms
SELECT * FROM properties WHERE
                             (
                                 (cid IN (1,3) AND inheritable = 1) OR cid = ? )
                                 AND ctype='asset'
Parameters:
[
  4
]
19 0.76 ms
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  146
]
20 0.79 ms
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  146
  146
  146
]
21 0.39 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  1
]
22 0.49 ms
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/en/snippets/"
  "footer"
]
23 0.36 ms
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "BUNDLE_INSTALLED__Pimcore\Bundle\SeoBundle\PimcoreSeoBundle"
  "pimcore"
]
24 0.61 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:
[
  "/_fragment"
  "path"
  "auto_create"
  "/_fragment?_path=_locale=en&_format=html&_controller=CONECTO%5CProviderBundle%5CController%5CDocumentController%3A%3AfooterSnippetAction"
  "path_query"
  "https://montafon-staging.conecto.rocks/_fragment?_path=_locale=en&_format=html&_controller=CONECTO%5CProviderBundle%5CController%5CDocumentController%3A%3AfooterSnippetAction"
  "entire_uri"
]
25 0.40 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  23
]
26 0.46 ms
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  7
]
27 0.43 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:
[
  2521
]

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