Code: Select all
10:39::query_time=109.2841770649::query=insert IGNORE into rot_gal2tag (site_id, gallery_id, tag_id) select 37, gallery_id, tag_id from rot_gal2tag where site_id = 1:: <= ...scj/admin/files/rot_settings.php (db_query) (time: 109.2841770649) <= ...scj/admin/index.php (unknown) (time: 109.2841770649)
07:36::query_time=18.200124025345::query=SELECT gt.tag_id, t.tag_name as tag_name, count(*) as hits FROM rot_gal2tag AS gt^M
left join rot_tags as t on t.tag_id = gt.tag_id^M
WHERE t.status = 'active'^M
GROUP BY gt.tag_id order by tag_name :: <= ...scj/bin/rotation.php (db_query) (time: 18.200124025345)
07:41::query_time=56.115200996399::query=INSERT INTO `rot_gallery_stats38` SELECT * FROM `rot_gallery_stats1` :: <= ...scj/admin/files/fastedit.php (db_query) (time: 56.115200996399) <= ...scj/admin/index.php (unknown) (time: 56.115200996399)
07:43::query_time=65.311324119568::query=insert IGNORE into rot_gal2tag (site_id, gallery_id, tag_id) select 38, gallery_id, tag_id from rot_gal2tag where site_id = 1:: <= ...scj/admin/files/rot_settings.php (db_query) (time: 65.311324119568) <= ...scj/admin/index.php (unknown) (time: 65.311324119568)
09:34::query_time=18.754151821136::query=SELECT gt.tag_id, t.tag_name as tag_name, count(*) as hits FROM rot_gal2tag AS gt^M
left join rot_tags as t on t.tag_id = gt.tag_id^M
WHERE t.status = 'active'^M
GROUP BY gt.tag_id order by tag_name :: <= ...scj/bin/rotation.php (db_query) (time: 18.754151821136)
11:27::query_time=3.6985709667206::query=SELECT group_id, count(distinct(gs.gallery_id)) as total FROM rot_gallery_stats1 as gs ^M
JOIN rot_gallery_info as gi on gi.gallery_id = gs.gallery_id^M
WHERE gi.gallery_status = 'active' AND gi.gallery_type = 0 and gs.best_thumb = 'yes' group by group_id :: <= ...scj/bin/rotation.php (db_query) (time: 3.6985709667206) <= ...scj/bin/rotation.php (cat0_categories) (time: 3.6985709667206)
11:29::query_time=17.966393947601::query=SELECT gt.tag_id, t.tag_name as tag_name, count(*) as hits FROM rot_gal2tag AS gt^M
left join rot_tags as t on t.tag_id = gt.tag_id^M
WHERE t.status = 'active'^M
GROUP BY gt.tag_id order by tag_name :: <= ...scj/bin/rotation.php (db_query) (time: 17.966393947601)
16:44::query_time=3.327064037323::query=SELECT 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 FROM rot_gallery_stats38 as gs STRAIGHT_JOIN rot_gallery_info as gi on gi.gallery_id = gs.gallery_id
STRAIGHT_JOIN rot_gallery_data38 as gd on gd.gallery_id = gs.gallery_id
JOIN rot_gal2tag on rot_gal2tag.gallery_id = gs.gallery_id
JOIN rot_thumbs as gt on gt.thumb_id = gs.thumb_id ^M
WHERE 1 = 1 AND gi.gallery_status = 'active' AND gi.gallery_type = 0 and gs.best_thumb = 'yes' and gs.group_id = 0 AND gi.gallery_id IN (0,28653,18262,33676,48087,15767,59122,102969,83835,89012,50371,130889,51226,50284,50132,67613,49690,42646,50310,47948,19575,107257,51225,49509,93592,84042,51098,51485,16170,49475,114797,51219,26497,49800,86444,50418,48000,97428,30004,88861,48021,68487,51043,48866,57454,49045,50279,51233,50680,50314,49363) ORDER BY field(gs.gallery_id, '0','28653','18262','33676','48087','15767','59122','102969','83835','89012','50371','130889','51226','50284','50132','67613','49690','42646','50310','47948','19575','107257','51225','49509','93592','84042','51098','51485','16170','49475','114797','51219','26497','49800','86444','50418','48000','97428','30004','88861','48021','68487','51043','48866','57454','49045','50279','51233','50680','50314','49363')# queryitems:: <= ...scj/includes/libs/tpl_tags.php (db_query) (time: 3.327064037323) <= ...scj/includes/libs/tpl_tags.php (rot_get_item_execute_query) (time: 3.327064037323) <= ...scj/includes/libs/tpl_functions.php (rot_get_items) (time: 3.327064037323) <= ...scj/tube/index.php (rot_create_page) (time: 3.327064037323)