GET https://dev.alatiimasine.com/kategorija/hrana-za-pse/

Query Metrics

25 Database Queries
6 Different statements
30.38 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

#▲ Time Info
1 2.29 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:
[
  "hrana-za-pse"
]
2 0.28 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:
[
  1790348066
  "cache_tree_oidl_1422"
]
3 0.48 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:
[
  1422
  1422
]
4 9.27 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 => 1790348066
  0 => "cache_tree_oidl_1422"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:0:{}}"
]
5 0.33 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:
[
  1419
]
6 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:
[
  1790348066
  "cache_tree_oidl_1419"
]
7 0.52 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:
[
  1419
  1419
]
8 0.40 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:
[
  1423
  1423
]
9 0.49 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:
[
  1422
  1422
]
10 0.51 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:
[
  1421
  1421
]
11 0.56 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:
[
  1420
  1420
]
12 11.25 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 => 1790348066
  0 => "cache_tree_oidl_1419"
  1 => "a:2:{s:13:"subCategories";a:4:{i:0;a:7:{s:11:"category_id";i:1423;s:13:"category_name";s:15:"Hrana za mačke";s:17:"category_name_seo";s:14:"hrana-za-macke";s:17:"category_name_aim";s:15:"Hrana za mačke";s:14:"category_image";s:19:"1423-1634558346.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:0:{}}i:1;a:7:{s:11:"category_id";i:1422;s:13:"category_name";s:12:"Hrana za pse";s:17:"category_name_seo";s:12:"hrana-za-pse";s:17:"category_name_aim";s:12:"Hrana za pse";s:14:"category_image";s:19:"1422-1634554974.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:0:{}}i:2;a:7:{s:11:"category_id";i:1421;s:13:"category_name";s:35:"Kućice i kutije za kućne ljubimce";s:17:"category_name_seo";s:33:"kucice-i-kutije-za-kucne-ljubimce";s:17:"category_name_aim";s:35:"Kućice i kutije za kućne ljubimce";s:14:"category_image";s:19:"1421-1675000437.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"102560";s:10:"product_id";i:102560;s:4:"name";s:31:"Sofa za kućne ljubimce šapa L";s:12:"product_name";s:31:"Sofa za kućne ljubimce šapa L";s:3:"url";s:29:"sofa-za-kucne-ljubimce-sapa-l";s:4:"path";s:16:"/1/29/1419/1421/";}i:1;a:6:{s:2:"id";s:5:"83960";s:10:"product_id";i:83960;s:4:"name";s:68:"Kutija za hranu za kućne ljubimce mačka ( 15lit ) 03883-L30 Curver";s:12:"product_name";s:68:"Kutija za hranu za kućne ljubimce mačka ( 15lit ) 03883-L30 Curver";s:3:"url";s:62:"kutija-za-hranu-za-kucne-ljubimce-macka-15lit-03883-l30-curver";s:4:"path";s:16:"/1/29/1419/1421/";}i:2;a:6:{s:2:"id";s:5:"83969";s:10:"product_id";i:83969;s:4:"name";s:65:"Kutija za hranu za kućne ljubimce pas ( 23lit ) 03882-L29 Curver";s:12:"product_name";s:65:"Kutija za hranu za kućne ljubimce pas ( 23lit ) 03882-L29 Curver";s:3:"url";s:60:"kutija-za-hranu-za-kucne-ljubimce-pas-23lit-03882-l29-curver";s:4:"path";s:16:"/1/29/1419/1421/";}i:3;a:6:{s:2:"id";s:5:"83973";s:10:"product_id";i:83973;s:4:"name";s:68:"Kutija za hranu za kućne ljubimce mačka ( 23lit ) 03882-L30 Curver";s:12:"product_name";s:68:"Kutija za hranu za kućne ljubimce mačka ( 23lit ) 03882-L30 Curver";s:3:"url";s:62:"kutija-za-hranu-za-kucne-ljubimce-macka-23lit-03882-l30-curver";s:4:"path";s:16:"/1/29/1419/1421/";}i:4;a:6:{s:2:"id";s:5:"83985";s:10:"product_id";i:83985;s:4:"name";s:54:"Transporter za kućne ljubimce 00615-P15 grafit Curver";s:12:"product_name";s:54:"Transporter za kućne ljubimce 00615-P15 grafit Curver";s:3:"url";s:53:"transporter-za-kucne-ljubimce-00615-p15-grafit-curver";s:4:"path";s:16:"/1/29/1419/1421/";}}}i:3;a:7:{s:11:"category_id";i:1420;s:13:"category_name";s:25:"Oprema za kućne ljubimce";s:17:"category_name_seo";s:24:"oprema-za-kucne-ljubimce";s:17:"category_name_aim";s:25:"Oprema za kućne ljubimce";s:14:"category_image";s:19:"1420-1633613795.jpg";s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"119738";s:10:"product_id";i:119738;s:4:"name";s:46:"Plišana igračka za kućne ljubimce 95-542000";s:12:"product_name";s:46:"Plišana igračka za kućne ljubimce 95-542000";s:3:"url";s:43:"plisana-igracka-za-kucne-ljubimce-95-542000";s:4:"path";s:16:"/1/29/1419/1420/";}i:1;a:6:{s:2:"id";s:5:"60410";s:10:"product_id";i:60410;s:4:"name";s:42:"Makaze za šišanje ovaca 330 mm Gartenmax";s:12:"product_name";s:42:"Makaze za šišanje ovaca 330 mm Gartenmax";s:3:"url";s:40:"makaze-za-sisanje-ovaca-330-mm-gartenmax";s:4:"path";s:16:"/1/29/1419/1420/";}i:2;a:6:{s:2:"id";s:6:"101460";s:10:"product_id";i:101460;s:4:"name";s:19:"Grebalica za mačke";s:12:"product_name";s:19:"Grebalica za mačke";s:3:"url";s:18:"grebalica-za-macke";s:4:"path";s:16:"/1/29/1419/1420/";}i:3;a:6:{s:2:"id";s:6:"112371";s:10:"product_id";i:112371;s:4:"name";s:24:"Torba za kućne ljubimce";s:12:"product_name";s:24:"Torba za kućne ljubimce";s:3:"url";s:23:"torba-za-kucne-ljubimce";s:4:"path";s:16:"/1/29/1419/1420/";}i:4;a:6:{s:2:"id";s:6:"119664";s:10:"product_id";i:119664;s:4:"name";s:41:"Jastuk za kućne ljubimce 60 cm 95-527000";s:12:"product_name";s:41:"Jastuk za kućne ljubimce 60 cm 95-527000";s:3:"url";s:40:"jastuk-za-kucne-ljubimce-60-cm-95-527000";s:4:"path";s:16:"/1/29/1419/1420/";}}}}s:8:"products";a:0:{}}"
]
13 0.41 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
]
14 0.27 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:
[
  1790348066
  "cache_tree_oidl_29"
]
15 0.22 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
]
16 0.25 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:
[
  1790348066
  "cache_tree_oidl_1"
]
17 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:
[
  1
]
18 0.22 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:
[
  1790348066
  "cache_tree_oidl_1"
]
19 0.28 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
]
20 0.39 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:
[
  1790348066
  "cache_tree_oidl_29"
]
21 0.27 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
]
22 0.32 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:
[
  1790348066
  "cache_tree_oidl_1"
]
23 0.29 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.24 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:
[
  1790348066
  "cache_tree_oidl_1"
]
25 0.45 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 = '')
Parameters:
[
  1422
]

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.