GET https://dev.alatiimasine.com/kategorija/reflektori/

Query Metrics

19 Database Queries
6 Different statements
22.47 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

# Time Info
1 3.61 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       cache_tree, cache_tree_aim, show_eponuda
	        	FROM kategorije 
	        	WHERE category_name_seo = ? and active = 1
Parameters:
[
  "reflektori"
]
2 0.18 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_418"
]
3 8.65 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_418"
]
4 0.55 ms
SELECT k.id AS category_id, k.category_name, k.category_name_seo, k.category_name_aim, k.category_image
	        FROM kategorije k 
	        WHERE k.parent_category_id = ? and k.active = 1 and k.show_category = 1 AND k.fl_alat = 1
	        UNION ALL 
	        (SELECT c1.category_id, c2.category_name, c2.category_name_seo, c2.category_name_aim, c2.category_image
	        FROM kategorije_veze c1, kategorije c2 
	        WHERE c1.category_id = c2.id and c1.parent_category_id = ?  and c1.active = 1 and c2.show_category = 1 AND c2.fl_alat = 1) 
	        ORDER BY category_name
Parameters:
[
  418
  418
]
5 8.21 ms
INSERT INTO cache_items (item_id, item_data, item_lifetime, item_time) VALUES (?, ?, ?, ?) ON DUPLICATE KEY UPDATE item_data = VALUES(item_data), item_lifetime = VALUES(item_lifetime), item_time = VALUES(item_time)
Parameters:
[
  2 => 3600
  3 => 1780720594
  0 => "cache_tree_aim_418"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:4:{i:0;a:6:{s:2:"id";s:6:"120793";s:10:"product_id";i:120793;s:4:"name";s:36:"Reflektor za radne mašine 20W WOMAX";s:12:"product_name";s:36:"Reflektor za radne mašine 20W WOMAX";s:3:"url";s:35:"reflektor-za-radne-masine-20w-womax";s:4:"path";s:13:"/1/29/83/418/";}i:1;a:6:{s:2:"id";s:6:"116922";s:10:"product_id";i:116922;s:4:"name";s:51:"YATO prenosni reflektor 5W COB 300 LM IP 54 YT81819";s:12:"product_name";s:51:"YATO prenosni reflektor 5W COB 300 LM IP 54 YT81819";s:3:"url";s:51:"yato-prenosni-reflektor-5w-cob-300-lm-ip-54-yt81819";s:4:"path";s:13:"/1/29/83/418/";}i:2;a:6:{s:2:"id";s:6:"114923";s:10:"product_id";i:114923;s:4:"name";s:49:"Prenosni USB Led reflektor 2 x 10W Hogert HT1E430";s:12:"product_name";s:49:"Prenosni USB Led reflektor 2 x 10W Hogert HT1E430";s:3:"url";s:49:"prenosni-usb-led-reflektor-2-x-10w-hogert-ht1e430";s:4:"path";s:13:"/1/29/83/418/";}i:3;a:6:{s:2:"id";s:6:"116565";s:10:"product_id";i:116565;s:4:"name";s:53:"YATO reflektor sa stelujućim staklom  5000LM YT81811";s:12:"product_name";s:53:"YATO reflektor sa stelujućim staklom  5000LM YT81811";s:3:"url";s:51:"yato-reflektor-sa-stelujucim-staklom-5000lm-yt81811";s:4:"path";s:13:"/1/29/83/418/";}}}"
]
6 0.24 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  83
]
7 0.19 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_83"
]
8 0.16 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  29
]
9 0.11 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_29"
]
10 0.08 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  1
]
11 0.07 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_1"
]
12 0.07 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  1
]
13 0.06 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_1"
]
14 0.06 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  29
]
15 0.04 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_29"
]
16 0.05 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  1
]
17 0.04 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_1"
]
18 0.05 ms
SELECT id, category_name, category_name_seo, category_image, category_film, category_pdf, description, parent_category_id, level, 
	        	       `timestamp`, show_category, active, fl_alat, category_name_aim, meta_title, meta_description, meta_keywords, created, updated,
	        	       show_eponuda
	        	FROM kategorije 
	        	WHERE id = ? and active = 1
Parameters:
[
  1
]
19 0.04 ms
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1780720594
  "cache_tree_aim_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.

Managed Entities

default entity manager

Class Amount of managed objects

Entities Mapping

No loaded entities.