GET https://forumstm.saalahmed.me/

Query Metrics

8 Database Queries
7 Different statements
2.22 ms Query time
2 Invalid entities
5 Managed entities

Grouped Statements

Show all queries

Time Count Info
0.71 ms
(32.15%)
1
SELECT COUNT(*) FROM user t0
Parameters:
[]
0.55 ms
(24.71%)
2
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6 FROM user t0 WHERE t0.id = ?
Parameters:
[
  18
]
0.24 ms
(11.01%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3 FROM category t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.21 ms
(9.39%)
1
SELECT COUNT(*) FROM posts t0
Parameters:
[]
0.19 ms
(8.67%)
1
SELECT t0.id AS id_1, t0.content AS content_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.title AS title_5, t0.author_id AS author_id_6, t0.category_id AS category_id_7 FROM posts t0 ORDER BY t0.created_at DESC
Parameters:
[]
0.17 ms
(7.62%)
1
SELECT COUNT(*) FROM comment t0
Parameters:
[]
0.14 ms
(6.45%)
1
SELECT COUNT(*) FROM category t0
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Posts 2
App\Entity\User 2
App\Entity\Category 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Category
  • The association App\Entity\Category#posts refers to the owning side field App\Entity\Posts#category which does not exist.
App\Entity\Comment No errors.
App\Entity\Posts
  • The mappings App\Entity\Posts#Category and App\Entity\Category#posts are inconsistent with each other.