×
Execution time: [ 51.677 ms ] Memory usage: [ 2.00 MB ] Included files count: [ 45 ] Database queries count: [ 13 ]

SQL: SELECT * FROM `settings` ORDER BY `position` ASC [ 0.094 ms ]
SQL: SELECT shop_categories.*,shop_categories_text.* FROM `shop_categories` INNER JOIN `shop_categories_text` ON shop_categories.id = shop_categories_text.category_id AND shop_categories_text.lang = 'ua' WHERE isRemoved = 0 ORDER BY shop_categories.position ASC [ 0.094 ms ]
SQL: SELECT * FROM `directoryImages` WHERE section='slider' ORDER BY id ASC [ 0.116 ms ]
SQL: SELECT * FROM `directoryImages` WHERE `section`='home' [ 0.099 ms ]
SQL: DELETE FROM `shop_items_on_main` WHERE `udate` + INTERVAL 1 MINUTE < NOW() [ 8.179 ms ]
SQL: SELECT * FROM `shop_items_on_main` [ 0.185 ms ]
SQL: (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 1 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 9 ORDER BY RAND() LIMIT 1) UNION (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 2 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 54 ORDER BY RAND() LIMIT 1) UNION (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 3 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 58 ORDER BY RAND() LIMIT 1) UNION (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 4 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 57 ORDER BY RAND() LIMIT 1) UNION (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 5 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 53 ORDER BY RAND() LIMIT 1) UNION (SELECT shop_items.id, shop_items.category_id, shop_items.alias, shop_items.mainImage, shop_items_text.name, 6 as folderType FROM `shop_items` INNER JOIN `shop_items_text` ON shop_items.id = shop_items_text.item_id AND shop_items_text.lang = 'ua' WHERE shop_items.category_id = 59 ORDER BY RAND() LIMIT 1) [ 3.464 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('240', '2017-11-24 07:12:43', '1') [ 0.147 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('229', '2017-11-24 07:12:43', '2') [ 0.119 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('340', '2017-11-24 07:12:43', '3') [ 0.121 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('351', '2017-11-24 07:12:43', '4') [ 0.111 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('362', '2017-11-24 07:12:43', '5') [ 0.111 ms ]
SQL: INSERT INTO `shop_items_on_main` (`shop_item_id`, `udate`, `type`) VALUES ('268', '2017-11-24 07:12:43', '6') [ 0.109 ms ]