| 1 |
0.56 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 = 186 and active = 1;
|
| 2 |
0.52 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 = 592 and active = 1;
|
| 3 |
0.31 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: [
1780700525
"cache_tree_aim_592"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_592');
|
| 4 |
0.35 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 = 46 and active = 1;
|
| 5 |
0.47 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: [
1780700525
"cache_tree_aim_46"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_46');
|
| 6 |
0.35 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;
|
| 7 |
0.38 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: [
1780700525
"cache_tree_aim_21"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21');
|
| 8 |
0.40 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;
|
| 9 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 10 |
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
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;
|
| 11 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 12 |
0.34 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;
|
| 13 |
0.35 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: [
1780700525
"cache_tree_aim_21"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21');
|
| 14 |
0.34 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;
|
| 15 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 16 |
0.35 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;
|
| 17 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 18 |
0.31 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 = 99729
ORDER BY file_type;
|
| 19 |
0.23 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 = 99729 AND p.share_link != '' AND p.active = 1;
|
| 20 |
0.29 ms |
SELECT *
FROM proizvodi_rejting_star
WHERE product_id = ?
SELECT *
FROM proizvodi_rejting_star
WHERE product_id = 99729;
|
| 21 |
0.29 ms |
SELECT *
FROM proizvodi_komentari
WHERE id_proizvoda = ? and active = 1
ORDER BY vreme DESC
SELECT *
FROM proizvodi_komentari
WHERE id_proizvoda = 99729 and active = 1
ORDER BY vreme DESC;
|
| 22 |
0.65 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');
|
| 23 |
0.60 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 = 99729 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;
|
| 24 |
0.75 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 = 592 and active = 1;
|
| 25 |
0.63 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: [
1780700525
"cache_tree_aim_592"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_592');
|
| 26 |
0.48 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 = 46 and active = 1;
|
| 27 |
0.54 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: [
1780700525
"cache_tree_aim_46"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_46');
|
| 28 |
0.49 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;
|
| 29 |
0.54 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: [
1780700525
"cache_tree_aim_21"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21');
|
| 30 |
0.36 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;
|
| 31 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 32 |
0.39 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;
|
| 33 |
0.31 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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 34 |
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
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;
|
| 35 |
0.42 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: [
1780700525
"cache_tree_aim_21"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21');
|
| 36 |
0.34 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;
|
| 37 |
0.30 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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 38 |
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
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;
|
| 39 |
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: [
1780700525
"cache_tree_aim_1"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_1');
|
| 40 |
23.76 ms |
SELECT COUNT(p.id) broj_proizvoda, b.id AS brand_id, b.brand_name, brand_image
FROM proizvodi p, proizvodjaci b
WHERE p.brand_id = b.id
AND p.active = 1 AND p.show_product=1 AND b.active = 1 AND b.show_brand = 1
AND (p.copy_from_id is NULL OR p.copy_from_id = '') AND p.category_id = ? AND p.fl_alat = 1
GROUP BY p.brand_id
ORDER BY b.brand_name
SELECT COUNT(p.id) broj_proizvoda, b.id AS brand_id, b.brand_name, brand_image
FROM proizvodi p, proizvodjaci b
WHERE p.brand_id = b.id
AND p.active = 1 AND p.show_product=1 AND b.active = 1 AND b.show_brand = 1
AND (p.copy_from_id is NULL OR p.copy_from_id = '') AND p.category_id = 592 AND p.fl_alat = 1
GROUP BY p.brand_id
ORDER BY b.brand_name;
|
| 41 |
0.73 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: [
1780700525
"cache_tree_aim_21"
]
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > 1780700525 THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN ('cache_tree_aim_21');
|
| 42 |
1.13 ms |
SELECT b.id AS brand_id, b.brand_name, b.num_of_products_aim AS broj_proizvoda
FROM proizvodjaci b
WHERE b.active = 1 AND b.show_brand = 1
ORDER BY broj_proizvoda DESC
LIMIT 25
SELECT b.id AS brand_id, b.brand_name, b.num_of_products_aim AS broj_proizvoda
FROM proizvodjaci b
WHERE b.active = 1 AND b.show_brand = 1
ORDER BY broj_proizvoda DESC
LIMIT 25;
|
| 43 |
25.64 ms |
SELECT COUNT(p.id) AS uk_broj_aktivnih
FROM proizvodi p
WHERE p.active = 1 AND p.show_product = 1
SELECT COUNT(p.id) AS uk_broj_aktivnih
FROM proizvodi p
WHERE p.active = 1 AND p.show_product = 1;
|
| 44 |
0.89 ms |
SELECT COUNT(*) AS num_brands
FROM proizvodjaci b
WHERE active = 1 AND show_brand = 1 AND num_of_products_aim > 0
SELECT COUNT(*) AS num_brands
FROM proizvodjaci b
WHERE active = 1 AND show_brand = 1 AND num_of_products_aim > 0;
|
| 45 |
0.36 ms |
SELECT * FROM upload_images ORDER BY id
SELECT * FROM upload_images ORDER BY id;
|