1203.30 ms (76.37%)
1
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_ . content AS content_4 , n0_ . old_id AS old_id_5 FROM news n0_ LEFT JOIN news_additional_categories n2_ ON n0_ . id = n2_ . news_id LEFT JOIN category c1_ ON c1_ . id = n2_ . category_id WHERE ((n0_ . category_id = ? OR c1_ . id = ? )) AND n0_ . language_id = ? AND n0_ . status = ? GROUP BY n0_ . id , n0_ . news_id , n0_ . title , n0_ . publish_date , n0_ . content , n0_ . old_id ORDER BY n0_ . publish_date DESC , n0_ . id DESC LIMIT 10
Parameters :
[
2072
2072
2
"a "
]
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_ . content AS content_4 , n0_ . old_id AS old_id_5 FROM news n0_ LEFT JOIN news_additional_categories n2_ ON n0_ . id = n2_ . news_id LEFT JOIN category c1_ ON c1_ . id = n2_ . category_id WHERE ((n0_ . category_id = 2072 OR c1_ . id = 2072 )) AND n0_ . language_id = 2 AND n0_ . status = 'a' GROUP BY n0_ . id , n0_ . news_id , n0_ . title , n0_ . publish_date , n0_ . content , n0_ . old_id ORDER BY n0_ . publish_date DESC , n0_ . id DESC LIMIT 10 ;
Copy
148.58 ms (9.43%)
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 = ? LIMIT 1
Parameters :
[
"/en/category/2072/politics "
"2026-03-24 "
2
]
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 = '/en/category/2072/politics' AND t0 . date = '2026-03-24' AND t0 . language_id = 2 LIMIT 1 ;
Copy
116.22 ms (7.38%)
1
SELECT SUM (h0_ . hits ) AS sclr_0 , SUM (h0_ . unique_views ) AS sclr_1 FROM hit_counter h0_
SELECT SUM (h0_ . hits ) AS sclr_0 , SUM (h0_ . unique_views ) AS sclr_1 FROM hit_counter h0_ ;
Copy
86.14 ms (5.47%)
1
SELECT SUM (h0_ . hits ) AS sclr_0 , SUM (h0_ . unique_views ) AS sclr_1 FROM hit_counter h0_ WHERE h0_ . date = ?
Parameters :
[
"2026-03-24 00:00:00 "
]
SELECT SUM (h0_ . hits ) AS sclr_0 , SUM (h0_ . unique_views ) AS sclr_1 FROM hit_counter h0_ WHERE h0_ . date = '2026-03-24 00:00:00' ;
Copy
6.58 ms (0.42%)
1
SELECT COUNT (DISTINCT n0_ . id ) AS sclr_0 FROM news n0_ LEFT JOIN news_additional_categories n2_ ON n0_ . id = n2_ . news_id LEFT JOIN category c1_ ON c1_ . id = n2_ . category_id WHERE ((n0_ . category_id = ? OR c1_ . id = ? )) AND n0_ . language_id = ? AND n0_ . status = ?
Parameters :
[
2072
2072
2
"a "
]
SELECT COUNT (DISTINCT n0_ . id ) AS sclr_0 FROM news n0_ LEFT JOIN news_additional_categories n2_ ON n0_ . id = n2_ . news_id LEFT JOIN category c1_ ON c1_ . id = n2_ . category_id WHERE ((n0_ . category_id = 2072 OR c1_ . id = 2072 )) AND n0_ . language_id = 2 AND n0_ . status = 'a' ;
Copy
6.13 ms (0.39%)
10
SELECT COUNT (* ) FROM category t0 WHERE t0 . slug = ?
Parameters :
[
"technology "
]
SELECT COUNT (* ) FROM category t0 WHERE t0 . slug = 'technology' ;
Copy
1.70 ms (0.11%)
3
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
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 = 'en' LIMIT 1 ;
Copy
1.60 ms (0.10%)
3
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-24 "
"2026-03-24 "
]
SELECT COUNT (a . id )
FROM advertisement a
WHERE a . location = 'sidebar'
AND a . status = 'active'
AND a . start_date < = '2026-03-24'
AND a . end_date > = '2026-03-24' ;
Copy
1.21 ms (0.08%)
1
UPDATE hit_counter SET uri = ? , hits = ? , unique_views = ? , mime_type = ? WHERE id = ?
Parameters :
[
"http://nazranatimes.com/public/en/category/2072/politics "
5
5
"*/* "
258029
]
UPDATE hit_counter SET uri = 'http://nazranatimes.com/public/en/category/2072/politics' , hits = 5 , unique_views = 5 , mime_type = '*/*' WHERE id = 258029 ;
Copy
0.98 ms (0.06%)
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
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 = 2 AND c0_ . parent_id IS NULL AND c0_ . active = 1 ORDER BY c0_ . sorting_rank ASC , c1_ . sorting_rank ASC , c1_ . name ASC ;
Copy
0.72 ms (0.05%)
1
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . slug AS slug_2 FROM category c0_ WHERE c0_ . id = ? AND c0_ . language_id = ?
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . slug AS slug_2 FROM category c0_ WHERE c0_ . id = 2072 AND c0_ . language_id = 2 ;
Copy
0.70 ms (0.04%)
1
SELECT i0_ . news_id AS sclr_0 , MAX (i0_ . id ) AS sclr_1 FROM image_store i0_ WHERE i0_ . is_primary = ? AND i0_ . news_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) GROUP BY i0_ . news_id
Parameters :
[
1
45089
45085
45079
45072
45055
45054
45053
45029
45026
45021
]
SELECT i0_ . news_id AS sclr_0 , MAX (i0_ . id ) AS sclr_1 FROM image_store i0_ WHERE i0_ . is_primary = 1 AND i0_ . news_id IN (45089 , 45085 , 45079 , 45072 , 45055 , 45054 , 45053 , 45029 , 45026 , 45021 ) GROUP BY i0_ . news_id ;
Copy
0.69 ms (0.04%)
1
"COMMIT"
0.45 ms (0.03%)
1
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-24 "
"2026-03-24 "
1
]
SELECT a . id , a . location , a . banner_size , a . url
FROM advertisement a
WHERE a . location = 'sidebar'
AND a . status = 'active'
AND a . start_date < = '2026-03-24'
AND a . end_date > = '2026-03-24'
ORDER BY a . id ASC
LIMIT 1 OFFSET 1 ;
Copy
0.43 ms (0.03%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . value AS value_3 , t0 . type AS type_4 , t0 . options AS options_5 , t0 . dev AS dev_6 FROM setting t0
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . value AS value_3 , t0 . type AS type_4 , t0 . options AS options_5 , t0 . dev AS dev_6 FROM setting t0 ;
Copy
0.20 ms (0.01%)
1
"START TRANSACTION"
"START TRANSACTION" ;
Copy