Query Metrics

4 Database Queries
4 Different statements
3.01 ms Query time
0 Invalid entities
6 Managed entities

Queries

Group similar statements

# Time Info
1 1.08 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.is_active AS is_active_3, t0.date AS date_4, t0.title AS title_5, t0.abstract AS abstract_6, t0.priority AS priority_7, t0.news_category_id AS news_category_id_8 FROM dia_news t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "case-vacanza-acquistare-per-affittare-e-ancora-un-buon-investimento"
]
2 0.78 ms
SELECT d0_.id AS id_0, d0_.slug AS slug_1, d0_.is_active AS is_active_2, d0_.date AS date_3, d0_.title AS title_4, d0_.abstract AS abstract_5, d0_.priority AS priority_6, d0_.news_category_id AS news_category_id_7 FROM dia_news d0_ WHERE d0_.date < ? AND d0_.is_active = 1 ORDER BY d0_.date DESC LIMIT 1
Parameters:
[
  "2025-05-08 00:00:00"
]
3 0.49 ms
SELECT d0_.id AS id_0, d0_.slug AS slug_1, d0_.is_active AS is_active_2, d0_.date AS date_3, d0_.title AS title_4, d0_.abstract AS abstract_5, d0_.priority AS priority_6, d0_.news_category_id AS news_category_id_7 FROM dia_news d0_ WHERE d0_.date > ? AND d0_.is_active = 1 ORDER BY d0_.date ASC LIMIT 1
Parameters:
[
  "2025-05-08 00:00:00"
]
4 0.65 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title AS title_3 FROM dia_news_category t0 WHERE t0.id = ?
Parameters:
[
  "3"
]

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\News 3
App\Entity\NewsCategory 3

Entities Mapping

Class Mapping errors
App\Entity\News No errors.
App\Entity\NewsCategory No errors.