Is it possible to limit the number of entities

Hi
I am testing the migration and I need to run it several times. But I have over 30,000 products so each test (and then subsequent reset) takes many hours.
Is it possible to limit the products to perhaps only 10 for testing purposes?
Thanks
Mark
 

1 answer

Profile photo of Mall Staff 184060.00 $tone October 29, 2019
Public

Hi Mark,

Is it possible to limit the products to perhaps only 10 for testing purposes?

Yes, you can run the data migration in step #5 by using the following command with a custom batch limit:
php -f bin/ubdatamigration run --step=5 --limit=10;
(When you see the message like “Step #5 migration completed with 10 Products;”, you can press ‘ctrl + c’ to terminate that run time)
 
Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments