Query Metrics

10 Database Queries
9 Different statements
346.35 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
339.16 ms
(97.92%)
1
SELECT t0.id AS id_1, t0.path AS path_2, t0.uri AS uri_3, t0.date AS date_4, t0.hits AS hits_5, t0.unique_views AS unique_views_6, t0.mime_type AS mime_type_7, t0.language_id AS language_id_8 FROM hit_counter t0 WHERE t0.path = ? AND t0.date = ? AND t0.language_id IS NULL LIMIT 1
Parameters:
[
  "/r/20"
  "2026-03-22"
]
2.22 ms
(0.64%)
1
"COMMIT"
Parameters:
[]
1.24 ms
(0.36%)
1
SELECT COUNT(n0_.id) AS sclr_0 FROM news n0_ WHERE n0_.reporter_id = ? AND n0_.status = ?
Parameters:
[
  20
  "a"
]
0.98 ms
(0.28%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.active AS active_2, c0_.slug AS slug_3, c0_.sorting_rank AS sorting_rank_4, c1_.id AS id_5, c1_.name AS name_6, c1_.active AS active_7, c1_.slug AS slug_8, c1_.sorting_rank AS sorting_rank_9, c0_.language_id AS language_id_10, c0_.parent_id AS parent_id_11, c1_.language_id AS language_id_12, c1_.parent_id AS parent_id_13 FROM category c0_ LEFT JOIN category c1_ ON c0_.id = c1_.parent_id AND (c1_.active = 1) WHERE c0_.language_id = ? AND c0_.parent_id IS NULL AND c0_.active = 1 ORDER BY c0_.sorting_rank ASC, c1_.sorting_rank ASC, c1_.name ASC
Parameters:
[
  1
]
0.81 ms
(0.24%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.iso AS iso_4, t0.color AS color_5, t0.domain AS domain_6, t0.name_in_language AS name_in_language_7, t0.writing_direction AS writing_direction_8, t0.time_zone AS time_zone_9 FROM language t0 WHERE t0.iso = ? LIMIT 1
Parameters:
[
  "pa"
]
0.60 ms
(0.17%)
1
INSERT INTO hit_counter (path, uri, date, hits, unique_views, mime_type, language_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "/r/20"
  "http://www.nazranatimes.com/r/20?lang=pa"
  "2026-03-22"
  1
  1
  "*/*"
  null
]
0.57 ms
(0.17%)
1
SELECT r0_.id AS id_0, r0_.name AS name_1, r0_.email AS email_2 FROM reporter r0_ WHERE r0_.id = ?
Parameters:
[
  20
]
0.54 ms
(0.16%)
1
SELECT COUNT(a.id)
             FROM advertisement a
             WHERE a.location = ?
               AND a.status = ?
               AND a.start_date <= ?
               AND a.end_date >= ?
Parameters:
[
  "header"
  "active"
  "2026-03-22"
  "2026-03-22"
]
0.21 ms
(0.06%)
1
"START TRANSACTION"
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.

Entities Mapping

Class Mapping errors
App\Entity\HitCounter No errors.
App\Entity\Language No errors.
App\Entity\Category No errors.
App\Entity\News No errors.
App\Entity\BrandingImage No errors.
App\Entity\Reporter No errors.
App\Entity\Advertisement No errors.