Query Metrics

20 Database Queries
7 Different statements
31.53 ms Query time
0 Invalid entities
0 Managed entities

Queries

Group similar statements

# Time Info
1 3.94 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:
[
  "stoni-cirkulari-testere"
]
2 0.29 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:
[
  1780711705
  "cache_tree_aim_650"
]
3 16.23 ms
DELETE FROM cache_items WHERE item_lifetime + item_time <= ? AND item_id IN (?)
Parameters:
[
  1780711705
  "cache_tree_aim_650"
]
4 0.47 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:
[
  650
  650
]
5 8.13 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 => 1780711706
  0 => "cache_tree_aim_650"
  1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:5:"19088";s:10:"product_id";i:19088;s:4:"name";s:43:"Testera kružna stacionarna  W-TK 800 WOMAX";s:12:"product_name";s:43:"Testera kružna stacionarna  W-TK 800 WOMAX";s:3:"url";s:41:"testera-kruzna-stacionarna-w-tk-800-womax";s:4:"path";s:13:"/1/21/22/650/";}i:1;a:6:{s:2:"id";s:6:"117626";s:10:"product_id";i:117626;s:4:"name";s:31:"Einhell stona testera TC-TS 8 I";s:12:"product_name";s:31:"Einhell stona testera TC-TS 8 I";s:3:"url";s:31:"einhell-stona-testera-tc-ts-8-i";s:4:"path";s:13:"/1/21/22/650/";}i:2;a:6:{s:2:"id";s:6:"106428";s:10:"product_id";i:106428;s:4:"name";s:40:"Proxxon modelarski stoni cirkular KS 230";s:12:"product_name";s:40:"Proxxon modelarski stoni cirkular KS 230";s:3:"url";s:40:"proxxon-modelarski-stoni-cirkular-ks-230";s:4:"path";s:13:"/1/21/22/650/";}i:3;a:6:{s:2:"id";s:5:"88842";s:10:"product_id";i:88842;s:4:"name";s:32:"Stoni cirkular VTS 1502 Villager";s:12:"product_name";s:32:"Stoni cirkular VTS 1502 Villager";s:3:"url";s:32:"stoni-cirkular-vts-1502-villager";s:4:"path";s:13:"/1/21/22/650/";}i:4;a:6:{s:2:"id";s:6:"119775";s:10:"product_id";i:119775;s:4:"name";s:47:"Stoni cirkular HS254-2200W 5901326901 Scheppach";s:12:"product_name";s:47:"Stoni cirkular HS254-2200W 5901326901 Scheppach";s:3:"url";s:47:"stoni-cirkular-hs254-2200w-5901326901-scheppach";s:4:"path";s:13:"/1/21/22/650/";}}}"
]
6 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:
[
  22
]
7 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:
[
  1780711706
  "cache_tree_aim_22"
]
8 0.21 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:
[
  21
]
9 0.21 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:
[
  1780711706
  "cache_tree_aim_21"
]
10 0.17 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.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:
[
  1780711706
  "cache_tree_aim_1"
]
12 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
]
13 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:
[
  1780711706
  "cache_tree_aim_1"
]
14 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:
[
  21
]
15 0.14 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:
[
  1780711706
  "cache_tree_aim_21"
]
16 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:
[
  1
]
17 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:
[
  1780711706
  "cache_tree_aim_1"
]
18 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:
[
  1
]
19 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:
[
  1780711706
  "cache_tree_aim_1"
]
20 0.17 ms
SELECT page_title, page_meta_description, page_meta_keywords, web_page
	        FROM website_tags
	        WHERE website = ? and web_page IN (?, ?)
Parameters:
[
  2
  "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.