1
0.34 ms
SELECT id , brand_name , brand_name_seo , brand_description , brand_image , meta_title , meta_description , meta_keywords , num_of_products , num_of_products_aim , img_size
FROM proizvodjaci
WHERE id = ? and active = 1
SELECT id , brand_name , brand_name_seo , brand_description , brand_image , meta_title , meta_description , meta_keywords , num_of_products , num_of_products_aim , img_size
FROM proizvodjaci
WHERE id = 182 and active = 1 ;
Copy
2
0.26 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
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 = 441 and active = 1 ;
Copy
3
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 :
[
1780968511
"cache_tree_aim_441 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_441' );
Copy
4
8.06 ms
DELETE FROM cache_items WHERE item_lifetime + item_time < = ? AND item_id IN (? )
Parameters :
[
1780968511
"cache_tree_aim_441 "
]
DELETE FROM cache_items WHERE item_lifetime + item_time < = 1780968511 AND item_id IN ('cache_tree_aim_441' );
Copy
5
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 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
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 = 441 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 = 441 and c1 . active = 1 and c2 . show_category = 1 AND c2 . fl_alat = 1 )
ORDER BY category_name ;
Copy
6
19.42 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 => 1780968511
0 => "cache_tree_aim_441 "
1 => "a:2:{s:13:"subCategories";a:0:{}s:8:"products";a:5:{i:0;a:6:{s:2:"id";s:6:"116367";s:10:"product_id";i:116367;s:4:"name";s:64:"Kombinovani zupčasti ključ 1/2”, ručka od PP HT1R352 Hogert";s:12:"product_name";s:64:"Kombinovani zupčasti ključ 1/2”, ručka od PP HT1R352 Hogert";s:3:"url";s:56:"kombinovani-zupcasti-kljuc-12-rucka-od-pp-ht1r352-hogert";s:4:"path";s:13:"/1/21/26/441/";}i:1;a:6:{s:2:"id";s:5:"61480";s:10:"product_id";i:61480;s:4:"name";s:23:"Račna pneumatska Womax";s:12:"product_name";s:23:"Račna pneumatska Womax";s:3:"url";s:22:"racna-pneumatska-womax";s:4:"path";s:13:"/1/21/26/441/";}i:2;a:6:{s:2:"id";s:5:"61657";s:10:"product_id";i:61657;s:4:"name";s:37:"Odvrtač udarni pneumatski 1/2" Womax";s:12:"product_name";s:37:"Odvrtač udarni pneumatski 1/2" Womax";s:3:"url";s:34:"odvrtac-udarni-pneumatski-12-womax";s:4:"path";s:13:"/1/21/26/441/";}i:3;a:6:{s:2:"id";s:5:"63079";s:10:"product_id";i:63079;s:4:"name";s:37:"Odvijač udarni 1/2" pneumatski Womax";s:12:"product_name";s:37:"Odvijač udarni 1/2" pneumatski Womax";s:3:"url";s:34:"odvijac-udarni-12-pneumatski-womax";s:4:"path";s:13:"/1/21/26/441/";}i:4;a:6:{s:2:"id";s:5:"87949";s:10:"product_id";i:87949;s:4:"name";s:48:"Einhell pnematski udarni odvijač 1/2" TC-PW 340";s:12:"product_name";s:48:"Einhell pnematski udarni odvijač 1/2" TC-PW 340";s:3:"url";s:45:"einhell-pnematski-udarni-odvijac-12-tc-pw-340";s:4:"path";s:13:"/1/21/26/441/";}}} "
]
INSERT INTO cache_items (item_id , item_data , item_lifetime , item_time ) VALUES (3600 , 1780968511 , 'cache_tree_aim_441' , 'a:2:{s:13:\"subCategories\";a:0:{}s:8:\"products\";a:5:{i:0;a:6:{s:2:\"id\";s:6:\"116367\";s:10:\"product_id\";i:116367;s:4:\"name\";s:64:\"Kombinovani zupčasti ključ 1/2”, ručka od PP HT1R352 Hogert\";s:12:\"product_name\";s:64:\"Kombinovani zupčasti ključ 1/2”, ručka od PP HT1R352 Hogert\";s:3:\"url\";s:56:\"kombinovani-zupcasti-kljuc-12-rucka-od-pp-ht1r352-hogert\";s:4:\"path\";s:13:\"/1/21/26/441/\";}i:1;a:6:{s:2:\"id\";s:5:\"61480\";s:10:\"product_id\";i:61480;s:4:\"name\";s:23:\"Račna pneumatska Womax\";s:12:\"product_name\";s:23:\"Račna pneumatska Womax\";s:3:\"url\";s:22:\"racna-pneumatska-womax\";s:4:\"path\";s:13:\"/1/21/26/441/\";}i:2;a:6:{s:2:\"id\";s:5:\"61657\";s:10:\"product_id\";i:61657;s:4:\"name\";s:37:\"Odvrtač udarni pneumatski 1/2\" Womax\";s:12:\"product_name\";s:37:\"Odvrtač udarni pneumatski 1/2\" Womax\";s:3:\"url\";s:34:\"odvrtac-udarni-pneumatski-12-womax\";s:4:\"path\";s:13:\"/1/21/26/441/\";}i:3;a:6:{s:2:\"id\";s:5:\"63079\";s:10:\"product_id\";i:63079;s:4:\"name\";s:37:\"Odvijač udarni 1/2\" pneumatski Womax\";s:12:\"product_name\";s:37:\"Odvijač udarni 1/2\" pneumatski Womax\";s:3:\"url\";s:34:\"odvijac-udarni-12-pneumatski-womax\";s:4:\"path\";s:13:\"/1/21/26/441/\";}i:4;a:6:{s:2:\"id\";s:5:\"87949\";s:10:\"product_id\";i:87949;s:4:\"name\";s:48:\"Einhell pnematski udarni odvijač 1/2\" TC-PW 340\";s:12:\"product_name\";s:48:\"Einhell pnematski udarni odvijač 1/2\" TC-PW 340\";s:3:\"url\";s:45:\"einhell-pnematski-udarni-odvijac-12-tc-pw-340\";s:4:\"path\";s:13:\"/1/21/26/441/\";}}}' ) ON DUPLICATE KEY UPDATE item_data = VALUES (item_data ), item_lifetime = VALUES (item_lifetime ), item_time = VALUES (item_time );
Copy
7
16.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
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 = 26 and active = 1 ;
Copy
8
0.33 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 :
[
1780968511
"cache_tree_aim_26 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_26' );
Copy
9
0.31 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
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 = 21 and active = 1 ;
Copy
10
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 :
[
1780968511
"cache_tree_aim_21 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21' );
Copy
11
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
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 = 1 and active = 1 ;
Copy
12
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 :
[
1780968511
"cache_tree_aim_1 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1' );
Copy
13
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
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 = 1 and active = 1 ;
Copy
14
0.08 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 :
[
1780968511
"cache_tree_aim_1 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1' );
Copy
15
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
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 = 21 and active = 1 ;
Copy
16
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 :
[
1780968511
"cache_tree_aim_21 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21' );
Copy
17
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
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 = 1 and active = 1 ;
Copy
18
0.08 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 :
[
1780968511
"cache_tree_aim_1 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1' );
Copy
19
0.10 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
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 = 1 and active = 1 ;
Copy
20
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 :
[
1780968511
"cache_tree_aim_1 "
]
SELECT item_id , CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780968511 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1' );
Copy
21
0.15 ms
SELECT p . id id , p . product_id , p . name file_name , 1 file_type
FROM proizvodi_pdf p
WHERE p . active = 1 AND p . product_id = ?
ORDER BY file_type
SELECT p . id id , p . product_id , p . name file_name , 1 file_type
FROM proizvodi_pdf p
WHERE p . active = 1 AND p . product_id = 7932
ORDER BY file_type ;
Copy
22
0.13 ms
SELECT p . share_link
FROM proizvodi_filmovi p
WHERE p . product_id = ? AND p . share_link ! = '' AND p . active = 1
SELECT p . share_link
FROM proizvodi_filmovi p
WHERE p . product_id = 7932 AND p . share_link ! = '' AND p . active = 1 ;
Copy
23
0.11 ms
SELECT *
FROM proizvodi_rejting_star
WHERE product_id = ?
SELECT *
FROM proizvodi_rejting_star
WHERE product_id = 7932 ;
Copy
24
0.14 ms
SELECT *
FROM proizvodi_komentari
WHERE id_proizvoda = ? and active = 1
ORDER BY vreme DESC
SELECT *
FROM proizvodi_komentari
WHERE id_proizvoda = 7932 and active = 1
ORDER BY vreme DESC ;
Copy
25
0.29 ms
SELECT page_title , page_meta_description , page_meta_keywords , web_page
FROM website_tags
WHERE website = ? and web_page IN (? , ? )
Parameters :
[
2
"proizvodi "
"ostale "
]
SELECT page_title , page_meta_description , page_meta_keywords , web_page
FROM website_tags
WHERE website = 2 and web_page IN ('proizvodi' , 'ostale' );
Copy
26
1.05 ms
SELECT k . category_name , k . category_name_seo , p . product_name , pl . id
FROM kategorije k , proizvodi p , proizvodi_oprema pl
WHERE p . id = pl . product_id AND p . id = ? AND pl . product_link_category_id = k . id
AND p . active = 1 AND p . show_product = 1 AND k . active = 1 AND k . show_category = 1
ORDER BY pl . id
SELECT k . category_name , k . category_name_seo , p . product_name , pl . id
FROM kategorije k , proizvodi p , proizvodi_oprema pl
WHERE p . id = pl . product_id AND p . id = 7932 AND pl . product_link_category_id = k . id
AND p . active = 1 AND p . show_product = 1 AND k . active = 1 AND k . show_category = 1
ORDER BY pl . id ;
Copy