GET https://dev.alatiimasine.com/kategorija/auto-punjaci/

Query Metrics

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

Queries

Group similar statements

# Time Info
1 2.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:
[
  "auto-punjaci"
]
2 0.17 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:
[
  1780717628
  "cache_tree_aim_912"
]
3 19.07 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1780717628
  "cache_tree_aim_912"
]
4 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 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:
[
  912
  912
]
5 8.11 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 => 1780717628
  0 => "cache_tree_aim_912"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:2:{i:0;a:6:{s:2:"id";s:5:"66620";s:10:"product_id";i:66620;s:4:"name";s:41:"Auto punjač brzi Mikro USB 2000 mAh Hama";s:12:"product_name";s:41:"Auto punjač brzi Mikro USB 2000 mAh Hama";s:3:"url";s:40:"auto-punjac-brzi-mikro-usb-2000-mah-hama";s:4:"path";s:15:"/1/169/318/912/";}i:1;a:6:{s:2:"id";s:5:"66615";s:10:"product_id";i:66615;s:4:"name";s:53:"Auto punjač za iPhone 3G/3G S/4/4S i iPod, beli Hama";s:12:"product_name";s:53:"Auto punjač za iPhone 3G/3G S/4/4S i iPod, beli Hama";s:3:"url";s:48:"auto-punjac-za-iphone-3g3g-s44s-i-ipod-beli-hama";s:4:"path";s:15:"/1/169/318/912/";}}}"
]
6 0.14 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:
[
  318
]
7 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:
[
  1780717628
  "cache_tree_aim_318"
]
8 7.98 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1780717628
  "cache_tree_aim_318"
]
9 0.36 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:
[
  318
  318
]
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 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:
[
  522
  522
]
11 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 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:
[
  912
  912
]
12 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 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:
[
  1484
  1484
]
13 12.00 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 => 1780717628
  0 => "cache_tree_aim_318"
  1 => "a:2:{s:13:"subCategories";a:3:{i:0;a:7:{s:11:"category_id";i:522;s:13:"category_name";s:24:"Auto adapteri i punjači";s:17:"category_name_seo";s:23:"auto-adapteri-i-punjaci";s:17:"category_name_aim";s:24:"Auto adapteri i punjači";s:14:"category_image";s:18:"522-1289652291.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:5:"66230";s:10:"product_id";i:66230;s:4:"name";s:61:"Utikač za kabl 1kom autoupaljača pakovanje od 5 komada WS10";s:12:"product_name";s:61:"Utikač za kabl 1kom autoupaljača pakovanje od 5 komada WS10";s:3:"url";s:59:"utikac-za-kabl-1kom-autoupaljaca-pakovanje-od-5-komada-ws10";s:4:"path";s:11:"/1/170/522/";}i:1;a:6:{s:2:"id";s:5:"70014";s:10:"product_id";i:70014;s:4:"name";s:57:"Utikač za kabel autoupaljača pakovanje od 5 komada WS20";s:12:"product_name";s:57:"Utikač za kabel autoupaljača pakovanje od 5 komada WS20";s:3:"url";s:55:"utikac-za-kabel-autoupaljaca-pakovanje-od-5-komada-ws20";s:4:"path";s:11:"/1/170/522/";}i:2;a:6:{s:2:"id";s:5:"25512";s:10:"product_id";i:25512;s:4:"name";s:33:"Traka za vađenje akumulatora DHC";s:12:"product_name";s:33:"Traka za vađenje akumulatora DHC";s:3:"url";s:32:"traka-za-vadenje-akumulatora-dhc";s:4:"path";s:11:"/1/170/522/";}i:3;a:6:{s:2:"id";s:6:"115887";s:10:"product_id";i:115887;s:4:"name";s:44:"Auto punjač Micro USB, BRZI PUNJAČ 2400mAh";s:12:"product_name";s:44:"Auto punjač Micro USB, BRZI PUNJAČ 2400mAh";s:3:"url";s:41:"auto-punjac-micro-usb-brzi-punjac-2400mah";s:4:"path";s:11:"/1/170/522/";}i:4;a:6:{s:2:"id";s:5:"57986";s:10:"product_id";i:57986;s:4:"name";s:20:"Dekoder BRT-12 EXIDE";s:12:"product_name";s:20:"Dekoder BRT-12 EXIDE";s:3:"url";s:20:"dekoder-brt-12-exide";s:4:"path";s:11:"/1/170/522/";}}}i:1;a:7:{s:11:"category_id";i:912;s:13:"category_name";s:13:"Auto punjači";s:17:"category_name_seo";s:12:"auto-punjaci";s:17:"category_name_aim";s:13:"Auto punjači";s:14:"category_image";s:18:"912-1323188538.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:2:{i:0;a:6:{s:2:"id";s:5:"66620";s:10:"product_id";i:66620;s:4:"name";s:41:"Auto punjač brzi Mikro USB 2000 mAh Hama";s:12:"product_name";s:41:"Auto punjač brzi Mikro USB 2000 mAh Hama";s:3:"url";s:40:"auto-punjac-brzi-mikro-usb-2000-mah-hama";s:4:"path";s:15:"/1/169/318/912/";}i:1;a:6:{s:2:"id";s:5:"66615";s:10:"product_id";i:66615;s:4:"name";s:53:"Auto punjač za iPhone 3G/3G S/4/4S i iPod, beli Hama";s:12:"product_name";s:53:"Auto punjač za iPhone 3G/3G S/4/4S i iPod, beli Hama";s:3:"url";s:48:"auto-punjac-za-iphone-3g3g-s44s-i-ipod-beli-hama";s:4:"path";s:15:"/1/169/318/912/";}}}i:2;a:7:{s:11:"category_id";i:1484;s:13:"category_name";s:45:"Baterije-akumulatori za UPS i solarne sisteme";s:17:"category_name_seo";s:45:"baterije-akumulatori-za-ups-i-solarne-sisteme";s:17:"category_name_aim";s:27:"Baterije-akumulatori za UPS";s:14:"category_image";s:19:"1484-1701358023.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:5:"78823";s:10:"product_id";i:78823;s:4:"name";s:33:"Žele akumulator 6V/1,3-Ultracell";s:12:"product_name";s:33:"Žele akumulator 6V/1,3-Ultracell";s:3:"url";s:30:"zele-akumulator-6v13-ultracell";s:4:"path";s:15:"/1/29/311/1484/";}i:1;a:6:{s:2:"id";s:6:"111384";s:10:"product_id";i:111384;s:4:"name";s:30:"Baterija 6V 1.2Ah WP1.2-6 LONG";s:12:"product_name";s:30:"Baterija 6V 1.2Ah WP1.2-6 LONG";s:3:"url";s:28:"baterija-6v-12ah-wp12-6-long";s:4:"path";s:15:"/1/29/311/1484/";}i:2;a:6:{s:2:"id";s:6:"108986";s:10:"product_id";i:108986;s:4:"name";s:37:"Baterija Long WPS4-6 6V 4Ah Kung Long";s:12:"product_name";s:37:"Baterija Long WPS4-6 6V 4Ah Kung Long";s:3:"url";s:37:"baterija-long-wps4-6-6v-4ah-kung-long";s:4:"path";s:15:"/1/29/311/1484/";}i:3;a:6:{s:2:"id";s:6:"108996";s:10:"product_id";i:108996;s:4:"name";s:34:"Baterija LP6-4,5 6V 4,5Ah Landport";s:12:"product_name";s:34:"Baterija LP6-4,5 6V 4,5Ah Landport";s:3:"url";s:32:"baterija-lp6-45-6v-45ah-landport";s:4:"path";s:15:"/1/29/311/1484/";}i:4;a:6:{s:2:"id";s:5:"89604";s:10:"product_id";i:89604;s:4:"name";s:37:"Žele akumulator Ultracell 12V/1,3 Ah";s:12:"product_name";s:37:"Žele akumulator Ultracell 12V/1,3 Ah";s:3:"url";s:34:"zele-akumulator-ultracell-12v13-ah";s:4:"path";s:15:"/1/29/311/1484/";}}}}s:8:"products";a:0:{}}"
]
14 0.19 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:
[
  169
]
15 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:
[
  1780717628
  "cache_tree_aim_169"
]
16 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
]
17 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:
[
  1780717628
  "cache_tree_aim_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.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:
[
  1780717628
  "cache_tree_aim_1"
]
20 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:
[
  169
]
21 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:
[
  1780717628
  "cache_tree_aim_169"
]
22 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
]
23 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:
[
  1780717628
  "cache_tree_aim_1"
]
24 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
]
25 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:
[
  1780717628
  "cache_tree_aim_1"
]
26 7.79 ms
SELECT COUNT(*) AS broj_proizvoda 
			FROM proizvodi 
			WHERE category_id = ?  AND show_product = 1 AND active = 1 AND (copy_from_id is NULL OR copy_from_id = '') AND fl_alat = 1
Parameters:
[
  912
]

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.