https://meccofi.mydevfactory.com/

  • Controller Module: Magento_Cms
  • Controller Class: Magento\Cms\Controller\Index\Index
  • Controller Action Name: execute

Database Queries

Nimi Arvo
Executed 61 queries in 0.043 s
Total Queries 61
Insert queries 0
Update queries 1
Read queries 56
Delete queries 0
Tapahtumat 2

Top 5 - Slowest Queries

Query Time (ms)
              SET NAMES utf8
            
0.00020003
              commit
            
0.00023699
              begin
            
0.00024605
              SELECT `store`.* FROM `store`
            
0.00026894
              SELECT `store_group`.* FROM `store_group`
            
0.00033498

All Queries

Query Time (ms)
              connect
            
0.00073504
              SET NAMES utf8
            
0.00020003
              SELECT `store_website`.* FROM `store_website`
            
0.00034499
              SELECT `store_group`.* FROM `store_group`
            
0.00033498
              SELECT `store`.* FROM `store`
            
0.00026894
              SELECT `flag`.* FROM `flag` WHERE (`flag`.`flag_code`='config_hash')
            
0.00054502
              SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`request_path` IN ('', '/')) AND (`store_id` IN ('1'))
            
0.00066996
              SELECT `url_rewrite`.*, `relation`.`category_id`, `relation`.`product_id` FROM `url_rewrite`
 LEFT JOIN `catalog_url_rewrite_product_category` AS `relation` ON url_rewrite.url_rewrite_id = relation.url_rewrite_id WHERE (url_rewrite.request_path IN ('', '/')) AND (url_rewrite.store_id IN ('1')) AND (relation.category_id IS NULL)
            
0.00074792
              SELECT `stripe_account`.* FROM `stripe_account` WHERE (`stripe_account`.`secret_key`='5019875dbc8498db66c046f9ca36113fe18f39ba5c4852a0ac1243ae95ad0c71')
            
0.00073886
              begin
            
0.00024605
              UPDATE `stripe_account` SET `is_valid` = ? WHERE (id=3)
            
0.00048709
              commit
            
0.00023699
              SELECT COUNT(*) FROM `stripe_customers` AS `main_table` WHERE (`session_id` = 'hfvcph2i32pin732qb8hl6besu') AND ((`pk` = 'pk_live_51SQ4XoEQhpkV25H3GqHUxNYPTPnrp66C8wr6gGvy7fW1OA1hSJdK794pNmEiRY2cgD1FaebjJ6lTihnYeQ1gcNhn00Vx66HU8g') OR (`pk` IS NULL))
            
0.00069404
              SELECT `cms_page`.`page_id` FROM `cms_page`
 INNER JOIN `cms_page_store` ON cms_page.page_id = cms_page_store.page_id WHERE (`cms_page`.`identifier`='elessi8') AND (is_active = 1) AND (cms_page_store.store_id IN (0, 1)) ORDER BY `cms_page_store`.`store_id` DESC
 LIMIT 1
            
0.00102401
              SELECT `t`.* FROM `cms_page` AS `t` WHERE (page_id = '65')
            
0.00054097
              SELECT `cps`.`store_id` FROM `cms_page_store` AS `cps`
 INNER JOIN `cms_page` AS `cp` ON cps.page_id = cp.page_id WHERE (cp.page_id = :page_id)
            
0.00054193
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'our-products') AND (`type_id` = '1') LIMIT 1
            
0.00058794
              SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id ='2')
            
0.00064182
              SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '2')
            
0.00065899
              SELECT `u`.* FROM ( (SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '2') AND (attribute_id IN (41, 359, 156, 360, 43, 361, 132, 45, 46, 49, 58, 364, 57, 61, 66, 313)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '2') AND (attribute_id IN (155, 42, 157, 68, 69, 67, 50, 51)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '2') AND (attribute_id IN (44, 47, 48, 54, 55, 56, 65, 62)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '2') AND (attribute_id IN (59, 60)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '2') AND (attribute_id IN (70)) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC

            
0.0016191
              SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '2') LIMIT 1
            
0.00051904
              SELECT `main_table`.* FROM `checkout_agreement` AS `main_table`
 INNER JOIN `checkout_agreement_store` AS `store_table_1` ON main_table.agreement_id = store_table_1.agreement_id WHERE (store_table_1.store_id IN ('1', 0)) AND ((`is_active` = 1)) GROUP BY `main_table`.`agreement_id`
            
0.00086308
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='static-home-slide') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00090313
              SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '55')
            
0.00068617
              SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs`
 INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id)
            
0.00058103
              SELECT `main_table`.* FROM `magiccart_magicslider` AS `main_table` WHERE (((FIND_IN_SET(0, `stores`)) OR (FIND_IN_SET('1', `stores`)))) AND (`status` = '1') AND (`identifier` = 'slider1') ORDER BY stores DESC, magicslider_id DESC
 LIMIT 1
            
0.000741
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='page_menu') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00083089
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='newsletter_popup') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00082588
              SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '56')
            
0.00048804
              SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs`
 INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id)
            
0.00054598
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'our-products') AND (`type_id` = '1') LIMIT 1
            
0.000736
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='static_sections_bottom') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00101781
              SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '54')
            
