Query Metrics

72 Database Queries
10 Different statements
43.32 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
17.99 ms
(41.54%)
38
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1775357712
  [
    "site_domain_2ec09e95f297b5160ca60c692961385d"
  ]
]
8.08 ms
(18.66%)
10
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => "tomaten-salat"
  "path" => "/Bautzner/de/rezept/142496/"
]
4.86 ms
(11.22%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
4.20 ms
(9.71%)
8
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/Bautzner/%"
  "/de/rezept/142496/tomaten-salat"
]
3.30 ms
(7.63%)
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 = '11' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/rezept/142496/tomaten-salat"
  "sourcePathQuery" => "/de/rezept/142496/tomaten-salat"
  "sourceEntireUri" => "https://bautzner.develey.blackbit.io/de/rezept/142496/tomaten-salat"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
2.40 ms
(5.53%)
8
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Bautzner/de/rezept/142496/tomaten-salat"
]
1.89 ms
(4.37%)
2
SELECT * FROM object_url_slugs WHERE slug = '/de/rezept/142496/tomaten-salat' AND (siteId = 11 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.41 ms
(0.95%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "12"
]
0.12 ms
(0.29%)
1
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  667
]
0.04 ms
(0.10%)
1
SELECT id FROM targeting_target_groups UNION SELECT id FROM targeting_rules LIMIT 1
Parameters:
[]

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.

Entities Mapping