DEBUG enable Num SQL queries:50 Num fetched rows:282 including array rows:10 Time of script run:0.26933693885803 Time of SQL queries:0.25550007820129 Timers out: Счетчик "Подгототовка страницы", время выполнения - 0.0022с Счетчик "ModIshopGroup Good statistic", время выполнения - 0.0002с Счетчик "ModIshopGroup Bread", время выполнения - 0.0006с Счетчик "ModIshopGroup Photos", время выполнения - 0.0129с Счетчик "ModIshopGroup Main content", время выполнения - 0.0066с Счетчик "ModIshopGroup Params", время выполнения - 0.0021с Счетчик "ModIshopGroup Rate", время выполнения - 0.2329с Счетчик "ModIshopGroup Mk", время выполнения - 0с Счетчик "Start GetDeliveryList", время выполнения - 0с Счетчик "Get DeliveryList from cache", время выполнения - 0.0001с Счетчик "DeliveryList transforms", время выполнения - 0с Счетчик "ModIshopGroup Delivery", время выполнения - 0с Счетчик "Module=ishop", время выполнения - 0.2585с Счетчик "Block=stat", время выполнения - 0с Счетчик "Block=cssstylescard", время выполнения - 0с Счетчик "Block=headcardjs", время выполнения - 0с Счетчик "Block=header", время выполнения - 0.0001с Счетчик "Block=catalogtree", время выполнения - 0.0005с Счетчик "Block=footer", время выполнения - 0.0002с Счетчик "Block=appdownload", время выполнения - 0.0001с Счетчик "Block=footercardjs", время выполнения - 0.0001с Счетчик "Block=ganalitics", время выполнения - 0.0001с Счетчик "Block=metrika", время выполнения - 0.0002с Счетчик "Block=jivosite", время выполнения - 0.0001с Счетчик "Block=statmailru", время выполнения - 0.0001с
SELECT new_link FROM leo_redirect WHERE old_link = "/ishop/group_278360/" AND active = 1 # Num rows 0Run time:Time of run:0.00028896331787109
SELECT id_city FROM leo_city_preffered WHERE city='Astana' ORDER BY `lock` DESC,countEnt DESC LIMIT 1; # Num rows -1Run time:Time of run:0.00017309188842773
SELECT id_city,path,name,ishop_id,ishop_name,kladr_id,country_id,utc,largest_dep_id,final_sale FROM leo_city WHERE path='astana'; # Num rows 1Run time:Time of run:0.00023317337036133
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=0 AND alias
LIKE 'ishop' LIMIT 1; # Num rows 1Run time:Time of run:0.00028014183044434
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=2 AND alias
LIKE 'group_278360' LIMIT 1; # Num rows 0Run time:Time of run:0.00023913383483887
SELECT IFNULL(NULLIF(lil.title,""), li.title) as title,li.template_id,li.content,li.domen,li.index_id
FROM leonardo_kz_ru.leo_index AS li LEFT JOIN leonardo_kz_ru.leo_index_lang AS lil ON li.index_id=lil.index_id AND lil.lang="kz" WHERE li.index_id=2; # Num rows 1Run time:Time of run:0.00027799606323242
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00025796890258789
SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 2 # Num rows 1Run time:Time of run:0.00019598007202148
SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00022387504577637
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS0"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00019097328186035
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00017595291137695
SELECT client_id FROM leo_clients_unregistered WHERE register_code='11ca3149b7180ef5130921fdf4461de93ef9f05c' # Num rows 0Run time:Time of run:0.0010011196136475
INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('11ca3149b7180ef5130921fdf4461de93ef9f05c',1743664734) # Num rows 1Run time:Time of run:0.00022196769714355
SELECT client_id FROM leo_clients_unregistered WHERE register_code='11ca3149b7180ef5130921fdf4461de93ef9f05c' # Num rows 1Run time:Time of run:0.00028586387634277
SELECT
t1.id_good,concat(t4.f_tree_fullname,' ',t1.goodname) AS f1, t1.gooddescr,0,t1.id_tree,t1.dimension,t1.price, NULL, t1.f_tree_id
FROM leonardo_kz.leo_goods AS t1
LEFT JOIN leonardo_kz.leo_tistree AS t4 ON t4.f_tree_id=t1.f_tree_id WHERE t1.id_good=278360 LIMIT 1; # Num rows 1Run time:Time of run:0.00030112266540527
SELECT t1.id_detail,t1.detailname FROM leonardo_kz.leo_details AS t1 WHERE t1.id_good=278360 ORDER BY t1.detailname # Num rows 2Run time:Time of run:0.00023603439331055
SELECT MIN(id_detail)
FROM leo_details
WHERE id_good=278360 # Num rows 1Run time:Time of run:0.00017094612121582
SELECT
t1.id_tree,IFNULL(NULLIF(lt1.treename,""),t1.treename) as treename,
t2.id_tree,IFNULL(NULLIF(lt2.treename,""),t2.treename) as treename,
t3.id_tree,IFNULL(NULLIF(lt3.treename,""),t3.treename) as treename,
t4.id_tree,IFNULL(NULLIF(lt4.treename,""),t4.treename) as treename,
t5.id_tree,IFNULL(NULLIF(lt5.treename,""),t5.treename) as treename
FROM leo_tree_goods AS tn
LEFT JOIN leo_tree AS t1 ON tn.id_tree=t1.id_tree
LEFT JOIN leo_tree AS t2 ON t1.shop_tree_id=t2.id_tree
LEFT JOIN leo_tree AS t3 ON t2.shop_tree_id=t3.id_tree
LEFT JOIN leo_tree AS t4 ON t3.shop_tree_id=t4.id_tree
LEFT JOIN leo_tree AS t5 ON t4.shop_tree_id=t5.id_tree
LEFT JOIN leo_tree_lang AS lt1 ON t1.id_tree=lt1.id_tree AND lt1.lang = "kz"
LEFT JOIN leo_tree_lang AS lt2 ON t2.id_tree=lt2.id_tree AND lt2.lang = "kz"
LEFT JOIN leo_tree_lang AS lt3 ON t3.id_tree=lt3.id_tree AND lt3.lang = "kz"
LEFT JOIN leo_tree_lang AS lt4 ON t1.id_tree=lt4.id_tree AND lt4.lang = "kz"
LEFT JOIN leo_tree_lang AS lt5 ON t1.id_tree=lt5.id_tree AND lt5.lang = "kz"
WHERE tn.id_good=278360 # Num rows 1Run time:Time of run:0.00054192543029785
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g278360' # Num rows 1Run time:Time of run:0.00022697448730469
SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 135Run time:Time of run:0.00053691864013672
SELECT * FROM leo_actions AS t1 WHERE t1.visible=1 AND t1.startaction<NOW() AND t1.endaction>NOW() AND (t1.region=0 || t1.region=3) # Num rows 4Run time:Time of run:0.00076007843017578
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Распродажа декупажной бумаги 2024" # Num rows 4Run time:Time of run:0.0072159767150879
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 85Run time:Time of run:0.00049805641174316
SELECT t1.id,t1.discount_id,t1.discount_value,t1.discountprice_value,t1.discount_from,t1.discountcode,t1.discount_start,t2.discount_description,t2.discount_type FROM leo_clients_discounts_unregistered AS t1 LEFT JOIN leo_discounts AS t2 ON t1.discount_id=t2.discount_id WHERE t1.client_id=566623464 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00033903121948242
SELECT FileName FROM images.goods_photo WHERE GoodId=278360 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00035405158996582
SELECT videolink,preview FROM images.goods_video WHERE GoodId=278360 # Num rows 0Run time:Time of run:0.00026416778564453
SELECT * FROM leo_goods_params AS t1,leo_actions AS t2 WHERE t1.id_good=278360 AND t1.id_param=-5 AND t1.value=t2.tisname AND t2.typeid > 0 AND t2.visible = 1 AND startaction<NOW() AND endaction>NOW() AND (t2.region=0 || t2.region=3) # Num rows 0Run time:Time of run:0.0033271312713623
SELECT count(*) FROM `leo_details` AS t1, leo_goods_params AS t2 WHERE t1.`id_good`=t2.id_good AND t1.`id_good` = 278360 AND t2.id_param=65531636804 # Num rows 1Run time:Time of run:0.0002741813659668
SELECT value FROM leo_reviews_onpages WHERE id_good=278360; # Num rows 1Run time:Time of run:0.00019693374633789
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 278360 AND `status` = 1 # Num rows 0Run time:Time of run:0.00019216537475586
SELECT value FROM leo_reviews_onpages WHERE id_good=278360; # Num rows 1Run time:Time of run:0.00021195411682129
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 278360 AND `status` = 1 # Num rows 0Run time:Time of run:0.00016593933105469
SELECT t2.id_detail,t2.detailname,t2.colorcode
FROM leonardo_kz.leo_details AS t2
WHERE t2.id_good=278360 GROUP BY t2.id_detail
ORDER BY t2.detailname ASC # Num rows 2Run time:Time of run:0.00022387504577637
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=278370 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.0003049373626709
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d278370' # Num rows 1Run time:Time of run:0.00020098686218262
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=278371 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00031709671020508
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d278371' # Num rows 1Run time:Time of run:0.0001828670501709
SELECT gooddescr FROM leo_goods_desc WHERE id_good=278360 # Num rows 0Run time:Time of run:0.00017619132995605
SELECT t2.name,t1.value,t1.id_param
FROM leonardo_kz.leo_goods_params AS t1
LEFT JOIN leonardo_kz.params AS t2 ON t1.id_param=t2.id_param
WHERE t1.id_good=278360 AND t1.id_param!=-5 ORDER BY t2.name,t1.value; # Num rows 14Run time:Time of run:0.0004429817199707
SELECT t1.count,t2.price,t4.goodname,t3.detailname,t1.id_detail,t5.f_tree_fullname,t2.sizes,tz.sizes,t4.discount,t4.dimension,t3.id_good,t1.market_source,t1.market_type,t1.market_id, t4.nds,t1.waited FROM leo_cart_unregistered AS t1 LEFT JOIN tis_dep AS t2 ON t1.id_detail=t2.code AND t2.dep_id=401 LEFT JOIN tis_dep AS tz ON t1.id_detail=tz.code AND tz.dep_id=1 LEFT JOIN leo_details AS t3 ON t1.id_detail=t3.id_detail LEFT JOIN leo_goods AS t4 ON t3.id_good=t4.id_good LEFT JOIN leo_tistree AS t5 ON t4.f_tree_id=t5.f_tree_id WHERE t1.client_id=566623464; # Num rows 0Run time:Time of run:0.00040197372436523
SELECT t1.id,t1.discount_id,t1.discount_value,t1.discountprice_value,t1.discount_from,t1.discountcode,t1.discount_start,t2.discount_description FROM leo_clients_discounts_unregistered AS t1 LEFT JOIN leo_discounts AS t2 ON t1.discount_id=t2.discount_id WHERE t1.client_id=566623464 AND t1.discount_start<NOW() AND t1.discount_end>NOW() AND t1.discount_from<=0 ORDER BY t1.id DESC LIMIT 1; # Num rows 0Run time:Time of run:0.00052785873413086
SELECT * FROM images.good_links
WHERE id_good=278360 # Num rows 0Run time:Time of run:0.00021791458129883
SELECT * FROM images.good_links WHERE id_good=278360 # Num rows 0Run time:Time of run:0.00017690658569336
SELECT * FROM images.goodlinks WHERE id_goodlink = 278360 OR id_good=278360 # Num rows 1Run time:Time of run:0.055060863494873
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=278360 AND id_goodlink!=278360 AND linktype=3110748592 GROUP BY `id_goodlink`
UNION ALL
SELECT id_good AS id_goods,id_detail FROM images.goodlinks WHERE id_good!=278360 AND id_goodlink=278360 AND linktype=3110748592 GROUP BY `id_good`
)T GROUP BY id_goods # Num rows 0Run time:Time of run:0.10373687744141
SELECT * FROM images.goodlinks WHERE id_good=278360 # Num rows 0Run time:Time of run:0.00025391578674316
SELECT COUNT(*) FROM leo_reviews WHERE good_id=278360 AND status=1 # Num rows 1Run time:Time of run:0.00017404556274414
SELECT leo_mclasses.* FROM leo_mclasses,leo_mclasses_goods,leo_details
WHERE visible=1 AND leo_mclasses.id=leo_mclasses_goods.id_mclasses
AND (leo_mclasses_goods.id_good=278360
OR leo_mclasses_goods.id_detail=leo_details.id_detail)
AND leo_details.id_good=278360
GROUP BY leo_mclasses.id
ORDER BY leo_mclasses.id DESC LIMIT 5; # Num rows 1Run time:Time of run:0.072743892669678
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=21 # Num rows 1Run time:Time of run:0.0002129077911377
SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/group_278360/" AND active = 1 # Num rows 0Run time:Time of run:0.00017690658569336