Family category
| # | Time | Query |
|---|---|---|
| 1 | 1.55 ms | SELECT url, namespace, method, content_redirection FROM `redirect` WHERE status = 1 |
| 2 | 2.93 ms | INSERT INTO `log_customer` ( `id` , `id_customer` , `log` , `date` ) VALUES( NULL , NULL ,... |
| 3 | 0.49 ms | SELECT * FROM `languages` WHERE TRUE AND `short` = 'en' |
| 4 | 0.68 ms | SELECT *, CONCAT(UCASE(LEFT(name, 1)), LCASE(SUBSTRING(REPLACE(name,'_',' '), 2))) as title FROM `status` WHERE TRUE AND `name` = 'published' AND `group` = 'destinations_status' ORDER BY `id` DESC LIMIT 0 , 30 |
| 5 | 0.35 ms | SELECT *, CONCAT(UCASE(LEFT(name, 1)), LCASE(SUBSTRING(REPLACE(name,'_',' '), 2))) as title FROM `status` WHERE TRUE AND `name` = 'published' AND `group` = 'categories_status' ORDER BY `id` DESC LIMIT 0 , 30 |
| 6 | 0.39 ms | SELECT c.*, m.id_language, m.name, m.description, m.seo_title, m.seo_description, m.seo_keywords, m.seo_url, m.img_alt FROM `categories` AS c INNER JOIN `category_meta` AS m on c.id = m.id_category WHERE TRUE AND c.`id` = 240 AND c.`status` = '32' AND m.`id_language` = 1 LIMIT 0 , 30 |
| 7 | 0.19 ms | SELECT * FROM `type` WHERE TRUE AND `id` = 36 ORDER BY `id` DESC LIMIT 0 , 30 |
| 8 | 0.23 ms | SELECT * FROM `category_parent` WHERE TRUE AND `id_child` = 240 ORDER BY `id` DESC LIMIT 0 , 30 |
| 9 | 0.65 ms | SELECT c.*, m.id_language, m.name, m.description, m.seo_title, m.seo_description, m.seo_keywords, m.seo_url, m.img_alt FROM `category_parent` AS cp INNER JOIN categories AS c on c.id=cp.id_child INNER JOIN `category_meta` AS m on c.id=m.id_category WHERE TRUE AND cp.`id_parent` = 240 AND... |
| 10 | 1.41 ms | SELECT d.*, m.id_language, m.name, m.description, m.summary, m.seo_title, m.seo_description, m.seo_keywords, m.seo_url, m.img_alt, (select name from type where id = d.type) as nameType, (select name from status where id = d.status) as statusName FROM `destinations` AS d INNER JOIN... |
| 11 | 0.6 ms | SELECT *, CONCAT(UCASE(LEFT(name, 1)), LCASE(SUBSTRING(REPLACE(name,'_',' '), 2))) as title FROM `status` WHERE TRUE AND `name` = 'published' AND `group` = 'products_status' ORDER BY `id` DESC LIMIT 0 , 30 |
| 12 | 0.45 ms | SELECT *, CONCAT(UCASE(LEFT(name, 1)), LCASE(SUBSTRING(REPLACE(name,'_',' '), 2))) as title FROM `status` WHERE TRUE AND `name` = 'active' AND `group` = 'suppliers_status' ORDER BY `id` DESC LIMIT 0 , 30 |
| 13 | 0.4 ms | SELECT * FROM `category_parent` WHERE TRUE AND `id_parent` = 240 ORDER BY `id` DESC LIMIT 0 , 30 |
| 14 | 1.98 ms | SELECT s.seo_title, s.seo_description, s.seo_keywords, s.seo_url, p.*, (select count(*) from reviews where id_product = p.id and status in (select id from status s where s.name = 'active' and s.group = 'review_status')) as total_review, (select name from type where id = p.product_type) as type,... |
| 15 | 1.19 ms | SELECT reviews.id, reviews.id_product,reviews.id_customer ,reviews.title, reviews.text, reviews.date, reviews.rating_overall, reviews.display_name FROM reviews JOIN status ON status.id = reviews.status WHERE id_product IN ( SELECT pc.id_product FROM product_category pc INNER JOIN products p ON... |
| 16 | 0.86 ms | SELECT COUNT(reviews.id) as number,AVG(reviews.rating_overall) as avg FROM `reviews` JOIN status ON status.id = reviews.status WHERE id_product IN (SELECT id_product FROM `product_category` WHERE `id_category` = 240) AND status.name = "active" ORDER BY reviews.`id` DESC LIMIT 0 , 30 |
| 17 | 1.02 ms | SELECT *, (SELECT IF (JSON_VALID(content),JSON_UNQUOTE(JSON_EXTRACT(content,'$.content' )),NULL) FROM items where id_section = (SELECT id from section where id_article = ar.id order by orders limit 1) and type = 4 order by orders limit 1) as title, (SELECT IF... |