Query Metrics

52 Database Queries
17 Different statements
146.63 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 3.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.cep AS cep_4, t0.creation_time AS creation_time_5, t0.description AS description_6, t0.status AS status_7, t0.logo AS logo_8, t0.favicon AS favicon_9, t0.shipping AS shipping_10, t0.payment_gateway AS payment_gateway_11, t0.free_shipping AS free_shipping_12, t0.phone AS phone_13, t0.address_full AS address_full_14, t0.public_email AS public_email_15, t0.cnpj AS cnpj_16, t0.ie AS ie_17, t0.color_one AS color_one_18, t0.w_frete_token AS w_frete_token_19, t0.plan_id AS plan_id_20 FROM store t0 WHERE t0.url = ? LIMIT 1
Parameters:
[
  "construdicas.com.br"
]
2 9.16 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  2
  3
]
3 3.33 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  3
  3
]
4 0.38 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  4
  3
]
5 3.07 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  1
  3
]
6 0.29 ms
SELECT t0.id AS id_1, t0.product_limit AS product_limit_2, t0.sale_fee AS sale_fee_3, t0.price_monthly AS price_monthly_4, t0.title AS title_5, t0.integrations AS integrations_6 FROM plan t0 WHERE t0.id = ?
Parameters:
[
  1
]
7 2.83 ms
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.status = ? AND p0_.store_id = ? LIMIT 1 OFFSET 999
Parameters:
[
  1
  3
]
8 14.01 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.free_shipping AS free_shipping_2, p0_.slug AS slug_3, p0_.status AS status_4, p0_.gtin AS gtin_5, p0_.description AS description_6, p0_.weight AS weight_7, p0_.height AS height_8, p0_.width AS width_9, p0_.depth AS depth_10, p0_.sku AS sku_11, p0_.store_id AS store_id_12, p0_.category_id AS category_id_13, p0_.sub_category_id AS sub_category_id_14, p0_.brand_id AS brand_id_15 FROM product p0_ INNER JOIN product_variation p1_ WHERE p1_.product_id = p0_.id AND p0_.store_id = ? AND p1_.stock > 0 AND p0_.status = ? GROUP BY p0_.id LIMIT 25
Parameters:
[
  3
  1
]
9 0.34 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "google_analytics"
  3
]
10 0.18 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_description"
  3
]
11 2.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_title"
  3
]
12 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head"
  3
]
13 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_body"
  3
]
14 0.18 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "sale_notice_email"
  3
]
15 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head_purchase_success"
  3
]
16 0.14 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "google_ads"
  3
]
17 2.32 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head_tag_manager"
  3
]
18 3.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_body_tag_manager"
  3
]
19 8.80 ms
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.image AS image_2, b0_.bottom_menu AS bottom_menu_3, b0_.store_id AS store_id_4 FROM brand b0_ WHERE b0_.bottom_menu = 1 AND b0_.store_id = ? ORDER BY b0_.name ASC
Parameters:
[
  3
]
20 0.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.store_id = ?
Parameters:
[
  3
]
21 4.89 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.cep AS cep_4, t0.creation_time AS creation_time_5, t0.description AS description_6, t0.status AS status_7, t0.logo AS logo_8, t0.favicon AS favicon_9, t0.shipping AS shipping_10, t0.payment_gateway AS payment_gateway_11, t0.free_shipping AS free_shipping_12, t0.phone AS phone_13, t0.address_full AS address_full_14, t0.public_email AS public_email_15, t0.cnpj AS cnpj_16, t0.ie AS ie_17, t0.color_one AS color_one_18, t0.w_frete_token AS w_frete_token_19, t0.plan_id AS plan_id_20 FROM store t0 WHERE t0.url = ? LIMIT 1
Parameters:
[
  "construdicas.com.br"
]
22 4.71 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  2
  3
]
23 8.44 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  3
  3
]
24 6.28 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  4
  3
]
25 5.91 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[
  1
  3
]
26 2.57 ms
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.status = ? AND p0_.store_id = ? LIMIT 1 OFFSET 999
Parameters:
[
  1
  3
]
27 0.42 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.free_shipping AS free_shipping_2, p0_.slug AS slug_3, p0_.status AS status_4, p0_.gtin AS gtin_5, p0_.description AS description_6, p0_.weight AS weight_7, p0_.height AS height_8, p0_.width AS width_9, p0_.depth AS depth_10, p0_.sku AS sku_11, p0_.store_id AS store_id_12, p0_.category_id AS category_id_13, p0_.sub_category_id AS sub_category_id_14, p0_.brand_id AS brand_id_15 FROM product p0_ INNER JOIN product_variation p1_ WHERE p1_.product_id = p0_.id AND p0_.store_id = ? AND p1_.stock > 0 AND p0_.status = ? GROUP BY p0_.id LIMIT 25
Parameters:
[
  3
  1
]
28 2.38 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "google_analytics"
  3
]
29 7.86 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_description"
  3
]
30 0.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_title"
  3
]
31 0.27 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head"
  3
]
32 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_body"
  3
]
33 0.16 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "sale_notice_email"
  3
]
34 2.27 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head_purchase_success"
  3
]
35 0.22 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "google_ads"
  3
]
36 0.15 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_head_tag_manager"
  3
]
37 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[
  "seo_script_body_tag_manager"
  3
]
38 0.20 ms
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.image AS image_2, b0_.bottom_menu AS bottom_menu_3, b0_.store_id AS store_id_4 FROM brand b0_ WHERE b0_.bottom_menu = 1 AND b0_.store_id = ? ORDER BY b0_.name ASC
Parameters:
[
  3
]
39 1.93 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.featured AS featured_4, t0.store_id AS store_id_5 FROM category t0 WHERE t0.store_id = ? AND t0.name = ? LIMIT 1
Parameters:
[
  3
  "Casa e Jardim"
]
40 6.98 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2, s0_.category_id AS category_id_3 FROM sub_category s0_ INNER JOIN category c1_ ON s0_.category_id = c1_.id WHERE c1_.store_id = ? AND s0_.name LIKE ? AND s0_.name LIKE ?
Parameters:
[
  3
  "%Copa-e-Cozinha%"
  "%Casa e Jardim%"
]
41 3.63 ms
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.status = ? AND p0_.store_id = ? LIMIT 1 OFFSET 999
Parameters:
[
  1
  3
]
42 3.41 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.category_id AS category_id_4 FROM sub_category t0 WHERE t0.category_id = ?
Parameters:
[
  23
]
43 2.42 ms
SELECT count(p0_.id) AS sclr_0 FROM product p0_ INNER JOIN product_attribute p1_ ON p0_.id = p1_.product_id WHERE p0_.store_id = ? AND p0_.status = ? AND (p0_.category_id = ? OR p0_.sub_category_id IN (?, ?, ?, ?, ?)) AND p1_.attribute_id = ? AND p1_.value = ?
Parameters:
[
  3
  1
  23
  44
  48
  51
  54
  57
  "778"
  "Não"
]
44 3.91 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.featured AS featured_4, t0.store_id AS store_id_5 FROM category t0 WHERE t0.store_id = ? AND t0.name = ? LIMIT 1
Parameters:
[
  3
  "Casa e Jardim"
]
45 3.63 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2, s0_.category_id AS category_id_3 FROM sub_category s0_ INNER JOIN category c1_ ON s0_.category_id = c1_.id WHERE c1_.store_id = ? AND s0_.name LIKE ? AND s0_.name LIKE ?
Parameters:
[
  3
  "%Copa-e-Cozinha%"
  "%Casa e Jardim%"
]
46 3.66 ms
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.status = ? AND p0_.store_id = ? LIMIT 1 OFFSET 999
Parameters:
[
  1
  3
]
47 0.29 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.category_id AS category_id_4 FROM sub_category t0 WHERE t0.category_id = ?
Parameters:
[
  23
]
48 2.33 ms
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.free_shipping AS free_shipping_2, p0_.slug AS slug_3, p0_.status AS status_4, p0_.gtin AS gtin_5, p0_.description AS description_6, p0_.weight AS weight_7, p0_.height AS height_8, p0_.width AS width_9, p0_.depth AS depth_10, p0_.sku AS sku_11, p0_.store_id AS store_id_12, p0_.category_id AS category_id_13, p0_.sub_category_id AS sub_category_id_14, p0_.brand_id AS brand_id_15 FROM product p0_ INNER JOIN product_attribute p1_ ON p0_.id = p1_.product_id WHERE p0_.store_id = ? AND p0_.status = ? AND (p0_.category_id = ? OR p0_.sub_category_id IN (?, ?, ?, ?, ?)) AND p1_.attribute_id = ? AND p1_.value = ? LIMIT 1000
Parameters:
[
  3
  1
  23
  44
  48
  51
  54
  57
  "778"
  "Não"
]
49 11.13 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.featured AS featured_3, c0_.store_id AS store_id_4 FROM category c0_ WHERE c0_.id IN (23, 23, 23, 23) AND c0_.store_id = 3 ORDER BY c0_.name ASC
Parameters:
[]
50 0.33 ms
select * from attribute a inner join (select attribute_id, id as product_attribute_id , product_id, value, count(id) as qtd from product_attribute WHERE product_id in (1766,1773,1780,1818) group by value) b on a.id = b.attribute_id  order by b.qtd DESC,  a.name
Parameters:
[]
51 0.24 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.store_id AS store_id_3 FROM attribute t0 WHERE t0.id = ?
Parameters:
[
  "778"
]
52 0.26 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.page_body AS page_body_4, t0.store_id AS store_id_5 FROM page t0 WHERE t0.store_id = ?
Parameters:
[
  3
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping