Каталог товаров

Головные уборы

DEBUG enable
Num SQL queries:130
Num fetched rows:114
including array rows:3
Time of script run:1.8655331134796
Time of SQL queries:0.17088961601257
Timers out:
Счетчик "Подгототовка страницы", время выполнения - 0.0043с
Счетчик "ModIshopTree tree data", время выполнения - 0.0017с
Счетчик "ModIshopTree breads", время выполнения - 0.0048с
Счетчик "ModIshopTree treecache", время выполнения - 0.0011с
Счетчик "ModIshopTree leftmenu", время выполнения - 0.001с
Счетчик "ModIshopTree cardcollect", время выполнения - 0.1356с
Счетчик "ModIshopTree treesort", время выполнения - 0.0003с
Счетчик "ModIshopTree filters", время выполнения - 1.6733с
Счетчик "ModIshopTree design", время выполнения - 0.0002с
Счетчик "ModIshopTree cardsviews", время выполнения - 0.0003с
Счетчик "ModIshopTree paginator", время выполнения - 0с
Счетчик "ModIshopTree mclasses", время выполнения - 0с
Счетчик "Module=ishop", время выполнения - 1.8325с
Счетчик "Block=stat", время выполнения - 0.0001с
Счетчик "Block=mainjs", время выполнения - 0.0001с
Счетчик "Block=header", время выполнения - 0.0001с
Счетчик "Block=catalogtree", время выполнения - 0.0013с
Счетчик "Block=header", время выполнения - 0.0002с
Счетчик "Block=catalogtree", время выполнения - 0.0009с
Счетчик "Block=retailrocketblocks", время выполнения - 0.0002с
Счетчик "Block=advert", время выполнения - 0.0002с
Счетчик "Block=subscribe", время выполнения - 0.0002с
Счетчик "Block=footer", время выполнения - 0.0002с
Счетчик "Block=retailrocket", время выполнения - 0.0003с
Счетчик "Block=metrika", время выполнения - 0.0004с
Счетчик "Block=ganalitics", время выполнения - 0.0002с
Счетчик "Block=statmailru", время выполнения - 0.0002с
Счетчик "Block=jivosite", время выполнения - 0.0002с

SELECT id_city,path,name,ishop_id,ishop_name,kladr_id FROM leo_city WHERE path='astana'; # Num rows 1Run time:Time of run:0.00041294097900391

SELECT index_id,title,domen FROM leonardo_kz.leo_index WHERE parent_index_id=0 AND alias LIKE 'ishop' LIMIT 1; # Num rows 1Run time:Time of run:0.0011699199676514

SELECT index_id,title,domen FROM leonardo_kz.leo_index WHERE parent_index_id=2 AND alias LIKE 'tree_9538925038' LIMIT 1; # Num rows 0Run time:Time of run:0.0012819766998291

SELECT title,template_id,content,domen,index_id FROM leonardo_kz.leo_index WHERE index_id=2; # Num rows 1Run time:Time of run:0.00057697296142578

SELECT html FROM leonardo_kz.leo_template WHERE template_id=22 # Num rows 1Run time:Time of run:0.0003809928894043



SELECT t1.treename,t2.treetype,t2.tree_description,t2.tree_meta_description,t1.shop_tree_id,t1.level1,t1.level2,t1.level3,t1.relatedtree,t2.titletag,t2.tree_notice,t2.h1tag,t2.maintitledisable FROM leonardo.leo_tree AS t1 LEFT JOIN leonardo.leo_tree_description AS t2 ON t1.id_tree=t2.tree_id LEFT JOIN leonardo_kz.leo_tree_translate AS t3 ON (t1.id_tree=t3.id_tree) WHERE t3.id_tree IS NOT NULL AND t1.id_tree=9538925038; # Num rows 1Run time:Time of run:0.001680850982666



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 AS t1 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 leonardo_kz.leo_tree_translate AS t1_kz ON t1.id_tree=t1_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t2_kz ON t1.shop_tree_id=t2_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t3_kz ON t2.shop_tree_id=t3_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t4_kz ON t3.shop_tree_id=t4_kz.id_tree LEFT JOIN leonardo_kz.leo_tree_translate AS t5_kz ON t4.shop_tree_id=t5_kz.id_tree WHERE t1.id_tree=9538925038 # Num rows 1Run time:Time of run:0.004741907119751







