Query Metrics

26 Database Queries
7 Different statements
39.19 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

#▲ Time Info
1 1.46 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:
[
  "suncobrani"
]
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:
[
  1790396933
  "cache_tree_oidl_959"
]
3 8.46 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1790396933
  "cache_tree_oidl_959"
]
4 0.27 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:
[
  959
  959
]
5 8.03 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 => 1790396933
  0 => "cache_tree_oidl_959"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"121498";s:10:"product_id";i:121498;s:4:"name";s:26:"Suncobran Za Plažu 180 Cm";s:12:"product_name";s:26:"Suncobran Za Plažu 180 Cm";s:3:"url";s:25:"suncobran-za-plazu-180-cm";s:4:"path";s:14:"/1/44/303/959/";}i:1;a:6:{s:2:"id";s:5:"77788";s:10:"product_id";i:77788;s:4:"name";s:38:"Suncobran sa čekrkom 270mm Vasto bež";s:12:"product_name";s:38:"Suncobran sa čekrkom 270mm Vasto bež";s:3:"url";s:36:"suncobran-sa-cekrkom-270mm-vasto-bez";s:4:"path";s:14:"/1/44/303/959/";}i:2;a:6:{s:2:"id";s:5:"77789";s:10:"product_id";i:77789;s:4:"name";s:39:"Suncobran sa čekrkom 270mm Vasto plavi";s:12:"product_name";s:39:"Suncobran sa čekrkom 270mm Vasto plavi";s:3:"url";s:38:"suncobran-sa-cekrkom-270mm-vasto-plavi";s:4:"path";s:14:"/1/44/303/959/";}i:3;a:6:{s:2:"id";s:6:"120695";s:10:"product_id";i:120695;s:4:"name";s:22:"Suncobran o200 cm HAUS";s:12:"product_name";s:22:"Suncobran o200 cm HAUS";s:3:"url";s:22:"suncobran-o200-cm-haus";s:4:"path";s:14:"/1/44/303/959/";}i:4;a:6:{s:2:"id";s:5:"95037";s:10:"product_id";i:95037;s:4:"name";s:37:"Suncobran zglobni sa čekrkom 3m crni";s:12:"product_name";s:37:"Suncobran zglobni sa čekrkom 3m crni";s:3:"url";s:36:"suncobran-zglobni-sa-cekrkom-3m-crni";s:4:"path";s:14:"/1/44/303/959/";}}}"
]
6 0.13 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:
[
  303
]
7 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:
[
  1790396933
  "cache_tree_oidl_303"
]
8 7.83 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1790396933
  "cache_tree_oidl_303"
]
9 0.28 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:
[
  303
  303
]
10 0.18 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:
[
  960
  960
]
11 0.30 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:
[
  959
  959
]
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:
[
  958
  958
]
13 10.29 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 => 1790396933
  0 => "cache_tree_oidl_303"
  1 => "a:2:{s:13:"subCategories";a:3:{i:0;a:7:{s:11:"category_id";i:960;s:13:"category_name";s:22:"Postolja za suncobrane";s:17:"category_name_seo";s:22:"postolja-za-suncobrane";s:17:"category_name_aim";s:22:"Postolja za suncobrane";s:14:"category_image";s:18:"960-1329751736.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"120116";s:10:"product_id";i:120116;s:4:"name";s:41:"Postolje za suncobran KLACKEN 12ltr. siva";s:12:"product_name";s:41:"Postolje za suncobran KLACKEN 12ltr. siva";s:3:"url";s:40:"postolje-za-suncobran-klacken-12ltr-siva";s:4:"path";s:14:"/1/44/303/960/";}i:1;a:6:{s:2:"id";s:5:"85041";s:10:"product_id";i:85041;s:4:"name";s:44:"Univerzalni držač za suncobran 55cm Levior";s:12:"product_name";s:44:"Univerzalni držač za suncobran 55cm Levior";s:3:"url";s:42:"univerzalni-drzac-za-suncobran-55cm-levior";s:4:"path";s:14:"/1/44/303/960/";}i:2;a:6:{s:2:"id";s:5:"88114";s:10:"product_id";i:88114;s:4:"name";s:46:"Univerzalni držač suncobrana 55cm STREND PRO";s:12:"product_name";s:46:"Univerzalni držač suncobrana 55cm STREND PRO";s:3:"url";s:44:"univerzalni-drzac-suncobrana-55cm-strend-pro";s:4:"path";s:14:"/1/44/303/960/";}i:3;a:6:{s:2:"id";s:5:"95029";s:10:"product_id";i:95029;s:4:"name";s:42:"Postolje za suncobran 32/38/48mm FDZN 9012";s:12:"product_name";s:42:"Postolje za suncobran 32/38/48mm FDZN 9012";s:3:"url";s:40:"postolje-za-suncobran-323848mm-fdzn-9012";s:4:"path";s:14:"/1/44/303/960/";}i:4;a:6:{s:2:"id";s:6:"104917";s:10:"product_id";i:104917;s:4:"name";s:54:"Postolje za suncobran 4 dela 1050x1050x75 mm Fieldmann";s:12:"product_name";s:54:"Postolje za suncobran 4 dela 1050x1050x75 mm Fieldmann";s:3:"url";s:54:"postolje-za-suncobran-4-dela-1050x1050x75-mm-fieldmann";s:4:"path";s:14:"/1/44/303/960/";}}}i:1;a:7:{s:11:"category_id";i:959;s:13:"category_name";s:10:"Suncobrani";s:17:"category_name_seo";s:10:"suncobrani";s:17:"category_name_aim";s:10:"Suncobrani";s:14:"category_image";s:18:"959-1329751684.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"121498";s:10:"product_id";i:121498;s:4:"name";s:26:"Suncobran Za Plažu 180 Cm";s:12:"product_name";s:26:"Suncobran Za Plažu 180 Cm";s:3:"url";s:25:"suncobran-za-plazu-180-cm";s:4:"path";s:14:"/1/44/303/959/";}i:1;a:6:{s:2:"id";s:5:"77788";s:10:"product_id";i:77788;s:4:"name";s:38:"Suncobran sa čekrkom 270mm Vasto bež";s:12:"product_name";s:38:"Suncobran sa čekrkom 270mm Vasto bež";s:3:"url";s:36:"suncobran-sa-cekrkom-270mm-vasto-bez";s:4:"path";s:14:"/1/44/303/959/";}i:2;a:6:{s:2:"id";s:5:"77789";s:10:"product_id";i:77789;s:4:"name";s:39:"Suncobran sa čekrkom 270mm Vasto plavi";s:12:"product_name";s:39:"Suncobran sa čekrkom 270mm Vasto plavi";s:3:"url";s:38:"suncobran-sa-cekrkom-270mm-vasto-plavi";s:4:"path";s:14:"/1/44/303/959/";}i:3;a:6:{s:2:"id";s:6:"120695";s:10:"product_id";i:120695;s:4:"name";s:22:"Suncobran o200 cm HAUS";s:12:"product_name";s:22:"Suncobran o200 cm HAUS";s:3:"url";s:22:"suncobran-o200-cm-haus";s:4:"path";s:14:"/1/44/303/959/";}i:4;a:6:{s:2:"id";s:5:"95037";s:10:"product_id";i:95037;s:4:"name";s:37:"Suncobran zglobni sa čekrkom 3m crni";s:12:"product_name";s:37:"Suncobran zglobni sa čekrkom 3m crni";s:3:"url";s:36:"suncobran-zglobni-sa-cekrkom-3m-crni";s:4:"path";s:14:"/1/44/303/959/";}}}i:2;a:7:{s:11:"category_id";i:958;s:13:"category_name";s:17:"Tende i paviljoni";s:17:"category_name_seo";s:17:"tende-i-paviljoni";s:17:"category_name_aim";s:17:"Tende i paviljoni";s:14:"category_image";s:18:"958-1675073992.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:5:"61618";s:10:"product_id";i:61618;s:4:"name";s:47:"Baštenska tenda 2.7 x 2.7 m bez bočnih strana";s:12:"product_name";s:47:"Baštenska tenda 2.7 x 2.7 m bez bočnih strana";s:3:"url";s:43:"bastenska-tenda-27-x-27-m-bez-bocnih-strana";s:4:"path";s:14:"/1/44/303/958/";}i:1;a:6:{s:2:"id";s:6:"120692";s:10:"product_id";i:120692;s:4:"name";s:29:"Šator bez stranica 3x3m HAUS";s:12:"product_name";s:29:"Šator bez stranica 3x3m HAUS";s:3:"url";s:28:"sator-bez-stranica-3x3m-haus";s:4:"path";s:14:"/1/44/303/958/";}i:2;a:6:{s:2:"id";s:5:"78811";s:10:"product_id";i:78811;s:4:"name";s:30:"Tenda bez stranica 3 x 3m Haus";s:12:"product_name";s:30:"Tenda bez stranica 3 x 3m Haus";s:3:"url";s:30:"tenda-bez-stranica-3-x-3m-haus";s:4:"path";s:14:"/1/44/303/958/";}i:3;a:6:{s:2:"id";s:6:"118555";s:10:"product_id";i:118555;s:4:"name";s:40:"Sklopivi paviljon za dvorišta 3x3m sivi";s:12:"product_name";s:40:"Sklopivi paviljon za dvorišta 3x3m sivi";s:3:"url";s:39:"sklopivi-paviljon-za-dvorista-3x3m-sivi";s:4:"path";s:14:"/1/44/303/958/";}i:4;a:6:{s:2:"id";s:6:"118528";s:10:"product_id";i:118528;s:4:"name";s:41:"Sklopivi paviljon za dvorišta 3x3m plavi";s:12:"product_name";s:41:"Sklopivi paviljon za dvorišta 3x3m plavi";s:3:"url";s:40:"sklopivi-paviljon-za-dvorista-3x3m-plavi";s:4:"path";s:14:"/1/44/303/958/";}}}}s:8:"products";a:0:{}}"
]
14 0.18 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:
[
  44
]
15 0.13 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:
[
  1790396933
  "cache_tree_oidl_44"
]
16 0.12 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.16 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:
[
  1790396933
  "cache_tree_oidl_1"
]
18 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
]
19 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:
[
  1790396933
  "cache_tree_oidl_1"
]
20 0.18 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:
[
  44
]
21 0.10 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:
[
  1790396933
  "cache_tree_oidl_44"
]
22 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:
[
  1
]
23 0.09 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:
[
  1790396933
  "cache_tree_oidl_1"
]
24 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
]
25 0.09 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:
[
  1790396933
  "cache_tree_oidl_1"
]
26 0.13 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.