Export из List thumbs

admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Export из List thumbs

Post by admin »

SELECT SQL_CALC_FOUND_ROWS gs.gallery_id, gs.thumb_id, gi.sponsor_id, gi.content_count, gi.content_type, gs.total_shows, gs.total_clicks, gs.total_ctr, gt.thumb_url, gd.*, gi.content_count, gi.crop_profile_id, gs.activation_date, gi.added_date, gi.duration, gi.url, gi.gallery_total_shows, gi.sponsor_id, gi.source_url, gi.custom_gallery ,gallery_type FROM rot_gallery_stats1 as gs JOIN rot_gallery_info as gi on gi.gallery_id = gs.gallery_id
JOIN rot_gallery_data1 as gd on gd.gallery_id = gs.gallery_id
JOIN rot_thumbs as gt on gt.thumb_id = gs.thumb_id
WHERE 1 = 1 AND gi.gallery_status IN ('active') AND gi.gallery_type = 0 and gs.best_thumb = 'yes' and gs.group_id = 0 group by gs.gallery_id, gs.thumb_id ORDER BY gs.total_ctr desc LIMIT 0, 1000


те они тестируют - быстро
у вас медленно
я верно понял?

или у них тоже медленно но вот никак не видно медленно запроса?
Don't forget to run script update
Post Reply