SELECT filter_class,indexed,opened FROM leonardo.leo_tree_filters WHERE id_tree= '9538925038' ORDER BY pos ASC; # Num rows 8Run time:Time of run:0.00077700614929199

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227016364 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227016364 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.0059030055999756

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227016364 AND id_city=46 # Num rows 0Run time:Time of run:0.00034499168395996

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227075694 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227075694 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.001366138458252

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227088004 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227088004 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.000579833984375

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227088004 AND id_city=46 # Num rows 0Run time:Time of run:0.0002138614654541

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228140214 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228140214 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00053715705871582

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228669874 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228669874 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00046396255493164

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234039184 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234039184 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.099401950836182

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234046324 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234046324 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00070095062255859





SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=10020200075 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0007469654083252

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=10020200079 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00065088272094727

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=10020200080 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00049090385437012

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=10020200169 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0005791187286377

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=11312564002 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00053000450134277

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13014462662 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00062298774719238

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13014753192 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00057005882263184

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13014832632 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00058794021606445

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13014850612 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00059986114501953

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13015060802 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00055909156799316

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13015120472 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00061821937561035

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13015229202 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00052213668823242

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=13015231022 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00063800811767578

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=51601786922 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00053882598876953

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=51602232172 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00052809715270996

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=57306354352 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00047612190246582

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=61294326962 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00085997581481934

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=61294338902 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00053215026855469

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=61294341152 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0007169246673584

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67227016364 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00066804885864258

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227016364 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227016364 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.00079607963562012

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227016364 AND id_city=46 # Num rows 0Run time:Time of run:0.00035595893859863

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67227075694 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00051689147949219

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227075694 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227075694 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00063419342041016

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67227088004 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.0005950927734375

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227088004 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227088004 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.000701904296875

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227088004 AND id_city=46 # Num rows 0Run time:Time of run:0.00033688545227051

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67227920724 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00062203407287598

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67228084474 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00057101249694824

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67228140214 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00053501129150391

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228140214 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228140214 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00056099891662598

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67228669874 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00053620338439941

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228669874 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228669874 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.0006108283996582

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67229315294 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00059604644775391

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67229375624 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00049209594726562

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67229443834 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.00072813034057617

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67230139614 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00068187713623047

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67230826654 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00093388557434082

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67233611494 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.001039981842041

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67233727134 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.0011739730834961

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67234016034 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.0010969638824463

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67234039184 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00069594383239746

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234039184 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234039184 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.0005028247833252

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67234046324 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 0Run time:Time of run:0.00047397613525391

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234046324 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234046324 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.001162052154541

SELECT SQL_NO_CACHE t1.dep_id,t2.name FROM tis_dep AS t1,leo_shops AS t2 WHERE t1.code=67234491804 AND t1.dep_id=t2.dep_id AND t2.id_city=46 AND t1.sizes>0 GROUP BY dep_id # Num rows 1Run time:Time of run:0.0017881393432617

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=10020200075 # Num rows 1Run time:Time of run:0.00042104721069336

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=10020200079 # Num rows 1Run time:Time of run:0.00033903121948242

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=10020200080 # Num rows 1Run time:Time of run:0.00027585029602051

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=10020200169 # Num rows 1Run time:Time of run:0.00022482872009277

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=11312564002 # Num rows 1Run time:Time of run:0.00020694732666016

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13014462662 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13014753192 # Num rows 1Run time:Time of run:0.0001988410949707

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13014832632 # Num rows 1Run time:Time of run:0.00020790100097656

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13014850612 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13015060802 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13015120472 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13015229202 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=13015231022 # Num rows 1Run time:Time of run:0.00021219253540039

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=51601786922 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=51602232172 # Num rows 1Run time:Time of run:0.0001990795135498

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=57306354352 # Num rows 1Run time:Time of run:0.00020003318786621

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=61294326962 # Num rows 1Run time:Time of run:0.00021505355834961

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=61294338902 # Num rows 1Run time:Time of run:0.00024294853210449

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=61294341152 # Num rows 1Run time:Time of run:0.00019598007202148

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227016364 # Num rows 1Run time:Time of run:0.0001990795135498

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227075694 # Num rows 0Run time:Time of run:0.00021505355834961

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227088004 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227920724 # Num rows 1Run time:Time of run:0.00020217895507812

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228084474 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228140214 # Num rows 0Run time:Time of run:0.00019288063049316

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228669874 # Num rows 0Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67229315294 # Num rows 1Run time:Time of run:0.00020003318786621

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67229375624 # Num rows 1Run time:Time of run:0.00020003318786621

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67229443834 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67230139614 # Num rows 1Run time:Time of run:0.00021505355834961

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67230826654 # Num rows 1Run time:Time of run:0.00020289421081543

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67233611494 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67233727134 # Num rows 1Run time:Time of run:0.00020194053649902

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234016034 # Num rows 1Run time:Time of run:0.00021600723266602

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234039184 # Num rows 0Run time:Time of run:0.00023794174194336

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234046324 # Num rows 0Run time:Time of run:0.00019192695617676

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234491804 # Num rows 1Run time:Time of run:0.0001990795135498

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227075694 # Num rows 0Run time:Time of run:0.00038003921508789

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228140214 # Num rows 0Run time:Time of run:0.00020694732666016

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228669874 # Num rows 0Run time:Time of run:0.0001981258392334

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234039184 # Num rows 0Run time:Time of run:0.00019502639770508

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234046324 # Num rows 0Run time:Time of run:0.00019192695617676

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227016364 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227016364 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.0010659694671631

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227016364 AND id_city=46 # Num rows 0Run time:Time of run:0.00023102760314941

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227075694 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227075694 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00052118301391602

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67227088004 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67227088004 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 1Run time:Time of run:0.00056886672973633

