DEBUG enable Num SQL queries:40 Num fetched rows:280 including array rows:9 Time of script run:0.073594093322754 Time of SQL queries:0.060616493225098 Timers out: Счетчик "Подгототовка страницы", время выполнения - 0.003с Счетчик "ModIshopGood Good statistic", время выполнения - 0с Счетчик "ModIshopGood bread", время выполнения - 0.0007с Счетчик "ModIshopGood photos", время выполнения - 0.0022с Счетчик "ModIshopGood main data", время выполнения - 0.0033с Счетчик "ModIshopGood params", время выполнения - 0.0087с Счетчик "ModIshopGood Nalichie", время выполнения - 0.0443с Счетчик "ModIshopGood mklass", время выполнения - 0.0001с Счетчик "Start GetDeliveryList", время выполнения - 0с Счетчик "Get DeliveryList from cache", время выполнения - 0.0002с Счетчик "DeliveryList transforms", время выполнения - 0с Счетчик "ModIshopGood delivery", время выполнения - 0с Счетчик "Module=ishop", время выполнения - 0.0618с Счетчик "Block=stat", время выполнения - 0с Счетчик "Block=cssstylescard", время выполнения - 0с Счетчик "Block=headcardjs", время выполнения - 0с Счетчик "Block=header", время выполнения - 0.0002с Счетчик "Block=catalogtree", время выполнения - 0.0005с Счетчик "Block=retailrocketblocks", время выполнения - 0.0001с Счетчик "Block=footer", время выполнения - 0.0002с Счетчик "Block=appdownload", время выполнения - 0.0001с Счетчик "Block=footercardjs", время выполнения - 0.0002с Счетчик "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/good_5010100433/" AND active = 1 # Num rows 0Run time:Time of run:0.00059390068054199
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.00021100044250488
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.00024986267089844
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.00025606155395508
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=2 AND alias
LIKE 'good_5010100433' LIMIT 1; # Num rows 0Run time:Time of run:0.00021004676818848
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.00029087066650391
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00024104118347168
SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 2 # Num rows 1Run time:Time of run:0.00038599967956543
SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00021481513977051
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS0"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00032997131347656
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00015521049499512
SELECT client_id FROM leo_clients_unregistered WHERE register_code='e34dd13c92b8aa68c1c89bcdf11cbf9df0a217bb' # Num rows 0Run time:Time of run:0.00075793266296387
INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('e34dd13c92b8aa68c1c89bcdf11cbf9df0a217bb',1737579000) # Num rows 1Run time:Time of run:0.0002131462097168
SELECT client_id FROM leo_clients_unregistered WHERE register_code='e34dd13c92b8aa68c1c89bcdf11cbf9df0a217bb' # Num rows 1Run time:Time of run:0.00019407272338867
SELECT t2.id_detail,t2.id_good,CONCAT_WS(' ',t4.f_tree_fullname,t1.goodname,t2.detailname) AS f1,CONCAT_WS('\n\n',t1.gooddescr,t6.detaildescr) AS f2, 0 AS none ,t1.id_tree,t1.dimension,t1.price, NULL, t1.f_tree_id
FROM leonardo_kz.leo_details AS t2
LEFT JOIN leonardo_kz.leo_goods AS t1 ON t2.id_good=t1.id_good
LEFT JOIN leonardo_kz.leo_tistree AS t4 ON t4.f_tree_id=t1.f_tree_id
LEFT JOIN leo_detail_desc AS t6 ON t2.id_detail=t6.id_detail
WHERE t2.id_detail=5010100433 ORDER BY f1; # Num rows 1Run time:Time of run:0.00030398368835449
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=5010100433 # Num rows 1Run time:Time of run:0.00038909912109375
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d5010100433' # Num rows 1Run time:Time of run:0.00032711029052734
SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 141Run time:Time of run:0.00044989585876465
SELECT t2.FileName FROM images.detail_photo AS t2 WHERE DetailId=5010100433 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 8Run time:Time of run:0.00034189224243164
SELECT FileName FROM images.goods_photo WHERE GoodId=5010100433 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 0Run time:Time of run:0.00025200843811035
SELECT videolink,preview FROM images.goods_video WHERE GoodId=5010100433 AND (DetailId=0 OR DetailId=5010100433) # Num rows 0Run time:Time of run:0.00017905235290527
SELECT * FROM leo_goods_params AS t1,leo_actions AS t2 WHERE t1.id_good=5010100433 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.0021209716796875
SELECT count(*) FROM `leo_details` AS t1, leo_goods_params AS t2 WHERE t1.`id_good`=t2.id_good AND t1.`id_detail` = 5010100433 AND t2.id_param=72250129794 # Num rows 1Run time:Time of run:0.00031304359436035
SELECT t2.id_detail,t2.detailname,t2.colorcode, t3.goodname
FROM leonardo_kz.leo_details AS t2
LEFT JOIN leonardo_kz.leo_goods AS t3 ON t2.id_good=t3.id_good
WHERE t2.id_good=5010100433 GROUP BY t2.id_detail
ORDER BY t2.detailname ASC # Num rows 1Run time:Time of run:0.00031113624572754
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=5010100433 AND t1.id_param!=-5 ORDER BY t2.name,t1.value; # Num rows 11Run time:Time of run:0.00032305717468262
SELECT t2.name,t1.value, t1.id_param
FROM leonardo_kz.leo_details_params AS t1
LEFT JOIN leonardo_kz.paramsd AS t2 ON t1.id_param=t2.id_param
WHERE t1.id_detail=5010100433 ORDER BY t2.name,t1.value; # Num rows 4Run time:Time of run:0.00021600723266602
SELECT t2.filename, t2.id_purpose, t2.id_good, t2.id_detail, t2.filetype FROM images.goodfiles AS t2 WHERE (id_good = 5010100433 OR id_detail = 5010100433) AND t2.filename LIKE "%.pdf%" ORDER BY t2.filename # Num rows 0Run time:Time of run:0.00026702880859375
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=560280760; # Num rows 0Run time:Time of run:0.00031614303588867
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 6Run time:Time of run:0.00065994262695312
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Распродажа декупажной бумаги 2024" # Num rows 4Run time:Time of run:0.0042290687561035
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 83Run time:Time of run:0.0003349781036377
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=560280760 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00026583671569824
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=560280760 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.00022697448730469
SELECT * FROM images.good_links WHERE id_good=5010100433 # Num rows 0Run time:Time of run:0.00020313262939453
SELECT * FROM images.good_links WHERE id_good=5010100433 # Num rows 0Run time:Time of run:0.0001380443572998
SELECT * FROM images.goodlinks WHERE id_goodlink = 5010100433 OR id_good=5010100433 # Num rows 0Run time:Time of run:0.042463064193726
SELECT * FROM images.goodlinks WHERE id_good=5010100433 # Num rows 0Run time:Time of run:0.00029706954956055
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_detail=5010100433 OR leo_mclasses_goods.id_good=leo_details.id_good) AND leo_details.id_detail=5010100433 GROUP BY leo_mclasses.id ORDER BY leo_mclasses.id DESC LIMIT 5; # Num rows 0Run time:Time of run:0.00084495544433594
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=21 # Num rows 1Run time:Time of run:0.00019407272338867
SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/good_5010100433/" AND active = 1 # Num rows 0Run time:Time of run:0.0001981258392334