https://develey.develey.blackbit.io/api/sql/log.ts

Query Metrics

24 Database Queries
7 Different statements
8.85 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
5.31 ms
(60.03%)
5
SELECT id FROM documents WHERE path = :path AND `key` = :key
Parameters:
[
  "key" => "log.ts"
  "path" => "/Corporate/api/sql/"
]
1.85 ms
(20.88%)
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 = '8' ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/api/sql/log.ts"
  "sourcePathQuery" => "/api/sql/log.ts"
  "sourceEntireUri" => "https://develey.develey.blackbit.io/api/sql/log.ts"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.50 ms
(5.67%)
8
SELECT id, 
          (CASE WHEN expire IS NULL OR expire > ? THEN data ELSE NULL END) as data
            FROM cache WHERE id IN (?)
Parameters:
[
  1755153889
  [
    "site_domain_33aaeaf92f57ee3899ecd0001746d2b5"
  ]
]
0.43 ms
(4.91%)
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 = '8' AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "sourcePath" => "/api/sql/log.ts"
  "sourcePathQuery" => "/api/sql/log.ts"
  "sourceEntireUri" => "https://develey.develey.blackbit.io/api/sql/log.ts"
  "typePath" => "path"
  "typePathQuery" => "path_query"
  "typeEntireUri" => "entire_uri"
  "typeAuto" => "auto_create"
]
0.30 ms
(3.40%)
4
SELECT id FROM documents_page WHERE prettyUrl = :prettyUrl
Parameters:
[
  "prettyUrl" => "/Corporate/api/sql/log.ts"
]
0.27 ms
(3.08%)
4
SELECT documents.id FROM documents
            LEFT JOIN documents_page ON documents.id = documents_page.id
            WHERE documents.path LIKE ? AND documents_page.prettyUrl = ?
Parameters:
[
  "/Corporate/%"
  "/api/sql/log.ts"
]
0.18 ms
(2.02%)
1
SELECT * FROM object_url_slugs WHERE slug = '/api/sql/log.ts' AND (siteId = 8 OR siteId = 0) ORDER BY siteId DESC 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