SELECT SQL_NO_CACHE maxprice,shopnal,ishopnal FROM leonardo.leo_details_price WHERE id_detail=67227088004 AND id_city=46 # Num rows 0Run time:Time of run:0.00021481513977051

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228140214 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228140214 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00051999092102051

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67228669874 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67228669874 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00045514106750488

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234039184 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234039184 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00047492980957031

SELECT SQL_NO_CACHE t4.id_tree,t2_ru.goodname,t2_ru.gooddescr,t2.dimension,t2.f_tree_id,t2.nalozh,t2_ru.tis_fullname,t1_ru.detailname,t1.prepic,t1.detailsrating,t2.price,t3.good_id,t1.id_good FROM leonardo_kz.leo_details AS t1, leonardo.leo_details AS t1_ru, leonardo.leo_goods AS t2_ru, leonardo_kz.leo_goods AS t2 LEFT JOIN leo_goods_month AS t3 ON t2.id_good=t3.good_id LEFT JOIN leo_tree_goods AS t4 ON t2.id_good=t4.id_good WHERE t1.id_detail=67234046324 AND t1.id_good=t2.id_good AND t1_ru.id_detail=67234046324 AND t1.id_good=t2_ru.id_good LIMIT 1 # Num rows 0Run time:Time of run:0.00043010711669922

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227075694 # Num rows 0Run time:Time of run:0.00028896331787109

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228140214 # Num rows 0Run time:Time of run:0.0002138614654541

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228669874 # Num rows 0Run time:Time of run:0.00022697448730469

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234039184 # Num rows 0Run time:Time of run:0.00027203559875488

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234046324 # Num rows 0Run time:Time of run:0.00019288063049316

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227075694 # Num rows 0Run time:Time of run:0.0003199577331543

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228140214 # Num rows 0Run time:Time of run:0.00020599365234375

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228669874 # Num rows 0Run time:Time of run:0.0001990795135498

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234039184 # Num rows 0Run time:Time of run:0.00022196769714355

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234046324 # Num rows 0Run time:Time of run:0.00020790100097656

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67227075694 # Num rows 0Run time:Time of run:0.00031304359436035

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228140214 # Num rows 0Run time:Time of run:0.00020408630371094

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67228669874 # Num rows 0Run time:Time of run:0.0001978874206543

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234039184 # Num rows 0Run time:Time of run:0.00019502639770508

SELECT SQL_NO_CACHE id_good FROM leo_details WHERE id_detail=67234046324 # Num rows 0Run time:Time of run:0.00020194053649902

SELECT leo_shops.* ,leo_metro_lines.line_class as lineclass FROM leo_shops LEFT JOIN leo_metro_lines ON (leo_metro_lines.id = leo_shops.metro_line) WHERE leo_shops.id_city=46 AND dep_id>0 AND work=1 # Num rows 1Run time:Time of run:0.0011730194091797