https://nomo.techode.pl/

Query Metrics

6 Database Queries
5 Different statements
7.77 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 2.70 ms
SELECT c.* FROM configuration c LIMIT 1
Parameters:
[]
2 1.26 ms
SELECT b.* FROM blog_post b WHERE b.active = :active LIMIT :limitNumber OFFSET :offsetNumber
Parameters:
[
  ":active" => 1
  ":limitNumber" => 3
  ":offsetNumber" => 0
]
3 1.16 ms
SELECT a.category, COUNT(a.uuid) as cnt FROM article a WHERE a.active = :active AND a.category IS NOT NULL GROUP BY a.category
Parameters:
[
  ":active" => 1
]
4 1.26 ms
SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category1 AND a.active = :active1 ORDER BY RAND() LIMIT :limit1) sub UNION SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category2 AND a.active = :active2 ORDER BY RAND() LIMIT :limit2) sub UNION SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category3 AND a.active = :active3 ORDER BY RAND() LIMIT :limit3) sub UNION SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category4 AND a.active = :active4 ORDER BY RAND() LIMIT :limit4) sub UNION SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category5 AND a.active = :active5 ORDER BY RAND() LIMIT :limit5) sub UNION SELECT sub.* FROM (SELECT a.* FROM article a WHERE a.category = :category6 AND a.active = :active6 ORDER BY RAND() LIMIT :limit6) sub
Parameters:
[
  ":category1" => "Biuro"
  ":active1" => 1
  ":limit1" => 1
  ":category2" => "Malowanie"
  ":active2" => 1
  ":limit2" => 1
  ":category3" => "Dom"
  ":active3" => 1
  ":limit3" => 1
  ":category4" => "Klatka schodowa"
  ":active4" => 1
  ":limit4" => 1
  ":category5" => "Sypialnia"
  ":active5" => 1
  ":limit5" => 1
  ":category6" => "Mieszkanie"
  ":active6" => 1
  ":limit6" => 1
]
5 1.06 ms
SELECT b.* FROM banner b WHERE b.destination_type = :type AND b.active = :active
Parameters:
[
  ":type" => "home"
  ":active" => 1
]
6 0.34 ms
SELECT c.* FROM configuration c 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.