DEBUG enable Num SQL queries:126 Num fetched rows:414 including array rows:11 Time of script run:0.23463988304138 Time of SQL queries:0.20963501930237 Timers out: Счетчик "Подгототовка страницы", время выполнения - 0.0025с Счетчик "ModIshopGood Good statistic", время выполнения - 0с Счетчик "ModIshopGood bread", время выполнения - 0.0009с Счетчик "ModIshopGood photos", время выполнения - 0.0129с Счетчик "ModIshopGood main data", время выполнения - 0.0411с Счетчик "ModIshopGood params", время выполнения - 0.0021с Счетчик "ModIshopGood Nalichie", время выполнения - 0.1631с Счетчик "ModIshopGood mklass", время выполнения - 0.0001с Счетчик "Start GetDeliveryList", время выполнения - 0с Счетчик "Get DeliveryList from cache", время выполнения - 0.0001с Счетчик "DeliveryList transforms", время выполнения - 0с Счетчик "ModIshopGood delivery", время выполнения - 0с Счетчик "Module=ishop", время выполнения - 0.2228с Счетчик "Block=stat", время выполнения - 0с Счетчик "Block=cssstylescard", время выполнения - 0с Счетчик "Block=headcardjs", время выполнения - 0с Счетчик "Block=header", время выполнения - 0.0001с Счетчик "Block=catalogtree", время выполнения - 0.0004с Счетчик "Block=retailrocketblocks", время выполнения - 0.0001с Счетчик "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/good_23023037312/" AND active = 1 # Num rows 0Run time:Time of run:0.0003209114074707
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.00034618377685547
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.00030112266540527
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.0002439022064209
SELECT index_id,title,domen
FROM leonardo_kz_ru.leo_index WHERE parent_index_id=2 AND alias
LIKE 'good_23023037312' LIMIT 1; # Num rows 0Run time:Time of run:0.00041699409484863
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.00026202201843262
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.00020313262939453
SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 2 # Num rows 1Run time:Time of run:0.00016999244689941
SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00024819374084473
UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00022506713867188
SELECT client_id FROM leo_clients_unregistered WHERE register_code='981fdf69f50881c67271c3169f881c95da836c2e' # Num rows 0Run time:Time of run:0.00071001052856445
INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('981fdf69f50881c67271c3169f881c95da836c2e',1743921662) # Num rows 1Run time:Time of run:0.00028204917907715
SELECT client_id FROM leo_clients_unregistered WHERE register_code='981fdf69f50881c67271c3169f881c95da836c2e' # Num rows 1Run time:Time of run:0.00041294097900391
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=23023037312 ORDER BY f1; # Num rows 1Run time:Time of run:0.00042605400085449
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=23023000912 # Num rows 1Run time:Time of run:0.0004279613494873
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023037312' # Num rows 1Run time:Time of run:0.00099515914916992
SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 136Run time:Time of run:0.00051999092102051
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.00064516067504883
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Распродажа декупажной бумаги 2024" # Num rows 4Run time:Time of run:0.0068230628967285
SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 85Run time:Time of run:0.00039410591125488
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=567044806 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00041508674621582
SELECT t2.FileName FROM images.detail_photo AS t2 WHERE DetailId=23023037312 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00031399726867676
SELECT FileName FROM images.goods_photo WHERE GoodId=23023000912 AND PhotoQualityId<3 AND RoznAllow=1 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 2Run time:Time of run:0.00049805641174316
SELECT videolink,preview FROM images.goods_video WHERE GoodId=23023000912 AND (DetailId=0 OR DetailId=23023037312) # Num rows 0Run time:Time of run:0.00023198127746582
SELECT * FROM leo_goods_params AS t1,leo_actions AS t2 WHERE t1.id_good=23023000912 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.0021140575408936
SELECT count(*) FROM `leo_details` AS t1, leo_goods_params AS t2 WHERE t1.`id_good`=t2.id_good AND t1.`id_detail` = 23023037312 AND t2.id_param=72250129794 # Num rows 1Run time:Time of run:0.00035214424133301
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=23023000912 GROUP BY t2.id_detail
ORDER BY t2.detailname ASC # Num rows 36Run time:Time of run:0.00047397613525391
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023023562 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00029897689819336
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023023562' # Num rows 1Run time:Time of run:0.00020003318786621
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023028892 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00034904479980469
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023028892' # Num rows 1Run time:Time of run:0.00087904930114746
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023033432 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00028204917907715
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023033432' # Num rows 1Run time:Time of run:0.00021195411682129
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023035172 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00028491020202637
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023035172' # Num rows 1Run time:Time of run:0.00018882751464844
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023037312 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00028085708618164
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023041222 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00035905838012695
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023041222' # Num rows 1Run time:Time of run:0.00025606155395508
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023042192 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.0004880428314209
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023042192' # Num rows 1Run time:Time of run:0.00077199935913086
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023044832 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00030803680419922
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023044832' # Num rows 1Run time:Time of run:0.00026798248291016
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023054342 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00036191940307617
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023054342' # Num rows 1Run time:Time of run:0.00018405914306641
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023056292 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00027298927307129
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023056292' # Num rows 1Run time:Time of run:0.00082111358642578
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023065962 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00027799606323242
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023065962' # Num rows 1Run time:Time of run:0.00018119812011719
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023080452 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00025606155395508
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023080452' # Num rows 1Run time:Time of run:0.00021481513977051
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023087162 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00032997131347656
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023087162' # Num rows 1Run time:Time of run:0.00071406364440918
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023091102 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00028300285339355
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023091102' # Num rows 1Run time:Time of run:0.0002281665802002
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023092002 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00024795532226562
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023092002' # Num rows 1Run time:Time of run:0.00062108039855957
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023095942 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00024604797363281
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023095942' # Num rows 1Run time:Time of run:0.00018501281738281
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023099492 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00026416778564453
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023099492' # Num rows 1Run time:Time of run:0.00020194053649902
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023115652 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00036406517028809
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023115652' # Num rows 1Run time:Time of run:0.00023698806762695
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023133242 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00026798248291016
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023133242' # Num rows 1Run time:Time of run:0.00067400932312012
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023148192 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00026988983154297
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023148192' # Num rows 1Run time:Time of run:0.00022506713867188
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023165682 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00023198127746582
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023165682' # Num rows 1Run time:Time of run:0.00018501281738281
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023178252 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.0002739429473877
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023178252' # Num rows 1Run time:Time of run:0.00018906593322754
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023196322 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00023198127746582
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023196322' # Num rows 1Run time:Time of run:0.00088405609130859
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023204692 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 3Run time:Time of run:0.00028085708618164
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023204692' # Num rows 1Run time:Time of run:0.00022792816162109
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=23023019612 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 4Run time:Time of run:0.00025701522827148
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d23023019612' # Num rows 1Run time:Time of run:0.00018000602722168
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211810074 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00023794174194336
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211810074 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00025606155395508
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211810074' # Num rows 1Run time:Time of run:0.0001981258392334
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211830574 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00025200843811035
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211830574 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00026488304138184
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211830574' # Num rows 1Run time:Time of run:0.00020098686218262
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211799064 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00025200843811035
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211799064 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00026512145996094
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211799064' # Num rows 1Run time:Time of run:0.00019001960754395
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211863434 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00024604797363281
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211863434 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00021886825561523
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211863434' # Num rows 1Run time:Time of run:0.00097799301147461
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211883424 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00025415420532227
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211883424 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00023698806762695
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211883424' # Num rows 1Run time:Time of run:0.00021815299987793
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211891624 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00024604797363281
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211891624 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00024700164794922
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211891624' # Num rows 1Run time:Time of run:0.00018405914306641
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211852194 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00024604797363281
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211852194 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00023102760314941
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211852194' # Num rows 1Run time:Time of run:0.00023198127746582
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211972694 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00030899047851562
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211972694 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00023984909057617
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211972694' # Num rows 1Run time:Time of run:0.00084686279296875
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211954104 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00026488304138184
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71211954104 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00024890899658203
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71211954104' # Num rows 1Run time:Time of run:0.00020885467529297
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71212020234 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00023698806762695
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71212020234 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00021696090698242
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71212020234' # Num rows 1Run time:Time of run:0.00090408325195312
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71212005704 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.0002739429473877
SELECT t2.FileName
FROM images.detail_photo AS t2
WHERE DetailId=71212005704 AND PhotoQualityId<3 ORDER BY GoodPriority DESC,TreePriority DESC,FileName ASC # Num rows 1Run time:Time of run:0.00025701522827148
SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d71212005704' # Num rows 1Run 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=23023000912 AND t1.id_param!=-5 ORDER BY t2.name,t1.value; # Num rows 14Run time:Time of run:0.00035881996154785
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=23023037312 ORDER BY t2.name,t1.value; # Num rows 2Run time:Time of run:0.00025510787963867
SELECT t2.filename, t2.id_purpose, t2.id_good, t2.id_detail, t2.filetype FROM images.goodfiles AS t2 WHERE (id_good = 23023000912 OR id_detail = 23023037312) AND t2.filename LIKE "%.pdf%" ORDER BY t2.filename # Num rows 0Run time:Time of run:0.00028800964355469
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=567044806; # Num rows 0Run time:Time of run:0.00042390823364258
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=567044806 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.00027203559875488
SELECT * FROM images.good_links WHERE id_good=23023000912 # Num rows 1Run time:Time of run:0.00016498565673828
SELECT * FROM images.good_links WHERE id_good=23023000912 # Num rows 1Run time:Time of run:0.00014901161193848
SELECT * FROM images.goodlinks WHERE id_goodlink = 23023000912 OR id_good=23023000912 # Num rows 3Run time:Time of run:0.04249095916748
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=23023000912 AND id_goodlink!=23023000912 AND linktype=3110748592 GROUP BY `id_goodlink`
UNION ALL
SELECT id_good AS id_goods,id_detail FROM images.goodlinks WHERE id_good!=23023000912 AND id_goodlink=23023000912 AND linktype=3110748592 GROUP BY `id_good`
)T GROUP BY id_goods # Num rows 3Run time:Time of run:0.11720991134644
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=5030200246 LIMIT 1; # Num rows 0Run time:Time of run:0.00037598609924316
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=8253902742 LIMIT 1; # Num rows 0Run time:Time of run:0.00020694732666016
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=33593609302 LIMIT 1; # Num rows 0Run time:Time of run:0.00029110908508301
SELECT * FROM images.goodlinks WHERE id_good=23023000912 # Num rows 2Run time:Time of run:0.00026893615722656
SELECT * FROM(
SELECT id_goodlink AS id_goods,id_detail FROM images.goodlinks WHERE id_good=23023000912 AND id_goodlink!=23023000912 AND linktype=105 GROUP BY `id_goodlink`
)T GROUP BY id_goods # Num rows 0Run time:Time of run:0.00028800964355469
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=23023037312 OR leo_mclasses_goods.id_good=leo_details.id_good) AND leo_details.id_detail=23023037312 GROUP BY leo_mclasses.id ORDER BY leo_mclasses.id DESC LIMIT 5; # Num rows 1Run time:Time of run:0.00080108642578125
SELECT html
FROM leonardo_kz_ru.leo_template WHERE template_id=21 # Num rows 1Run time:Time of run:0.00031900405883789
SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/good_23023037312/" AND active = 1 # Num rows 0Run time:Time of run:0.0002899169921875