| Time |
Query |
|
1.05ms
|
SELECT * FROM `webstores` ORDER BY `position` ASC
|
|
0.81ms
|
SELECT * FROM `countries` WHERE `countries`.`id` IN ('15', '5', '16', '40')
|
|
0.51ms
|
SELECT * FROM `languages` WHERE `languages`.`id` IN ('1', '2')
|
|
0.51ms
|
SELECT `countries`.*, `country_webstore`.`id` AS `pivot_id`, `country_webstore`.`webstore_id` AS `pivot_webstore_id`, `country_webstore`.`country_id` AS `pivot_country_id` FROM `countries` INNER JOIN `country_webstore` ON `countries`.`id` = `country_webstore`.`country_id` WHERE `country_webstore`.`webstore_id` IN ('1', '2', '3', '4', '5')
|
|
0.58ms
|
SELECT `languages`.*, `language_webstore`.`id` AS `pivot_id`, `language_webstore`.`webstore_id` AS `pivot_webstore_id`, `language_webstore`.`language_id` AS `pivot_language_id` FROM `languages` INNER JOIN `language_webstore` ON `languages`.`id` = `language_webstore`.`language_id` WHERE `language_webstore`.`webstore_id` IN ('1', '2', '3', '4', '5')
|
|
0.34ms
|
SELECT * FROM `languages`
|
|
0.60ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '125' LIMIT 1
|
|
0.31ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '126' LIMIT 1
|
|
0.55ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '127' LIMIT 1
|
|
1.88ms
|
SELECT * FROM `config`
|
|
0.47ms
|
SELECT `editorial_tags`.* FROM `editorial_tags` INNER JOIN `editorial_articles` ON `editorial_articles`.`tag_id` = `editorial_tags`.`id` GROUP BY `editorial_tags`.`id` ORDER BY `editorial_tags`.`position` ASC
|
|
0.37ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'style-guide' AND `slug_en` = 'create-all-about-fabrics-in-the-men-s-wardrobe' LIMIT 1
|
|
0.40ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '44' LIMIT 1
|
|
1.17ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('44') ORDER BY `position` ASC
|
|
0.77ms
|
SELECT * FROM `editorial_blocks_pictures` WHERE `block_id` IN ('396', '397', '398', '399', '400', '402') ORDER BY `position` ASC
|
|
1.11ms
|
SELECT * FROM `collections` WHERE `collections`.`id` IN ('0') ORDER BY `season` DESC
|
|
1.41ms
|
SELECT `products`.*, `editorial_blocks_products`.`id` AS `pivot_id`, `editorial_blocks_products`.`block_id` AS `pivot_block_id`, `editorial_blocks_products`.`product_id` AS `pivot_product_id`, `editorial_blocks_products`.`pos` AS `pivot_pos` FROM `products` INNER JOIN `editorial_blocks_products` ON `products`.`id` = `editorial_blocks_products`.`product_id` WHERE `editorial_blocks_products`.`block_id` IN ('396', '397', '398', '399', '400', '402') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.99ms
|
SELECT * FROM `products_types` WHERE `products_types`.`id` IN ('1', '7', '4', '3', '6') ORDER BY `singular` ASC
|
|
0.53ms
|
SELECT `seo_types`.* FROM `seo_types` INNER JOIN `product_type_seo` ON `product_type_seo`.`seo_id` = `seo_types`.`id` WHERE `seo_types`.`id` IN ('8', '21', '23', '19', '7', '22', '25') ORDER BY `singular` ASC
|
|
0.64ms
|
SELECT `colors`.*, `color_product`.`id` AS `pivot_id`, `color_product`.`product_id` AS `pivot_product_id`, `color_product`.`color_id` AS `pivot_color_id` FROM `colors` INNER JOIN `color_product` ON `colors`.`id` = `color_product`.`color_id` WHERE `color_product`.`product_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY `name` ASC
|
|
1.62ms
|
SELECT * FROM `products_details` WHERE `product_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY `webstore_id` ASC
|
|
0.99ms
|
SELECT * FROM `products_pictures` WHERE `product_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY `position` ASC
|
|
1.91ms
|
SELECT `articles`.*, sizes.name as size_name FROM `articles` INNER JOIN `sizes` ON `sizes`.`id` = `articles`.`size_id` WHERE `product_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY `position` ASC
|
|
2.64ms
|
SELECT * FROM `articles_details` WHERE `article_id` IN ('25221', '25222', '26858', '29058', '29059', '29231', '25223', '26859', '24230', '26860', '24229', '29060', '29230', '25224', '29229', '25225', '26861', '24228', '29061', '24231', '29232', '25226', '29233', '26862', '25227', '29062', '29228', '29063', '29759', '26510', '29511', '29510', '29758', '26509', '29509', '29757', '26508', '29512', '29760', '26511', '29513', '29761', '26512', '27004', '25575', '26359', '25574', '26358', '27003', '27002', '25573', '26357', '25576', '26360', '27005', '27006', '25577', '26361')
|
|
0.76ms
|
SELECT * FROM `sizes` WHERE `sizes`.`id` IN ('1', '4', '45', '46', '95', '7', '47', '96', '10', '97', '13', '48', '98', '16', '124', '49', '19', '185', '50', '152', '40', '41', '153', '42', '154', '43', '155', '132', '157', '90', '91', '92', '93', '123') ORDER BY `position` ASC
|
|
1.27ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY `name` ASC
|
|
1.33ms
|
SELECT `products`.*, `products_items`.`id` AS `pivot_id`, `products_items`.`parent_id` AS `pivot_parent_id`, `products_items`.`item_id` AS `pivot_item_id`, `products_items`.`pos` AS `pivot_pos` FROM `products` INNER JOIN `products_items` ON `products`.`id` = `products_items`.`item_id` WHERE `products_items`.`parent_id` IN ('6010', '5910', '6005', '5969', '5414', '5865', '5039', '4858', '5339', '5117', '5389', '5310') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.41ms
|
SELECT * FROM `products_details` WHERE `product_id` IN ('6000', '5978') ORDER BY `webstore_id` ASC
|
|
0.42ms
|
SELECT * FROM `products_pictures` WHERE `product_id` IN ('6000', '5978') ORDER BY `position` ASC
|
|
0.54ms
|
SELECT `articles`.*, sizes.name as size_name FROM `articles` INNER JOIN `sizes` ON `sizes`.`id` = `articles`.`size_id` WHERE `product_id` IN ('6000', '5978') ORDER BY `position` ASC
|
|
0.84ms
|
SELECT * FROM `articles_details` WHERE `article_id` IN ('29715', '29716', '29717', '29718', '29719', '29720', '29721', '29722', '29552', '29553', '29554', '29555', '29556', '29557', '29558', '29559')
|
|
0.44ms
|
SELECT * FROM `sizes` WHERE `sizes`.`id` IN ('44', '45', '46', '47', '48', '49', '50', '51', '62', '64', '66', '68', '70', '72', '74', '76') ORDER BY `position` ASC
|
|
1.53ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'style-guide' AND `id` <> '44' AND `is_enabled` = '1' AND `position` >= LEAST('28'-3, (SELECT MAX(position) FROM editorial_articles WHERE section = 'style-guide') - '28' -1) AND `position` <= '31' ORDER BY `position` ASC LIMIT 6
|
|
0.38ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
1.14ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('110', '49', '50', '54', '43', '48') ORDER BY `position` ASC
|
|
0.65ms
|
SELECT `colors`.*, `color_editorial_block`.`id` AS `pivot_id`, `color_editorial_block`.`block_id` AS `pivot_block_id`, `color_editorial_block`.`color_id` AS `pivot_color_id` FROM `colors` INNER JOIN `color_editorial_block` ON `colors`.`id` = `color_editorial_block`.`color_id` WHERE `color_editorial_block`.`block_id` = '402'
|
|
0.56ms
|
SELECT `seo_types`.*, `editorial_block_seo_type`.`id` AS `pivot_id`, `editorial_block_seo_type`.`block_id` AS `pivot_block_id`, `editorial_block_seo_type`.`seo_id` AS `pivot_seo_id` FROM `seo_types` INNER JOIN `editorial_block_seo_type` ON `seo_types`.`id` = `editorial_block_seo_type`.`seo_id` WHERE `editorial_block_seo_type`.`block_id` = '402'
|
|
0.47ms
|
SELECT `styles`.*, `editorial_block_style`.`id` AS `pivot_id`, `editorial_block_style`.`block_id` AS `pivot_block_id`, `editorial_block_style`.`style_id` AS `pivot_style_id` FROM `styles` INNER JOIN `editorial_block_style` ON `styles`.`id` = `editorial_block_style`.`style_id` WHERE `editorial_block_style`.`block_id` = '402'
|
|
0.43ms
|
SELECT `tags`.*, `editorial_block_tag`.`id` AS `pivot_id`, `editorial_block_tag`.`block_id` AS `pivot_block_id`, `editorial_block_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `editorial_block_tag` ON `tags`.`id` = `editorial_block_tag`.`tag_id` WHERE `editorial_block_tag`.`block_id` = '402'
|
|
39.65ms
|
SELECT `products`.* FROM `products` INNER JOIN `products_details` ON `products_details`.`product_id` = `products`.`id` AND `products_details`.`webstore_id` = 1 WHERE `products`.`seo_id` IN ('25', '76', '3', '7', '21', '44', '23') AND `products_details`.`is_enabled` = '1' AND `products_details`.`price` > '0' ORDER BY RAND(36) ASC LIMIT 6
|
|
3.79ms
|
SELECT * FROM `products_types` WHERE `products_types`.`id` IN ('3', '4', '6') ORDER BY `singular` ASC
|
|
1.38ms
|
SELECT `seo_types`.* FROM `seo_types` INNER JOIN `product_type_seo` ON `product_type_seo`.`seo_id` = `seo_types`.`id` WHERE `seo_types`.`id` IN ('76', '23', '7') ORDER BY `singular` ASC
|
|
0.58ms
|
SELECT `colors`.*, `color_product`.`id` AS `pivot_id`, `color_product`.`product_id` AS `pivot_product_id`, `color_product`.`color_id` AS `pivot_color_id` FROM `colors` INNER JOIN `color_product` ON `colors`.`id` = `color_product`.`color_id` WHERE `color_product`.`product_id` IN ('5972', '5804', '6000', '5679', '5591', '5554') ORDER BY `name` ASC
|
|
0.68ms
|
SELECT * FROM `products_details` WHERE `product_id` IN ('5972', '5804', '6000', '5679', '5591', '5554') ORDER BY `webstore_id` ASC
|
|
1.16ms
|
SELECT * FROM `products_pictures` WHERE `product_id` IN ('5972', '5804', '6000', '5679', '5591', '5554') ORDER BY `position` ASC
|
|
1.49ms
|
SELECT `articles`.*, sizes.name as size_name FROM `articles` INNER JOIN `sizes` ON `sizes`.`id` = `articles`.`size_id` WHERE `product_id` IN ('5972', '5804', '6000', '5679', '5591', '5554') ORDER BY `position` ASC
|
|
1.58ms
|
SELECT * FROM `articles_details` WHERE `article_id` IN ('29715', '29716', '29717', '29718', '29719', '29720', '28826', '29721', '28827', '28828', '29722', '28829', '28830', '27805', '28212', '29526', '29525', '27804', '28211', '28210', '29524', '27803', '27806', '28213', '29527', '28214', '29528', '27807', '27637', '27636', '27635', '27638', '27639')
|
|
0.51ms
|
SELECT * FROM `sizes` WHERE `sizes`.`id` IN ('44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '40', '41', '42', '43', '132', '90', '91', '92', '93', '123') ORDER BY `position` ASC
|
|
0.61ms
|
SELECT `products`.*, `products_items`.`id` AS `pivot_id`, `products_items`.`parent_id` AS `pivot_parent_id`, `products_items`.`item_id` AS `pivot_item_id`, `products_items`.`pos` AS `pivot_pos` FROM `products` INNER JOIN `products_items` ON `products`.`id` = `products_items`.`item_id` WHERE `products_items`.`parent_id` IN ('5972', '5804', '6000', '5679', '5591', '5554') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.31ms
|
SELECT `code`, `taxes` FROM `countries`
|
|
1.06ms
|
SELECT `gifts`.* FROM `gifts` INNER JOIN `gifts_details` ON `gifts_details`.`gift_id` = `gifts`.`id` AND `gifts_details`.`webstore_id` = 1 AND `gifts_details`.`is_enabled` = 1
|
|
0.23ms
|
SELECT * FROM `articles` WHERE `articles`.`id` IN ('27429')
|
|
0.74ms
|
SELECT * FROM `products` WHERE `products`.`id` IN ('5502') ORDER BY `sku` ASC
|
|
1.32ms
|
SELECT * FROM `gifts_details` WHERE `gift_id` IN ('1')
|
|
2.64ms
|
SELECT `products_types`.*, `gifts_products_types`.`id` AS `pivot_id`, `gifts_products_types`.`gift_id` AS `pivot_gift_id`, `gifts_products_types`.`type_id` AS `pivot_type_id`, `gifts_products_types`.`min_qty` AS `pivot_min_qty` FROM `products_types` INNER JOIN `gifts_products_types` ON `products_types`.`id` = `gifts_products_types`.`type_id` WHERE `gifts_products_types`.`gift_id` IN ('1')
|
|
7.24ms
|
SELECT * FROM `seo_types`
|
|
0.93ms
|
SELECT * FROM `styles`
|
|
0.97ms
|
SELECT * FROM `discounts` WHERE (`webstore_id` = '1' OR `webstore_id` IS NULL) AND `range` = '1' AND `is_enabled` = '1'
|
|
12.40ms
|
SELECT `discount_id`, `product_id` FROM `discount_product` WHERE `discount_id` IN ('531', '532', '731', '1138', '1416', '1479', '1530', '1531', '1532', '1533')
|
|
5.14ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '5972' ORDER BY `name` ASC
|
|
0.89ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '5804' ORDER BY `name` ASC
|
|
1.14ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '6000' ORDER BY `name` ASC
|
|
0.93ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '5679' ORDER BY `name` ASC
|
|
0.76ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '5591' ORDER BY `name` ASC
|
|
0.77ms
|
SELECT `tags`.*, `product_tag`.`id` AS `pivot_id`, `product_tag`.`product_id` AS `pivot_product_id`, `product_tag`.`tag_id` AS `pivot_tag_id` FROM `tags` INNER JOIN `product_tag` ON `tags`.`id` = `product_tag`.`tag_id` WHERE `product_tag`.`product_id` = '5554' ORDER BY `name` ASC
|
|
3.61ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'style-guide' AND `is_enabled` = '1' AND `id` NOT IN ('44') ORDER BY `created_at` DESC LIMIT 8
|
|
0.46ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
6.48ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('122', '120', '119', '118', '117', '116', '115', '114') ORDER BY `position` ASC
|
|
0.40ms
|
SELECT * FROM `customers` WHERE `customers`.`id` = '' LIMIT 1
|
|
2.17ms
|
SELECT * FROM `categories` WHERE `id` = '1' LIMIT 1
|
|
964.02ms
|
SELECT `categories`.*, `categories_details`.`is_enabled`, COUNT(products.id) AS nb_products FROM `categories` INNER JOIN `categories_details` ON `categories_details`.`category_id` = `categories`.`id` AND `categories_details`.`webstore_id` = 1 LEFT JOIN `category_product` ON `category_product`.`category_id` = `categories`.`id` LEFT JOIN `products` ON `products`.`id` = `category_product`.`product_id` LEFT JOIN `products_details` ON `products_details`.`product_id` = `products`.`id` AND `products_details`.`webstore_id` = 1 WHERE (`products_details`.`price` > '0' OR `products_details`.`price` IS NULL) AND (`products_details`.`is_enabled` = '1' OR `products_details`.`is_enabled` IS NULL) AND `l` > '1' AND `r` < '152' AND `level` <= '3' GROUP BY `categories`.`id` ORDER BY `l` ASC
|
|
1.21ms
|
SELECT * FROM `categories_pushes` WHERE `category_id` IN ('5', '19', '22', '23', '24', '26', '25', '95', '27', '64', '63', '74', '160', '75', '96', '97', '99', '100', '101', '103', '102', '104', '105', '163', '108', '107', '106', '84', '8', '11', '13', '12', '14', '93', '164', '15', '9', '4', '78', '88', '153', '76', '30', '138', '151', '44', '2', '17', '16', '87', '83', '81', '80', '82', '79', '109', '18', '110', '111', '112', '113', '114', '115', '116', '117', '118', '120', '121', '147', '119', '148') ORDER BY `position` ASC
|
|
0.41ms
|
SELECT * FROM `categories` WHERE `id` = '7' LIMIT 1
|
|
1,284.05ms
|
SELECT `categories`.*, `categories_details`.`is_enabled`, COUNT(products.id) AS nb_products FROM `categories` INNER JOIN `categories_details` ON `categories_details`.`category_id` = `categories`.`id` AND `categories_details`.`webstore_id` = 1 LEFT JOIN `category_product` ON `category_product`.`category_id` = `categories`.`id` LEFT JOIN `products` ON `products`.`id` = `category_product`.`product_id` LEFT JOIN `products_details` ON `products_details`.`product_id` = `products`.`id` AND `products_details`.`webstore_id` = 1 WHERE (`products_details`.`price` > '0' OR `products_details`.`price` IS NULL) AND (`products_details`.`is_enabled` = '1' OR `products_details`.`is_enabled` IS NULL) AND `l` > '153' AND `r` < '324' AND `level` <= '3' GROUP BY `categories`.`id` ORDER BY `l` ASC
|
|
3.61ms
|
SELECT * FROM `categories_pushes` WHERE `category_id` IN ('67', '168', '145', '150', '144', '124', '33', '34', '37', '38', '39', '41', '40', '94', '42', '91', '60', '61', '35', '169', '170', '171', '172', '173', '174', '175', '176', '177', '178', '179', '180', '53', '54', '55', '85', '57', '56', '58', '140', '141', '142', '6', '89', '48', '51', '50', '49', '90', '135', '52', '166', '156', '70', '72', '149', '68', '161', '69', '125', '126', '127', '131', '129', '128', '130', '136', '132', '165', '133', '134', '158', '32', '73', '123', '137', '66', '154', '139', '167') ORDER BY `position` ASC
|