| Time |
Query |
|
0.47ms
|
SELECT * FROM `webstores` ORDER BY `position` ASC
|
|
0.24ms
|
SELECT * FROM `countries` WHERE `countries`.`id` IN ('15', '5', '16', '40')
|
|
0.27ms
|
SELECT * FROM `languages` WHERE `languages`.`id` IN ('1', '2')
|
|
0.79ms
|
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.40ms
|
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.17ms
|
SELECT * FROM `languages`
|
|
0.37ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '125' LIMIT 1
|
|
0.28ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '126' LIMIT 1
|
|
0.26ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '127' LIMIT 1
|
|
0.92ms
|
SELECT * FROM `config`
|
|
0.38ms
|
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.50ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `slug` = 'nos-engagements' LIMIT 1
|
|
0.32ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '125' LIMIT 1
|
|
0.45ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('125') ORDER BY `position` ASC
|
|
0.39ms
|
SELECT * FROM `editorial_blocks_pictures` WHERE `block_id` IN ('925', '942', '943', '944', '945', '946', '948', '949', '954', '947', '950') ORDER BY `position` ASC
|
|
0.20ms
|
SELECT * FROM `collections` WHERE `collections`.`id` IN ('0') ORDER BY `season` DESC
|
|
0.46ms
|
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 ('925', '942', '943', '944', '945', '946', '948', '949', '954', '947', '950') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.58ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `id` <> '125' AND `is_enabled` = '1' AND `position` >= LEAST('2'-3, (SELECT MAX(position) FROM editorial_articles WHERE section = 'journal') - '2' -1) AND `position` <= '6' ORDER BY `position` ASC LIMIT 6
|
|
0.20ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
0.75ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('126', '124', '123', '90') ORDER BY `position` ASC
|
|
0.24ms
|
SELECT `code`, `taxes` FROM `countries`
|
|
0.31ms
|
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.36ms
|
SELECT * FROM `articles` WHERE `articles`.`id` IN ('27429')
|
|
0.29ms
|
SELECT * FROM `products` WHERE `products`.`id` IN ('5502') ORDER BY `sku` ASC
|
|
0.22ms
|
SELECT * FROM `gifts_details` WHERE `gift_id` IN ('1')
|
|
0.45ms
|
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')
|
|
0.96ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `is_enabled` = '1' AND `id` NOT IN ('125') ORDER BY `created_at` DESC LIMIT 8
|
|
0.22ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
1.32ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('127', '126', '124', '123', '90', '87', '84', '77') ORDER BY `position` ASC
|
|
0.32ms
|
SELECT * FROM `customers` WHERE `customers`.`id` = '' LIMIT 1
|
|
0.51ms
|
SELECT * FROM `categories` WHERE `id` = '1' LIMIT 1
|
|
314.03ms
|
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.20ms
|
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.32ms
|
SELECT * FROM `categories` WHERE `id` = '7' LIMIT 1
|
|
468.13ms
|
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
|
|
0.94ms
|
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
|