| Time |
Query |
|
0.33ms
|
SELECT * FROM `webstores` ORDER BY `position` ASC
|
|
0.34ms
|
SELECT * FROM `countries` WHERE `countries`.`id` IN ('15', '5', '16', '40')
|
|
0.36ms
|
SELECT * FROM `languages` WHERE `languages`.`id` IN ('1', '2')
|
|
0.69ms
|
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.42ms
|
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.23ms
|
SELECT * FROM `languages`
|
|
0.36ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '125' LIMIT 1
|
|
0.46ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '126' LIMIT 1
|
|
0.59ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '127' LIMIT 1
|
|
0.76ms
|
SELECT * FROM `config`
|
|
0.35ms
|
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.42ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `slug` = 'mariage-conseils' LIMIT 1
|
|
0.37ms
|
SELECT * FROM `editorial_articles` WHERE `id` = '35' LIMIT 1
|
|
0.54ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('35') ORDER BY `position` ASC
|
|
0.36ms
|
SELECT * FROM `editorial_blocks_pictures` WHERE `block_id` IN ('306', '307', '309', '313', '311', '314', '312', '315', '316') ORDER BY `position` ASC
|
|
0.31ms
|
SELECT * FROM `collections` WHERE `collections`.`id` IN ('0') ORDER BY `season` DESC
|
|
0.79ms
|
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 ('306', '307', '309', '313', '311', '314', '312', '315', '316') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.36ms
|
SELECT * FROM `products_types` WHERE `products_types`.`id` IN ('2', '1', '6', '9', '8', '10', '15') ORDER BY `singular` ASC
|
|
0.52ms
|
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 ('22', '8', '7', '30', '9', '15', '31', '55', '29') ORDER BY `singular` ASC
|
|
0.73ms
|
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 ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY `name` ASC
|
|
0.88ms
|
SELECT * FROM `products_details` WHERE `product_id` IN ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY `webstore_id` ASC
|
|
1.15ms
|
SELECT * FROM `products_pictures` WHERE `product_id` IN ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY `position` ASC
|
|
1.18ms
|
SELECT `articles`.*, sizes.name as size_name FROM `articles` INNER JOIN `sizes` ON `sizes`.`id` = `articles`.`size_id` WHERE `product_id` IN ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY `position` ASC
|
|
2.02ms
|
SELECT * FROM `articles_details` WHERE `article_id` IN ('29186', '27563', '19071', '6502', '29373', '29330', '20830', '26204', '6764', '6489', '29340', '20831', '29341', '27564', '29374', '29331', '29097', '29375', '29332', '20832', '19797', '23599', '29342', '29424', '27565', '19798', '23600', '29343', '29425', '27566', '29098', '29376', '29333', '20833', '29377', '29334', '20834', '19799', '23601', '29344', '3802', '29426', '27567', '29099', '29345', '2775', '29427', '27568', '29100', '29378', '29335', '20835', '19800', '23602', '29336', '20836', '19801', '23603', '29346', '2771', '29428', '27569', '29101', '29379', '2776', '29429', '29102', '29380', '29337', '19802', '23604', '29347', '19803', '23605', '2772', '29430', '29103', '29338', '29104', '29339', '19804', '23606', '2773', '29431', '19805', '25070', '2774', '29432', '29105')
|
|
0.44ms
|
SELECT * FROM `sizes` WHERE `sizes`.`id` IN ('121', '1', '142', '122', '4', '80', '7', '81', '10', '13', '82', '112', '16', '113', '83', '19', '84', '114', '115', '85', '22', '86', '116', '25', '87', '28', '117', '88', '118') ORDER BY `position` ASC
|
|
1.47ms
|
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 ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY `name` ASC
|
|
0.62ms
|
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 ('5636', '5933', '4714', '5878', '68', '874', '3913', '4710', '5543', '5266', '5929', '685', '3724', '5928', '4136', '5902', '81', '5952') ORDER BY ISNULL(pos) ASC, `pos` ASC
|
|
0.49ms
|
SELECT * FROM `products_details` WHERE `product_id` IN ('4699', '5632', '4669', '5009') ORDER BY `webstore_id` ASC
|
|
0.45ms
|
SELECT * FROM `products_pictures` WHERE `product_id` IN ('4699', '5632', '4669', '5009') ORDER BY `position` ASC
|
|
0.66ms
|
SELECT `articles`.*, sizes.name as size_name FROM `articles` INNER JOIN `sizes` ON `sizes`.`id` = `articles`.`size_id` WHERE `product_id` IN ('4699', '5632', '4669', '5009') ORDER BY `position` ASC
|
|
1.25ms
|
SELECT * FROM `articles_details` WHERE `article_id` IN ('28049', '23534', '23535', '28050', '23536', '28051', '23537', '28052', '23538', '28053', '28054', '23539', '23540', '28055', '23541', '23542', '23357', '24998', '23358', '24999', '23359', '25000', '23360', '25001', '23361', '25002', '23362', '25003', '23363', '25004', '23364', '25076', '23365', '25077', '25078')
|
|
0.55ms
|
SELECT * FROM `sizes` WHERE `sizes`.`id` IN ('44', '45', '46', '47', '48', '49', '50', '51', '52', '62', '63', '64', '65', '66', '67', '68', '69', '70', '71', '72', '73', '74', '75', '76', '77', '130', '78', '151') ORDER BY `position` ASC
|
|
0.63ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `id` <> '35' AND `is_enabled` = '1' AND `position` >= LEAST('13'-3, (SELECT MAX(position) FROM editorial_articles WHERE section = 'journal') - '13' -1) AND `position` <= '16' ORDER BY `position` ASC LIMIT 6
|
|
0.28ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
0.58ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('25', '76', '75', '73', '64') ORDER BY `position` ASC
|
|
0.38ms
|
SELECT * FROM `seo_types`
|
|
0.32ms
|
SELECT * FROM `styles`
|
|
0.83ms
|
SELECT * FROM `discounts` WHERE (`webstore_id` = '1' OR `webstore_id` IS NULL) AND `range` = '1' AND `is_enabled` = '1'
|
|
2.67ms
|
SELECT `discount_id`, `product_id` FROM `discount_product` WHERE `discount_id` IN ('531', '532', '731', '1138', '1416', '1479', '1530', '1531', '1532', '1533')
|
|
0.76ms
|
SELECT * FROM `editorial_articles` WHERE `section` = 'journal' AND `is_enabled` = '1' AND `id` NOT IN ('35') ORDER BY `created_at` DESC LIMIT 8
|
|
0.28ms
|
SELECT * FROM `editorial_tags` WHERE `editorial_tags`.`id` IN ('0') ORDER BY `position` ASC
|
|
1.20ms
|
SELECT * FROM `editorial_blocks` WHERE `article_id` IN ('127', '126', '125', '124', '123', '90', '87', '84') ORDER BY `position` ASC
|
|
0.34ms
|
SELECT * FROM `categories` WHERE `id` = '1' LIMIT 1
|
|
293.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` > '1' AND `r` < '152' AND `level` <= '3' GROUP BY `categories`.`id` ORDER BY `l` ASC
|
|
0.94ms
|
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.33ms
|
SELECT * FROM `categories` WHERE `id` = '7' LIMIT 1
|
|
461.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.90ms
|
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
|