0.00062895
              SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs`
 INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id)
            
0.00060296
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'deal-of-the-week-demo2') AND (`type_id` = '1') LIMIT 1
            
0.00061107
              SELECT `main_table`.* FROM `magefan_blog_post` AS `main_table`
 INNER JOIN `magefan_blog_post_store` AS `store_table` ON main_table.post_id = store_table.post_id WHERE (`main_table`.`is_active` = '1') AND (`main_table`.`publish_time` <= '2026-11-04 16:55:14') AND (store_table.store_id IN('1', 0)) GROUP BY `main_table`.`post_id` ORDER BY publish_time DESC, main_table.post_id DESC
 LIMIT 9
            
0.00198603
              SELECT `cps`.* FROM `magefan_blog_post_store` AS `cps` WHERE (cps.post_id IN ('19', '11', '5', '7', '6', '4', '9', '15', '10'))
            
0.00067496
              SELECT `cps`.* FROM `magefan_blog_post_category` AS `cps` WHERE (cps.post_id IN ('19', '11', '5', '7', '6', '4', '9', '15', '10'))
            
0.00060701
              SELECT `cps`.* FROM `magefan_blog_post_tag` AS `cps` WHERE (cps.post_id IN ('19', '11', '5', '7', '6', '4', '9', '15', '10'))
            
0.00043201
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'sale-products-demo1') AND (`type_id` = '1') LIMIT 1
            
0.00064301
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'bestseller-products-demo1') AND (`type_id` = '1') LIMIT 1
            
0.00054598
              SELECT `main_table`.* FROM `magiccart_magicproduct` AS `main_table` WHERE (`identifier` = 'new-products-demo1') AND (`type_id` = '1') LIMIT 1
            
0.00060701
              SELECT `main_table`.* FROM `magiccart_testimonial` AS `main_table` WHERE (((FIND_IN_SET(0, `stores`)) OR (FIND_IN_SET('1', `stores`)))) AND (`status` = '1')
            
0.00137901
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='block_footer_top') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00078988
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='block_footer_bottom') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00066805
              SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '51')
            
0.00044298
              SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs`
 INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id)
            
0.00037813
              SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id =33)
            
0.00049114
              SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = 33)
            
0.00042009
              SELECT `u`.* FROM ( (SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '33') AND (attribute_id IN (41, 359, 156, 360, 43, 361, 132, 45, 46, 49, 58, 364, 57, 61, 66, 313)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '33') AND (attribute_id IN (155, 42, 157, 68, 69, 67, 50, 51)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '33') AND (attribute_id IN (44, 47, 48, 54, 55, 56, 65, 62)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '33') AND (attribute_id IN (59, 60)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '33') AND (attribute_id IN (70)) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC

            
0.0013361
              SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '33') LIMIT 1
            
0.00051403
              SELECT `m`.`entity_id` FROM `catalog_category_entity` AS `m`
 LEFT JOIN `catalog_category_entity_int` AS `d` ON d.attribute_id = :attribute_id AND d.store_id = 0 AND d.entity_id = m.entity_id
 LEFT JOIN `catalog_category_entity_int` AS `c` ON c.attribute_id = :attribute_id AND c.store_id = :store_id AND c.entity_id = m.entity_id WHERE (IF(c.value_id > 0, c.value, d.value) = :scope) AND (`path` LIKE :c_path) AND (`level` <= :c_level)
            
0.00074291
              SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active`, `url_rewrite`.`request_path` FROM `catalog_category_entity` AS `e`
 INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '42') AND `at_is_active_default`.`store_id` = 0
 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '42') AND (`at_is_active`.`store_id` = 1)
 LEFT JOIN `url_rewrite` ON (url_rewrite.entity_id =e.entity_id) AND (url_rewrite.is_autogenerated = 1 AND url_rewrite.store_id = 1 AND url_rewrite.entity_type = 'category') WHERE (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1') AND (`e`.`entity_id` IN('10', '11', '12', '19', '20', '22', '4', '5')) ORDER BY `e`.`position` ASC

            
0.00113201
              SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_varchar` AS `t_d`
 INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id
 LEFT JOIN `catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (12, 19, 5, 11, 10, 20, 22, 4)) AND (t_d.attribute_id IN (43, 41)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_text` AS `t_d`
 INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id
 LEFT JOIN `catalog_category_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (12, 19, 5, 11, 10, 20, 22, 4)) AND (t_d.attribute_id IN (54)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_int` AS `t_d`
 INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id
 LEFT JOIN `catalog_category_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (12, 19, 5, 11, 10, 20, 22, 4)) AND (t_d.attribute_id IN (51)) AND (t_d.store_id = IFNULL(t_s.store_id, 0))
            
0.00144482
              SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id =21)
            
0.00050187
              SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = 21)
            
0.00053406
              SELECT `u`.* FROM ( (SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '21') AND (attribute_id IN (41, 359, 156, 360, 43, 361, 132, 45, 46, 49, 58, 364, 57, 61, 66, 313)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '21') AND (attribute_id IN (155, 42, 157, 68, 69, 67, 50, 51)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '21') AND (attribute_id IN (44, 47, 48, 54, 55, 56, 65, 62)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '21') AND (attribute_id IN (59, 60)) AND (`store_id` IN (1, 0)))UNION ALL(SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '21') AND (attribute_id IN (70)) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC

            
0.00130916
              SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '21') LIMIT 1
            
0.00060105
              SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('21')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1))
            
0.00066304
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='footer_links') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00103211
              SELECT `cms_block`.`block_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='payment') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC
 LIMIT 1
            
0.00072694
Developer
2.4.5
0.79 s
12.00 MB
61 q / 0.043 s