Coming up: 23 Sep - Magento 2 Technical Architecture training

Yireo - Trainings & extensions

Open main menu

Magento is a complex product, and this complexity comes with a downside: On a non-optimized hosting environment Magento can be quite slow. This whitepaper discusses options on how to optimize things so that the Vm2Mage migration goes as fast as possible.

Magento caching and indexing

Make sure the Magento cache is fully enabled. Refreshing the cache should be done after the migration has been completed, but having the Magento cache enabled optimizes the Magento application.

Configure the Magento indices to have the mode set to Manual Update instead of Update on Save. During the migration, this will give the message of indices needed to be refreshed. Ignore these messages, and simply refresh all indices once the Vm2Mage has been completed. Make sure to set the indices back to Update on Save once you're finished.

Disable the Flat Catalog for Products and the Flat Catalog for Categories.

Tuning the batches

Within the Joomla! parameters of the Vm2Mage component, you can set the batch-size. Having a batch-size of 100 items makes sure the Magento application is started up only once. Make sure to set the PHP memory_limit high enough though. Having a temporary memory_limit of 1Gb should not be strange.

Hosting environment

Make sure Magento runs smoothly in the hosting environment. The migration is mostly database-intensive and MySQL tuning is mostly done by dedicated memory to certain parameters. Refer to Magento whitepapers to see Magento's recommendations on MySQL tuning. Note that the query_cache is useful for optimizing queries that occur frequently. With a Vm2Mage migration that's less useful, because most of the queries you run only occur once. Instead, pay attention to tuning the InnoDb paging and buffering.

Written on 16 April 2013 by Jisse Reitsma

About the author

Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and two times Magento Master. His passion is for technology and open source. And he loves talking as well.

Looking for a training in-house?

Let's get to it!

Proud member of

  Latest blog

Extensions

Legal information

Other Yireo sites

Get Social

About Yireo