Support

Home Forums Event Espresso Premium EE3 to EE4 migration — increase the number of records processed

EE3 to EE4 migration — increase the number of records processed

Posted: March 15, 2018 at 2:39 pm

Viewing 3 reply threads


Drio LLC

March 15, 2018 at 2:39 pm

When migrating the from EE3 to EE4, the automatic migration processes 10 records at a time. For a website that has been using EE3 for years, there are close to 100,000 records resulting in the migration taking nearly a full day since the migration is in 6 phases for each major release of EE4. Is there a way to increase the number of records that the migration processes at a time, greater than 10?


Tony

  • Support Staff

March 15, 2018 at 3:04 pm

Hi there,

Have you previously tried to migrate from EE3 to EE4?

The reason I ask is the default ‘step size’ for migrations should be 50, not 10, if you’ve previously had issues migrating you made have something like this:

define( EE_MIGRATION_STEP_SIZE, 10 );

In your wp-config.php file which tells EE to use a step size of 10, can you check that file and see if you can see the above?


Drio LLC

March 15, 2018 at 5:38 pm

Thank you for the prompt response. I have not tried to migrate EE3 to EE4 previously. That definition is not in my wp-config.php. Should I add that definition and set it to 50? Can I set it to 100? Also, does each step of the 6 migration steps process the records all over again, such that I can estimate the time to complete the full migration to be 6 times as long as the first migration step?


Josh

  • Support Staff

March 15, 2018 at 7:35 pm

You can add this to your wp-config.php file before the line where it says to stop editing:

define( EE_MIGRATION_STEP_SIZE, 100 );

and that will make for fewer requests, but depending on your server’s resources it may actually be slower.

With regards to each of the steps: The first step is the slowest because it’s migrating all of the EE3 data to EE4.2 The next step only migrates (4.2 to 4.3) only migrates a small subset of the data related to the changes from version 4.2 to 4.3, and so on for the following steps.

Viewing 3 reply threads

The support post ‘EE3 to EE4 migration — increase the number of records processed’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso