Query Metrics

27 Database Queries
7 Different statements
38.85 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

#▲ Time Info
1 1.37 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:
[
  "galanterija-poklon-setovi"
]
2 0.12 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:
[
  1790347859
  "cache_tree_oidl_1251"
]
3 10.97 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1790347859
  "cache_tree_oidl_1251"
]
4 0.19 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  1251
  1251
]
5 7.99 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 => 1790347859
  0 => "cache_tree_oidl_1251"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"105267";s:10:"product_id";i:105267;s:4:"name";s:41:"Reichenbach RB 512-279 ženski ručni sat";s:12:"product_name";s:41:"Reichenbach RB 512-279 ženski ručni sat";s:3:"url";s:39:"reichenbach-rb-512-279-zenski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:1;a:6:{s:2:"id";s:6:"105375";s:10:"product_id";i:105375;s:4:"name";s:34:"Reichenbach RB 503-118 ženski sat";s:12:"product_name";s:34:"Reichenbach RB 503-118 ženski sat";s:3:"url";s:33:"reichenbach-rb-503-118-zenski-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:2;a:6:{s:2:"id";s:6:"105376";s:10:"product_id";i:105376;s:4:"name";s:36:"Reichenbach RB 503-110 B ženski sat";s:12:"product_name";s:36:"Reichenbach RB 503-110 B ženski sat";s:3:"url";s:35:"reichenbach-rb-503-110-b-zenski-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:3;a:6:{s:2:"id";s:6:"105264";s:10:"product_id";i:105264;s:4:"name";s:37:"Reichenbach 304-622 muški ručni sat";s:12:"product_name";s:37:"Reichenbach 304-622 muški ručni sat";s:3:"url";s:35:"reichenbach-304-622-muski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:4;a:6:{s:2:"id";s:6:"105296";s:10:"product_id";i:105296;s:4:"name";s:37:"Reichenbach 304-322 muški ručni sat";s:12:"product_name";s:37:"Reichenbach 304-322 muški ručni sat";s:3:"url";s:35:"reichenbach-304-322-muski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}}}"
]
6 0.11 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:
[
  210
]
7 0.05 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:
[
  1790347859
  "cache_tree_oidl_210"
]
8 7.94 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1790347859
  "cache_tree_oidl_210"
]
9 0.23 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  210
  210
]
10 0.13 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  1251
  1251
]
11 0.31 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  641
  641
]
12 0.26 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  642
  642
]
13 0.21 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
	        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) 
	        ORDER BY category_name
Parameters:
[
  1417
  1417
]
14 8.31 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 => 1790347859
  0 => "cache_tree_oidl_210"
  1 => "a:2:{s:13:"subCategories";a:4:{i:0;a:7:{s:11:"category_id";i:1251;s:13:"category_name";s:25:"Galanterija poklon setovi";s:17:"category_name_seo";s:25:"galanterija-poklon-setovi";s:17:"category_name_aim";s:25:"Galanterija poklon setovi";s:14:"category_image";s:19:"1251-1414749857.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"105267";s:10:"product_id";i:105267;s:4:"name";s:41:"Reichenbach RB 512-279 ženski ručni sat";s:12:"product_name";s:41:"Reichenbach RB 512-279 ženski ručni sat";s:3:"url";s:39:"reichenbach-rb-512-279-zenski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:1;a:6:{s:2:"id";s:6:"105375";s:10:"product_id";i:105375;s:4:"name";s:34:"Reichenbach RB 503-118 ženski sat";s:12:"product_name";s:34:"Reichenbach RB 503-118 ženski sat";s:3:"url";s:33:"reichenbach-rb-503-118-zenski-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:2;a:6:{s:2:"id";s:6:"105376";s:10:"product_id";i:105376;s:4:"name";s:36:"Reichenbach RB 503-110 B ženski sat";s:12:"product_name";s:36:"Reichenbach RB 503-110 B ženski sat";s:3:"url";s:35:"reichenbach-rb-503-110-b-zenski-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:3;a:6:{s:2:"id";s:6:"105264";s:10:"product_id";i:105264;s:4:"name";s:37:"Reichenbach 304-622 muški ručni sat";s:12:"product_name";s:37:"Reichenbach 304-622 muški ručni sat";s:3:"url";s:35:"reichenbach-304-622-muski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}i:4;a:6:{s:2:"id";s:6:"105296";s:10:"product_id";i:105296;s:4:"name";s:37:"Reichenbach 304-322 muški ručni sat";s:12:"product_name";s:37:"Reichenbach 304-322 muški ručni sat";s:3:"url";s:35:"reichenbach-304-322-muski-rucni-sat";s:4:"path";s:16:"/1/173/210/1251/";}}}i:1;a:7:{s:11:"category_id";i:641;s:13:"category_name";s:8:"Kaiševi";s:17:"category_name_seo";s:7:"kaisevi";s:17:"category_name_aim";s:8:"Kaiševi";s:14:"category_image";s:18:"641-1671975842.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:5:"72630";s:10:"product_id";i:72630;s:4:"name";s:31:"Kaiš ''Mack'', 125cm MD 406736";s:12:"product_name";s:31:"Kaiš ''Mack'', 125cm MD 406736";s:3:"url";s:25:"kais-mack-125cm-md-406736";s:4:"path";s:15:"/1/173/210/641/";}i:1;a:6:{s:2:"id";s:5:"72666";s:10:"product_id";i:72666;s:4:"name";s:30:"Kaiš ''Mack'' 120cm MD 406735";s:12:"product_name";s:30:"Kaiš ''Mack'' 120cm MD 406735";s:3:"url";s:25:"kais-mack-120cm-md-406735";s:4:"path";s:15:"/1/173/210/641/";}i:2;a:6:{s:2:"id";s:5:"72667";s:10:"product_id";i:72667;s:4:"name";s:30:"Kaiš ''Mack'' 115cm MD 406734";s:12:"product_name";s:30:"Kaiš ''Mack'' 115cm MD 406734";s:3:"url";s:25:"kais-mack-115cm-md-406734";s:4:"path";s:15:"/1/173/210/641/";}i:3;a:6:{s:2:"id";s:5:"72668";s:10:"product_id";i:72668;s:4:"name";s:32:"Kaiš ''Carson'' 125cm MD 406733";s:12:"product_name";s:32:"Kaiš ''Carson'' 125cm MD 406733";s:3:"url";s:27:"kais-carson-125cm-md-406733";s:4:"path";s:15:"/1/173/210/641/";}i:4;a:6:{s:2:"id";s:5:"72669";s:10:"product_id";i:72669;s:4:"name";s:32:"Kaiš ''Carson'' 120cm MD 406732";s:12:"product_name";s:32:"Kaiš ''Carson'' 120cm MD 406732";s:3:"url";s:27:"kais-carson-120cm-md-406732";s:4:"path";s:15:"/1/173/210/641/";}}}i:2;a:7:{s:11:"category_id";i:642;s:13:"category_name";s:10:"Novčanici";s:17:"category_name_seo";s:9:"novcanici";s:17:"category_name_aim";s:10:"Novčanici";s:14:"category_image";s:18:"642-1303287327.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"118536";s:10:"product_id";i:118536;s:4:"name";s:97:"Novčanik eko-koža ženski manji 1kopča Pierre Cardin 1241miss12 pastelno plavi (blu) 000022225";s:12:"product_name";s:97:"Novčanik eko-koža ženski manji 1kopča Pierre Cardin 1241miss12 pastelno plavi (blu) 000022225";s:3:"url";s:90:"novcanik-eko-koza-zenski-manji-1kopca-pierre-cardin-1241mis12-pastelno-plavi-blu-000022225";s:4:"path";s:15:"/1/173/210/642/";}i:1;a:6:{s:2:"id";s:6:"118533";s:10:"product_id";i:118533;s:4:"name";s:76:"Novčanik veći sa kopčom i zipom Dancing On Air Gorjuss 1115GJ03 000019140";s:12:"product_name";s:76:"Novčanik veći sa kopčom i zipom Dancing On Air Gorjuss 1115GJ03 000019140";s:3:"url";s:72:"novcanik-veci-sa-kopcom-i-zipom-dancing-on-air-gorjus-1115gj03-000019140";s:4:"path";s:15:"/1/173/210/642/";}i:2;a:6:{s:2:"id";s:6:"118414";s:10:"product_id";i:118414;s:4:"name";s:55:"Novčanik kožni muški Pierre Cardin 8806TILAK139 crni";s:12:"product_name";s:55:"Novčanik kožni muški Pierre Cardin 8806TILAK139 crni";s:3:"url";s:52:"novcanik-kozni-muski-pierre-cardin-8806tilak139-crni";s:4:"path";s:15:"/1/173/210/642/";}i:3;a:6:{s:2:"id";s:6:"118507";s:10:"product_id";i:118507;s:4:"name";s:62:"Novčanik kožni muški Pierre Cardin 8806BIS02 crni 000020907";s:12:"product_name";s:62:"Novčanik kožni muški Pierre Cardin 8806BIS02 crni 000020907";s:3:"url";s:59:"novcanik-kozni-muski-pierre-cardin-8806bis02-crni-000020907";s:4:"path";s:15:"/1/173/210/642/";}i:4;a:6:{s:2:"id";s:6:"118514";s:10:"product_id";i:118514;s:4:"name";s:71:"Novčanik kožni muški Pierre Cardin 8806TILAK142 crno-plavi 000022187";s:12:"product_name";s:71:"Novčanik kožni muški Pierre Cardin 8806TILAK142 crno-plavi 000022187";s:3:"url";s:68:"novcanik-kozni-muski-pierre-cardin-8806tilak142-crno-plavi-000022187";s:4:"path";s:15:"/1/173/210/642/";}}}i:3;a:7:{s:11:"category_id";i:1417;s:13:"category_name";s:9:"Upaljači";s:17:"category_name_seo";s:8:"upaljaci";s:17:"category_name_aim";s:9:"Upaljači";s:14:"category_image";s:19:"1417-1632832896.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:2:{i:0;a:6:{s:2:"id";s:5:"83722";s:10:"product_id";i:83722;s:4:"name";s:63:"Metalni USB punjivi elektro upaljač u poklon kutiji crni Avant";s:12:"product_name";s:63:"Metalni USB punjivi elektro upaljač u poklon kutiji crni Avant";s:3:"url";s:62:"metalni-usb-punjivi-elektro-upaljac-u-poklon-kutiji-crni-avant";s:4:"path";s:16:"/1/173/210/1417/";}i:1;a:6:{s:2:"id";s:5:"83723";s:10:"product_id";i:83723;s:4:"name";s:63:"Metalni USB punjivi elektro upaljač u poklon kutiji beli Avant";s:12:"product_name";s:63:"Metalni USB punjivi elektro upaljač u poklon kutiji beli Avant";s:3:"url";s:62:"metalni-usb-punjivi-elektro-upaljac-u-poklon-kutiji-beli-avant";s:4:"path";s:16:"/1/173/210/1417/";}}}}s:8:"products";a:0:{}}"
]
15 0.09 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:
[
  173
]
16 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:
[
  1790347859
  "cache_tree_oidl_173"
]
17 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
]
18 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:
[
  1790347859
  "cache_tree_oidl_1"
]
19 0.04 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
]
20 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:
[
  1790347859
  "cache_tree_oidl_1"
]
21 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:
[
  173
]
22 0.03 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:
[
  1790347859
  "cache_tree_oidl_173"
]
23 0.03 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
]
24 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:
[
  1790347859
  "cache_tree_oidl_1"
]
25 0.04 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
]
26 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:
[
  1790347859
  "cache_tree_oidl_1"
]
27 0.08 ms
SELECT page_title, page_meta_description, page_meta_keywords, web_page
	        FROM website_tags
	        WHERE website = ? and web_page IN (?, ?)
Parameters:
[
  1
  "kategorije"
  "ostale"
]

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.