Query Metrics

110 Database Queries
15 Different statements
82.01 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
66.10 ms
(80.61%)
92
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1765662612
  [
    "\x00tags\x00site_domain_7142ee4507b7ffbbb13d111d49a6c468"
    "site_domain_7142ee4507b7ffbbb13d111d49a6c468"
  ]
]
3.25 ms
(3.97%)
4
SELECT id FROM documents WHERE path = BINARY :path AND `key` = BINARY :key
Parameters:
[
  "key" => ""
  "path" => "/"
]
1.75 ms
(2.13%)
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 IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/"
  "sourcePathQuery" => "/"
  "sourceEntireUri" => "https://stage-busetto-it.alea.digital/"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
1.35 ms
(1.65%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "menu"
]
1.16 ms
(1.41%)
1
SELECT *
            FROM website_settings
            WHERE name = ?
                AND (
                    siteId IS NULL
                    OR siteId = 0
                    OR siteId = ?
                )
                AND (
                    language IS NULL
                    OR language = ''
                    OR language = ?
                )
            ORDER BY CONCAT(siteId, language) DESC, siteId DESC, language DESC
Parameters:
[
  "MENU_HEADER"
  null
  null
]
1.12 ms
(1.37%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]
1.00 ms
(1.21%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.92 ms
(1.12%)
1
SELECT id,language FROM documents_translations WHERE sourceId IN(?, ?) UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  1
  1
  1
]
0.90 ms
(1.10%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  49
]
0.82 ms
(1.00%)
1
SELECT * FROM object_url_slugs WHERE slug = '/' AND siteId = 0 ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.81 ms
(0.99%)
1
SELECT o_type,o_className,o_classId FROM objects WHERE o_id = ?
Parameters:
[
  914
]
0.80 ms
(0.98%)
1
SELECT sourceId FROM documents_translations WHERE id = ?
Parameters:
[
  1
]
0.77 ms
(0.94%)
1
SELECT * FROM settings_store WHERE id = :id AND scope = :scope
Parameters:
[
  "id" => "reports"
  "scope" => "pimcore"
]
0.71 ms
(0.86%)
1
SELECT id,language FROM documents_translations WHERE sourceId = ? UNION SELECT sourceId as id,"source" FROM documents_translations WHERE id = ?
Parameters:
[
  3
  3
]
0.55 ms
(0.67%)
1
SELECT * FROM website_settings WHERE id = ?
Parameters:
[
  56
]

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.