DEBUG enable Num SQL queries:51 Num fetched rows:282 including array rows:12 Time of script run:0.20638012886047 Time of SQL queries:0.19366669654846 Timers out: Счетчик "Подгототовка страницы", время выполнения - 0.0017с Счетчик "ModIshopGood Good statistic", время выполнения - 0с Счетчик "ModIshopGood bread", время выполнения - 0.0006с Счетчик "ModIshopGood photos", время выполнения - 0.0118с Счетчик "ModIshopGood main data", время выполнения - 0.0041с Счетчик "ModIshopGood params", время выполнения - 0.002с Счетчик "ModIshopGood Nalichie", время выполнения - 0.1757с Счетчик "ModIshopGood mklass", время выполнения - 0с Счетчик "Start GetDeliveryList", время выполнения - 0с Счетчик "Get DeliveryList from cache", время выполнения - 0.0001с Счетчик "DeliveryList transforms", время выполнения - 0с Счетчик "ModIshopGood delivery", время выполнения - 0с Счетчик "Module=ishop", время выполнения - 0.1965с Счетчик "Block=stat", время выполнения - 0с Счетчик "Block=cssstylescard", время выполнения - 0с Счетчик "Block=headcardjs", время выполнения - 0с Счетчик "Block=header", время выполнения - 0.0001с Счетчик "Block=catalogtree", время выполнения - 0.0006с Счетчик "Block=retailrocketblocks", время выполнения - 0.0001с Счетчик "Block=footer", время выполнения - 0.0001с Счетчик "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/good_30467392512/" AND active = 1 # Num rows 0Run time:Time of run:0.00024294853210449
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.00015497207641602
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.00020098686218262
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.00021505355834961
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=2 AND alias
LIKE 'good_30467392512' LIMIT 1; # Num rows 0Run time:Time of run:0.00015997886657715
SELECT title,template_id,content,domen,index_id
FROM leonardo_kz_ru.leo_index WHERE index_id=2; # Num rows 1Run time:Time of run:0.00014996528625488
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00021696090698242
SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 2 # Num rows 1Run time:Time of run:0.00016903877258301
SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.0001978874206543
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00018501281738281
SELECT client_id FROM leo_clients_unregistered WHERE register_code='e8b1f00a3bf0541dda871c05006af77dd40ff50d' # Num rows 0Run time:Time of run:0.00070881843566895
INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('e8b1f00a3bf0541dda871c05006af77dd40ff50d',1743797965) # Num rows 1Run time:Time of run:0.00024890899658203
SELECT client_id FROM leo_clients_unregistered WHERE register_code='e8b1f00a3bf0541dda871c05006af77dd40ff50d' # Num rows 1Run time:Time of run:0.00023698806762695
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 leo_details AS t2 LEFT JOIN leo_goods AS t1 ON t2.id_good=t1.id_good LEFT JOIN 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=30467392512 ORDER BY f1; # Num rows 1Run time:Time of run:0.00031304359436035
SELECT t1.id_tree,t1.treename,t2.id_tree,t2.treename,t3.id_tree,t3.treename,t4.id_tree,t4.treename,t5.id_tree,t5.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 WHERE tn.id_good=30467391902 # Num rows 1Run time:Time of run:0.00030994415283203
SELECT card FROM leonardo_kz_test.leo_goods_cards WHERE cardid='d30467392512' # Num rows 1Run time:Time of run:0.00019502639770508
SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 136Run time:Time of run:0.00049901008605957
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.00075912475585938
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Распродажа декупажной бумаги 2024" # Num rows 4Run time:Time of run:0.0062799453735352
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 85Run time:Time of run:0.00042104721069336
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=566791416 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00031089782714844
SELECT t2.FileName FROM images.detail_photo AS t2 WHERE DetailId=30467392512 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 0Run time:Time of run:0.00025510787963867
SELECT FileName FROM images.goods_photo WHERE GoodId=30467391902 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00026988983154297
SELECT videolink,preview FROM images.goods_video WHERE GoodId=30467391902 AND (DetailId=0 OR DetailId=30467392512) # Num rows 0Run time:Time of run:0.00022292137145996
SELECT * FROM leo_goods_params AS t1,leo_actions AS t2 WHERE t1.id_good=30467391902 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.003230094909668
SELECT count(*) FROM `leo_details` AS t1, leo_goods_params AS t2 WHERE t1.`id_good`=t2.id_good AND t1.`id_detail` = 30467392512 AND t2.id_param=72250129794 # Num rows 1Run time:Time of run:0.00030303001403809
SELECT t2.id_detail,t2.detailname,t2.colorcode, t3.goodname
FROM leo_details AS t2
LEFT JOIN leo_goods AS t3 ON t2.id_good=t3.id_good
WHERE t2.id_good=30467391902 GROUP BY t2.id_detail
ORDER BY t2.detailname ASC # Num rows 1Run time:Time of run:0.00029516220092773
SELECT gooddescr FROM leo_goods_desc WHERE id_good=30467391902 # Num rows 0Run time:Time of run:0.00019288063049316
SELECT t2.name,t1.value,t1.id_param FROM leo_goods_params AS t1 LEFT JOIN params AS t2 ON t1.id_param=t2.id_param WHERE t1.id_good=30467391902 AND t1.id_param!=-5 ORDER BY t2.name,t1.value; # Num rows 13Run time:Time of run:0.00029397010803223
SELECT t2.name,t1.value, t1.id_param
FROM leo_details_params AS t1
LEFT JOIN paramsd AS t2 ON t1.id_param=t2.id_param
WHERE t1.id_detail=30467392512 ORDER BY t2.name,t1.value; # Num rows 1Run time:Time of run:0.00026702880859375
SELECT t2.filename, t2.id_purpose, t2.id_good, t2.id_detail, t2.filetype FROM images.goodfiles AS t2 WHERE (id_good = 30467391902 OR id_detail = 30467392512) AND t2.filename LIKE "%.pdf%" ORDER BY t2.filename # Num rows 0Run time:Time of run:0.00020599365234375
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=566791416; # Num rows 0Run time:Time of run:0.0003209114074707
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=566791416 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.00021600723266602
SELECT * FROM images.good_links WHERE id_good=30467391902 # Num rows 1Run time:Time of run:0.00024700164794922
SELECT * FROM images.good_links WHERE id_good=30467391902 # Num rows 1Run time:Time of run:0.00011587142944336
SELECT * FROM images.goodlinks WHERE id_goodlink = 30467391902 OR id_good=30467391902 # Num rows 1Run time:Time of run:0.057820081710815
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=30467391902 AND id_goodlink!=30467391902 AND linktype=3110748592 GROUP BY `id_goodlink`
UNION ALL
SELECT id_good AS id_goods,id_detail FROM images.goodlinks WHERE id_good!=30467391902 AND id_goodlink=30467391902 AND linktype=3110748592 GROUP BY `id_good`
)T GROUP BY id_goods # Num rows 1Run time:Time of run:0.11423897743225
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=3416099542 LIMIT 1; # Num rows 1Run time:Time of run:0.0003509521484375
SELECT count(*) FROM leo_goods_params WHERE `id_good` = 3416099542 AND id_param=65531636804 # Num rows 1Run time:Time of run:0.00022506713867188
SELECT SQL_NO_CACHE id_good,detailname,id_detail,prepic,detailsrating FROM leo_details WHERE id_good=3416099542 LIMIT 1; # Num rows 1Run time:Time of run:0.00019311904907227
SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leo_details_price WHERE id_detail=3416101222 AND id_city=46 # Num rows 1Run time:Time of run:0.00015783309936523
SELECT value FROM leo_reviews_onpages_details WHERE id_detail=3416101222; # Num rows -1Run time:Time of run:0.00014495849609375
SELECT `rating` FROM `leo_reviews` WHERE `detail_id` = 3416101222 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014901161193848
SELECT UNIX_TIMESTAMP(newtime) FROM leo_newdetails WHERE detail_id = 3416101222 # Num rows 1Run time:Time of run:0.00016188621520996
SELECT value FROM leo_reviews_onpages WHERE id_good=3416099542; # Num rows 1Run time:Time of run:0.0001678466796875
SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 3416099542 AND `status` = 1 # Num rows 0Run time:Time of run:0.00013494491577148
SELECT * FROM images.goodlinks WHERE id_good=30467391902 # Num rows 1Run time:Time of run:0.00015783309936523
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=30467391902 AND id_goodlink!=30467391902 AND linktype=105 GROUP BY `id_goodlink`
)T GROUP BY id_goods # Num rows 0Run time:Time of run:0.00020384788513184
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=30467392512 OR leo_mclasses_goods.id_good=leo_details.id_good) AND leo_details.id_detail=30467392512 GROUP BY leo_mclasses.id ORDER BY leo_mclasses.id DESC LIMIT 5; # Num rows 0Run time:Time of run:0.00047898292541504
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=21 # Num rows 1Run time:Time of run:0.00018000602722168
SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/good_30467392512/" AND active = 1 # Num rows 0Run time:Time of run:0.00016498565673828