GET http://www.nazranatimes.com/pa/news-cg12iw6?print=yes

Query Metrics

15 Database Queries
12 Different statements
5700.41 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.74 ms
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"
]
2 450.07 ms
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 = ? LIMIT 1
Parameters:
[
  "/pa/news-cg12iw6"
  "2026-03-22"
  1
]
3 0.26 ms
"START TRANSACTION"
Parameters:
[]
4 0.76 ms
INSERT INTO hit_counter (path, uri, date, hits, unique_views, mime_type, language_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "/pa/news-cg12iw6"
  "http://www.nazranatimes.com/pa/news-cg12iw6?print=yes"
  "2026-03-22"
  1
  1
  "*/*"
  1
]
5 0.70 ms
"COMMIT"
Parameters:
[]
6 0.48 ms
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"
]
7 5119.90 ms
SELECT n0_.id AS id_0, n0_.news_id AS news_id_1, n0_.title AS title_2, n0_.publish_date AS publish_date_3, n0_.old_id AS old_id_4, n0_.meta_title AS meta_title_5, n0_.meta_description AS meta_description_6, n0_.content AS content_7, n0_.meta_keywords AS meta_keywords_8, c1_.name AS name_9, c1_.id AS id_10, n0_.youtube_url AS youtube_url_11, n0_.youtube_url_second AS youtube_url_second_12, r2_.id AS id_13, r2_.name AS name_14, l3_.iso AS iso_15, n0_.comment_status AS comment_status_16, n0_.disclaimer AS disclaimer_17, a4_.id AS id_18, a4_.name AS name_19, a4_.email AS email_20, a4_.mobile AS mobile_21, n0_.fact_box AS fact_box_22, n0_.fact_box_size AS fact_box_size_23, n0_.fact_box_placement AS fact_box_placement_24, n0_.updated_at AS updated_at_25, n0_.last_update_key AS last_update_key_26 FROM news n0_ LEFT JOIN reporter r2_ ON n0_.reporter_id = r2_.id INNER JOIN category c1_ ON n0_.category_id = c1_.id INNER JOIN language l3_ ON n0_.language_id = l3_.id LEFT JOIN author a4_ ON n0_.author_id = a4_.id WHERE n0_.news_id = ? AND n0_.language_id = ? AND n0_.status = ?
Parameters:
[
  "cg12iw6"
  1
  "a"
]
8 1.52 ms
SELECT i0_.id AS id_0, i0_.image_size AS image_size_1, i0_.file_name AS file_name_2 FROM image_store i0_ WHERE i0_.news_id = ? AND i0_.is_primary = ? ORDER BY i0_.id DESC LIMIT 1
Parameters:
[
  41091
  1
]
9 55.88 ms
SELECT n0_.id AS id_0, n0_.news_id AS news_id_1, n0_.title AS title_2, n0_.publish_date AS publish_date_3, MAX(i1_.id) AS sclr_4 FROM news n0_ LEFT JOIN image_store i1_ ON n0_.id = i1_.news_id AND (i1_.is_primary = ?) WHERE n0_.language_id = ? AND n0_.status = ? AND n0_.id <> ? AND ((n0_.publish_date < ? OR (n0_.publish_date = ? AND n0_.id < ?))) GROUP BY n0_.id, n0_.news_id, n0_.title, n0_.publish_date ORDER BY n0_.publish_date DESC, n0_.id DESC LIMIT 1
Parameters:
[
  1
  1
  "a"
  41091
  "2025-02-11 11:30:00"
  "2025-02-11 11:30:00"
  41091
]
10 56.44 ms
SELECT n0_.id AS id_0, n0_.news_id AS news_id_1, n0_.title AS title_2, n0_.publish_date AS publish_date_3, MAX(i1_.id) AS sclr_4 FROM news n0_ LEFT JOIN image_store i1_ ON n0_.id = i1_.news_id AND (i1_.is_primary = ?) WHERE n0_.language_id = ? AND n0_.status = ? AND n0_.id <> ? AND ((n0_.publish_date > ? OR (n0_.publish_date = ? AND n0_.id > ?))) GROUP BY n0_.id, n0_.news_id, n0_.title, n0_.publish_date ORDER BY n0_.publish_date ASC, n0_.id ASC LIMIT 1
Parameters:
[
  1
  1
  "a"
  41091
  "2025-02-11 11:30:00"
  "2025-02-11 11:30:00"
  41091
]
11 12.00 ms
SELECT n0_.id AS id_0, n0_.news_id AS news_id_1, n0_.title AS title_2, n0_.publish_date AS publish_date_3, MAX(i1_.id) AS sclr_4 FROM news n0_ INNER JOIN image_store i1_ ON n0_.id = i1_.news_id AND (i1_.is_primary = ?) WHERE n0_.language_id = ? AND n0_.category_id = ? AND n0_.status = ? AND n0_.id <> ? AND n0_.id NOT IN (?, ?) GROUP BY n0_.id, n0_.news_id, n0_.title, n0_.publish_date ORDER BY n0_.publish_date DESC, n0_.id DESC LIMIT 3
Parameters:
[
  1
  1
  1044
  "a"
  41091
  41090
  41092
]
12 0.50 ms
SELECT COUNT(a.id)
             FROM advertisement a
             WHERE a.location = ?
               AND a.status = ?
               AND a.start_date <= ?
               AND a.end_date >= ?
Parameters:
[
  "under_news"
  "active"
  "2026-03-22"
  "2026-03-22"
]
13 0.40 ms
SELECT a.id, a.location, a.banner_size, a.url
             FROM advertisement a
             WHERE a.location = ?
               AND a.status = ?
               AND a.start_date <= ?
               AND a.end_date >= ?
             ORDER BY a.id ASC
             LIMIT 1 OFFSET ?
Parameters:
[
  "under_news"
  "active"
  "2026-03-22"
  "2026-03-22"
  1
]
14 0.36 ms
SELECT COUNT(a.id)
             FROM advertisement a
             WHERE a.location = ?
               AND a.status = ?
               AND a.start_date <= ?
               AND a.end_date >= ?
Parameters:
[
  "sidebar"
  "active"
  "2026-03-22"
  "2026-03-22"
]
15 0.38 ms
SELECT a.id, a.location, a.banner_size, a.url
             FROM advertisement a
             WHERE a.location = ?
               AND a.status = ?
               AND a.start_date <= ?
               AND a.end_date >= ?
             ORDER BY a.id ASC
             LIMIT 1 OFFSET ?
Parameters:
[
  "sidebar"
  "active"
  "2026-03-22"
  "2026-03-22"
  1
]

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\Language No errors.
App\Entity\Category No errors.
App\Entity\News No errors.
App\Entity\BrandingImage No errors.
App\Entity\HitCounter No errors.
App\Entity\Reporter No errors.
App\Entity\Author No errors.
App\Entity\ImageStore No errors.
App\Entity\Advertisement No errors.