Close

     

Our Blog

When and why we need to use start/end setup methods?

September 4, 2018 // by Dmytro Cheshun

The startSetup() and endSetup() methods are commonly used for schema and data setup scripts by many developers. But do we actually need to call these methods for every install or upgrade script implementation? The correct answer may be quite unexpected. :) No, we don’t need to use these methods by default in our setup scripts in most cases. Let’s find out why.

Comments (0)

Magento 2 Custom module upgrade: PHP Serialized to JSON

January 2, 2018 // by Dmytro Cheshun

After the latest Database data format changes in Magento 2.2.x version, there is a need to convert existing PHP serialized data to JSON format. The new release provides upgrade scripts that convert Magento serialized data. But how to deal with custom extensions, which also use automatic serialization mechanism provided by Magento framework? Thankfully, Magento took care of that too.

Comments (0)

Database queries logging in Magento 2

May 30, 2016 // by Yaroslav Rogoza

When we talk about checking bottlenecks in Magento backend implementations we often mention the built in profiler that allows to see loading time of particular backend functional elements. There are two general factors of such bottlenecks: heavy (or repetitive) database calls or slow PHP operations such as loops and similar cases.

Comments (1)

Logging system. Optimize Magento database by cleaning logs

March 3, 2016 // by Dmytro Cheshun

Magento is a powerful and, at the same time, complex eCommerce system. One of the important parts of this system is a different events logging. After some time of functioning, Magento collects more and more events data and it might have the performance impact. Of course, the logs information can be cleaned manually in the database to avoid issues with performance, but this approach is not always handy. Therefore, in this article we want to review Magento logging system and built in tools for logs handling.

Comments (0)