DEBUG enable Num SQL queries:89 Num fetched rows:359 including array rows:15 Time of script run:0.35942602157593 Time of SQL queries:0.34002661705017 Timers out: Счетчик "Подгототовка страницы", время выполнения - 0.002с Счетчик "ModIshopGroup Good statistic", время выполнения - 0.0002с Счетчик "ModIshopGroup Bread", время выполнения - 0.0004с Счетчик "ModIshopGroup Photos", время выполнения - 0.0106с Счетчик "ModIshopGroup Main content", время выполнения - 0.0209с Счетчик "ModIshopGroup Params", время выполнения - 0.0017с Счетчик "ModIshopGroup Rate", время выполнения - 0.3114с Счетчик "ModIshopGroup Mk", время выполнения - 0с Счетчик "Start GetDeliveryList", время выполнения - 0с Счетчик "Get DeliveryList from cache", время выполнения - 0.0002с Счетчик "DeliveryList transforms", время выполнения - 0.0001с Счетчик "ModIshopGroup Delivery", время выполнения - 0с Счетчик "Module=ishop", время выполнения - 0.3481с Счетчик "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.0001с Счетчик "Block=jivosite", время выполнения - 0.0001с Счетчик "Block=statmailru", время выполнения - 0.0001с
SELECT new_link FROM leo_redirect WHERE old_link = "/ishop/group_1739170812/" AND active = 1 # Num rows 0Run time:Time of run:0.00025296211242676
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.0001521110534668
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.00023889541625977
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.00025510787963867
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=2 AND alias
LIKE 'group_1739170812' LIMIT 1; # Num rows 0Run time:Time of run:0.00022006034851074
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.0002288818359375
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00022983551025391
SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 2 # Num rows 1Run time:Time of run:0.00016617774963379
SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00015902519226074
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.0001981258392334
SELECT client_id FROM leo_clients_unregistered WHERE register_code='5d49c8d6c8d13f7e7369474afc0e6ce679daf8d5' # Num rows 0Run time:Time of run:0.00081610679626465
INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('5d49c8d6c8d13f7e7369474afc0e6ce679daf8d5',1743739837) # Num rows 1Run time:Time of run:0.00019288063049316
SELECT client_id FROM leo_clients_unregistered WHERE register_code='5d49c8d6c8d13f7e7369474afc0e6ce679daf8d5' # Num rows 1Run time:Time of run:0.00022411346435547
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=1739170812 LIMIT 1; # Num rows 1Run time:Time of run:0.00023794174194336
SELECT t1.id_detail,t1.detailname FROM leonardo_kz.leo_details AS t1 WHERE t1.id_good=1739170812 ORDER BY t1.detailname # Num rows 18Run time:Time of run:0.0002739429473877
SELECT MIN(id_detail)
FROM leo_details
WHERE id_good=1739170812 # Num rows 1Run time:Time of run:0.00017285346984863
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=1739170812 # Num rows 1Run time:Time of run:0.00040102005004883
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g1739170812' # Num rows 1Run time:Time of run:0.00025510787963867
SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 136Run time:Time of run:0.00050091743469238
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.00072288513183594
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Распродажа декупажной бумаги 2024" # Num rows 4Run time:Time of run:0.0053260326385498
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 85Run time:Time of run:0.00045108795166016
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=566693851 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00026679039001465
SELECT FileName FROM images.goods_photo WHERE GoodId=1739170812 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00033307075500488
SELECT videolink,preview FROM images.goods_video WHERE GoodId=1739170812 # Num rows 0Run time:Time of run:0.00023984909057617
SELECT * FROM leo_goods_params AS t1,leo_actions AS t2 WHERE t1.id_good=1739170812 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.0020158290863037
SELECT count(*) FROM `leo_details` AS t1, leo_goods_params AS t2 WHERE t1.`id_good`=t2.id_good AND t1.`id_good` = 1739170812 AND t2.id_param=65531636804 # Num rows 1Run time:Time of run:0.00028419494628906
SELECT value FROM leo_reviews_onpages WHERE id_good=1739170812; # Num rows 1Run time:Time of run:0.00019288063049316
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 1739170812 AND `status` = 1 # Num rows 0Run time:Time of run:0.00019097328186035
SELECT value FROM leo_reviews_onpages WHERE id_good=1739170812; # Num rows 1Run time:Time of run:0.00017404556274414
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 1739170812 AND `status` = 1 # Num rows 0Run time:Time of run:0.00020813941955566
SELECT t2.id_detail,t2.detailname,t2.colorcode
FROM leonardo_kz.leo_details AS t2
WHERE t2.id_good=1739170812 GROUP BY t2.id_detail
ORDER BY t2.detailname ASC # Num rows 18Run time:Time of run:0.00025796890258789
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=1739172332 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00029397010803223
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d1739172332' # Num rows 1Run time:Time of run:0.00071001052856445
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=1739171972 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00025606155395508
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d1739171972' # Num rows 1Run time:Time of run:0.00068807601928711
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=1739172182 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00025010108947754
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d1739172182' # Num rows 1Run time:Time of run:0.00018978118896484
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=1739172542 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00023007392883301
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d1739172542' # Num rows 1Run time:Time of run:0.00019288063049316
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=1739172682 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00024700164794922
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d1739172682' # Num rows 1Run time:Time of run:0.00073504447937012
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383082042 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00029897689819336
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383082042' # Num rows 1Run time:Time of run:0.0006711483001709
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383085262 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00025796890258789
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383085262' # Num rows 1Run time:Time of run:0.00073790550231934
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383080002 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00024199485778809
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383080002' # Num rows 1Run time:Time of run:0.00018596649169922
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383082192 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00022292137145996
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383082192' # Num rows 1Run time:Time of run:0.00025606155395508
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383084402 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00022792816162109
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383084402' # Num rows 1Run time:Time of run:0.00025701522827148
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=8383083692 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00024890899658203
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d8383083692' # Num rows 1Run time:Time of run:0.00023102760314941
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745960492 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00027203559875488
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745960492' # Num rows 1Run time:Time of run:0.00059390068054199
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745961102 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00023984909057617
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745961102' # Num rows 1Run time:Time of run:0.00022506713867188
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745962342 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00025105476379395
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745962342' # Num rows 1Run time:Time of run:0.00059103965759277
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745964142 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00025820732116699
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745964142' # Num rows 1Run time:Time of run:0.00020813941955566
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745965102 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00022697448730469
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745965102' # Num rows 1Run time:Time of run:0.00020384788513184
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745965742 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00024294853210449
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745965742' # Num rows 1Run time:Time of run:0.00018095970153809
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=10745966782 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00023698806762695
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d10745966782' # Num rows 1Run time:Time of run:0.00063991546630859
SELECT gooddescr FROM leo_goods_desc WHERE id_good=1739170812 # Num rows 0Run time:Time of run:0.00019311904907227
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=1739170812 AND t1.id_param!=-5 ORDER BY t2.name,t1.value; # Num rows 12Run time:Time of run:0.00035810470581055
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=566693851; # Num rows 0Run time:Time of run:0.00035500526428223
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=566693851 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.00027298927307129
SELECT * FROM images.good_links
WHERE id_good=1739170812 # Num rows 1Run time:Time of run:0.00017809867858887
SELECT * FROM images.good_links WHERE id_good=1739170812 # Num rows 1Run time:Time of run:0.0001518726348877
SELECT id_goodlink,id_detail FROM images.goodlinks WHERE id_good=1739170812 AND linktype=100; # Num rows 2Run time:Time of run:0.00018692016601562
SELECT value FROM leo_reviews_onpages WHERE id_good=103881401804; # Num rows 1Run time:Time of run:0.00016307830810547
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 103881401804 AND `status` = 1 # Num rows 0Run time:Time of run:0.00019311904907227
SELECT value FROM leo_reviews_onpages WHERE id_good=98632920704; # Num rows 1Run time:Time of run:0.00015711784362793
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 98632920704 AND `status` = 1 # Num rows 0Run time:Time of run:0.00016093254089355
SELECT * FROM images.goodlinks WHERE id_goodlink = 1739170812 OR id_good=1739170812 # Num rows 16Run time:Time of run:0.04203200340271
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=1739170812 AND id_goodlink!=1739170812 AND linktype=3110748592 GROUP BY `id_goodlink`
UNION ALL
SELECT id_good AS id_goods,id_detail FROM images.goodlinks WHERE id_good!=1739170812 AND id_goodlink=1739170812 AND linktype=3110748592 GROUP BY `id_good`
)T GROUP BY id_goods # Num rows 2Run time:Time of run:0.11621308326721
SELECT SQL_NO_CACHE t4.id_tree,goodname,gooddescr,dimension,f_tree_id,cardtype,tis_fullname,prepic,detailcount,goodrating,oncedetail,price,good_id,t1.id_good,t1.discount FROM leo_goods AS t1 LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1.id_good=3965399282 LIMIT 1; # Num rows 0Run time:Time of run:0.0002741813659668
SELECT SQL_NO_CACHE t4.id_tree,goodname,gooddescr,dimension,f_tree_id,cardtype,tis_fullname,prepic,detailcount,goodrating,oncedetail,price,good_id,t1.id_good,t1.discount FROM leo_goods AS t1 LEFT JOIN leo_goods_month ON t1.id_good=leo_goods_month.good_id LEFT JOIN leo_tree_goods AS t4 ON t1.id_good=t4.id_good WHERE t1.id_good=5257616492 LIMIT 1; # Num rows 0Run time:Time of run:0.00025200843811035
SELECT * FROM images.goodlinks WHERE id_good=1739170812 # Num rows 3Run time:Time of run:0.00020003318786621
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=1739170812 AND id_goodlink!=1739170812 AND linktype=105 GROUP BY `id_goodlink`
)T GROUP BY id_goods # Num rows 0Run time:Time of run:0.00023794174194336
SELECT COUNT(*) FROM leo_reviews WHERE good_id=1739170812 AND status=1 # Num rows 1Run time:Time of run:0.00020122528076172
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=1739170812
OR leo_mclasses_goods.id_detail=leo_details.id_detail)
AND leo_details.id_good=1739170812
GROUP BY leo_mclasses.id
ORDER BY leo_mclasses.id DESC LIMIT 5; # Num rows 2Run time:Time of run:0.14972686767578
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=21 # Num rows 1Run time:Time of run:0.00028109550476074
SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/group_1739170812/" AND active = 1 # Num rows 0Run time:Time of run:0.00020503997802734