Query Metrics

86 Database Queries
10 Different statements
12.98 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
10.01 ms
(77.06%)
52
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1756503707
  [
    "site_domain_9854079daf1f9e27f4bea9e3ece5f626"
  ]
]
1.18 ms
(9.06%)
10
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => "zitronen-holunderblueten-torte"
  "path" => "/Mautner/de/rezept/80247/"
]
0.48 ms
(3.69%)
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:
[
  "/Mautner/%"
  "/de/rezept/80247/zitronen-holunderblueten-torte"
]
0.45 ms
(3.43%)
8
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Mautner/de/rezept/80247/zitronen-holunderblueten-torte"
]
0.40 ms
(3.06%)
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 = '3' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/de/rezept/80247/zitronen-holunderblueten-torte"
  "sourcePathQuery" => "/de/rezept/80247/zitronen-holunderblueten-torte"
  "sourceEntireUri" => "https://mautner.develey.blackbit.io/de/rezept/80247/zitronen-holunderblueten-torte"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.24 ms
(1.86%)
2
SELECT * FROM object_url_slugs WHERE slug = '/de/rezept/80247/zitronen-holunderblueten-torte' AND (siteId = 3 OR siteId = 0) ORDER BY siteId DESC LIMIT 1
Parameters:
[]
0.09 ms
(0.67%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "12"
]
0.08 ms
(0.59%)
1
SELECT * FROM documents_elements WHERE documentId = ?
Parameters:
[
  119
]
0.05 ms
(0.35%)
1
SELECT id FROM sites ORDER BY (SELECT LENGTH(path) FROM documents WHERE documents.id = sites.rootId) DESC
Parameters:
[]
0.03 ms
(0.22%)
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